<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">what the filesystem usage is? if I have multi mount points, could it read the all?</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">i tried the -v /:/rootfs trick, seem it only export the / filesystem</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><div class="gmail_default">$ mount | grep system-home </div><div class="gmail_default">/dev/mapper/system-home on /home type ext4 (rw,noatime,discard,data=ordered)</div><div class="gmail_default">$ mount | grep system-root </div><div class="gmail_default">/dev/mapper/system-root on / type ext4 (rw,noatime,discard,data=ordered)</div><div class="gmail_default"><br></div><div class="gmail_default">$ docker run -it --rm -v /:/rootfs:ro centos:7 bash </div></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">[root@d34a95361150 /]# mount | grep system-home</div><div class="gmail_default" style="font-family:monospace,monospace">/dev/mapper/system-home on /rootfs/home type ext4 (rw,noatime,discard,data=ordered)</div><div class="gmail_default" style="font-family:monospace,monospace">/dev/mapper/system-home on /etc/resolv.conf type ext4 (rw,noatime,discard,data=ordered)</div><div class="gmail_default" style="font-family:monospace,monospace">/dev/mapper/system-home on /etc/hostname type ext4 (rw,noatime,discard,data=ordered)</div><div class="gmail_default" style="font-family:monospace,monospace">/dev/mapper/system-home on /etc/hosts type ext4 (rw,noatime,discard,data=ordered)</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><div class="gmail_default">[root@7663afac84ce /]# mount | grep system-root</div><div class="gmail_default">/dev/mapper/system-root on /rootfs type ext4 (ro,noatime,discard,data=ordered)</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default">About the processes, you can try `--pid host`, like</div><div class="gmail_default">#docker run -it --rm --pid host centos:7 ps aux | wc</div><div class="gmail_default"> 333 3744 26656</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 10:01 PM, Mathias Ewald <span dir="ltr"><<a href="mailto:mewald@evoila.de" target="_blank">mewald@evoila.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dave, I have quite successfully tested what is suggested in <a href="https://github.com/influxdata/telegraf/issues/218" target="_blank">https://github.com/influxdata/telegraf/issues/218</a>. The following dashboard shows what I am able to retrieve from the host so far:<div><br></div><div><img src="cid:ii_ir23nda20_1562259ff4606932" width="562" height="388"></div><div><br></div><div>I am pretty sure all values are host related with one exception: The total number of processes. Values like 2 or 3 smell like container values ;) Must have something to do with the HOST_PROC and HOST_SYS variables not being picked up or something ...</div><div><br></div><div><br></div><div>I am pretty sure for Sensu you could take a similar approach. </div><div><br></div><div>cheers<span class="HOEnZb"><font color="#888888"><br>Mathias</font></span><div><div class="h5"><br><div><br><div class="gmail_extra"><br><div class="gmail_quote">2016-07-25 15:16 GMT+02:00 Dave Walker <span dir="ltr"><<a href="mailto:email@daviey.com" target="_blank">email@daviey.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">So, this is one of the areas i'm currently on with the Sensu work. I've been experimenting with a privileged container, which is very similar to our current kolla_toolbox container.<div><br></div><div>The agent certainly needs to be in it's own container, with access to be able to run commands in other namespaces / containers. </div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 25 July 2016 at 11:58, Mathias Ewald <span dir="ltr"><<a href="mailto:mewald@evoila.de" target="_blank">mewald@evoila.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Excellent point ... I just checked what happens when running telegraf in a container: You'll get paths like<div><br></div><div>/etc/hostname</div><div>/etc/hosts</div><div>/var/log/kolla</div><div><br></div><div>and others as available file systems. I guess it makes no sense at all then to containerize monitoring agents ... Sensu is going to have the same problems.</div><div><br></div><div>Any suggestions?</div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-25 9:39 GMT+02:00 Jeffrey Zhang <span dir="ltr"><<a href="mailto:zhang.lei.fly@gmail.com" target="_blank">zhang.lei.fly@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I am open to the choice of tools. But i am worried on thing: how to<br>
get all the host disk usage when containerized the monitor tool?<br>
<div><div><br>
<br>
<br>
On Mon, Jul 25, 2016 at 2:12 PM, Mathias Ewald <<a href="mailto:mewald@evoila.de" target="_blank">mewald@evoila.de</a>> wrote:<br>
> Understood.<br>
><br>
> 2016-07-25 7:34 GMT+02:00 Matthias Runge <<a href="mailto:mrunge@redhat.com" target="_blank">mrunge@redhat.com</a>>:<br>
>><br>
>> On 25/07/16 06:38, Mathias Ewald wrote:<br>
>> > Hi, correct me if wrong please: Isn't gnocchi more targeting cloud<br>
>> > tenants rather than cloud ops? If that's the case I wont find info like<br>
>> > "controller cpu usage" or "hypervisor memory usage".<br>
>> ><br>
>> > Cheers<br>
>> > Mathias<br>
>> ><br>
>> Uhm, in this scenario, gnocchi just used as time-series database. It's<br>
>> up to you, what you feed in. collectd collects whatever you want and put<br>
>> it into your database.<br>
>><br>
>> Best,<br>
>> Matthias<br>
>><br>
>> --<br>
>> Matthias Runge <<a href="mailto:mrunge@redhat.com" target="_blank">mrunge@redhat.com</a>><br>
>><br>
>> Red Hat GmbH, <a href="http://www.de.redhat.com/" rel="noreferrer" target="_blank">http://www.de.redhat.com/</a>, Registered seat: Grasbrunn,<br>
>> Commercial register: Amtsgericht Muenchen, HRB 153243,<br>
>> Managing Directors: Charles Cachera, Michael Cunningham,<br>
>> Michael O'Neill, Eric Shander<br>
>><br>
>> __________________________________________________________________________<br>
>> OpenStack Development Mailing List (not for usage questions)<br>
>> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Mobil: <a href="tel:%2B49%20176%2010567592" value="+4917610567592" target="_blank">+49 176 10567592</a><br>
> E-Mail: <a href="mailto:mewald@evoila.de" target="_blank">mewald@evoila.de</a><br>
><br>
> evoila GmbH<br>
> Wilhelm-Theodor-Römheld-Str. 34<br>
> 55130 Mainz<br>
> Germany<br>
><br>
> Geschäftsführer: Johannes Hiemer<br>
><br>
> Amtsgericht Mainz HRB 42719<br>
><br>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte<br>
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail<br>
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und<br>
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte<br>
> Weitergabe dieser Mail ist nicht gestattet.<br>
><br>
> This e-mail may contain confidential and/or privileged information. If You<br>
> are not the intended recipient (or have received this e-mail in error)<br>
> please notify the sender immediately and destroy this e-mail. Any<br>
> unauthorised copying, disclosure or distribution of the material in this<br>
> e-mail is strictly forbidden.<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
<br>
<br>
--<br>
</div></div>Regards,<br>
Jeffrey Zhang<br>
Blog: <a href="http://xcodest.me" rel="noreferrer" target="_blank">http://xcodest.me</a><br>
<div><div><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Mobil: <a href="tel:%2B49%20176%2010567592" value="+4917610567592" target="_blank">+49 176 10567592</a><br>E-Mail: <a href="mailto:mewald@evoila.de" target="_blank">mewald@evoila.de</a><br><br>evoila GmbH<br>Wilhelm-Theodor-Römheld-Str. 34 <br>55130 Mainz<br>Germany<br><br>Geschäftsführer: Johannes Hiemer<br><br>Amtsgericht Mainz HRB 42719<br><br>Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.<br><br>This e-mail may contain confidential and/or privileged information. If You are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.<br></div></div></div></div>
</div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Mobil: <a href="tel:%2B49%20176%2010567592" value="+4917610567592" target="_blank">+49 176 10567592</a><br>E-Mail: <a href="mailto:mewald@evoila.de" target="_blank">mewald@evoila.de</a><br><br>evoila GmbH<br>Wilhelm-Theodor-Römheld-Str. 34 <br>55130 Mainz<br>Germany<br><br>Geschäftsführer: Johannes Hiemer<br><br>Amtsgericht Mainz HRB 42719<br><br>Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.<br><br>This e-mail may contain confidential and/or privileged information. If You are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.<br></div></div></div></div>
</div></div></div></div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-size:13px;border-collapse:collapse"><font face="monospace, monospace">Regards,</font></span></div><div><span style="font-size:13px;border-collapse:collapse"><font face="monospace, monospace">Jeffrey Zhang</font></span></div><div><span style="font-family:monospace,monospace;font-size:12.8px">Blog: </span><a href="http://xcodest.me/" style="font-family:monospace,monospace;font-size:12.8px" target="_blank">http://xcodest.me</a><font face="monospace, monospace"><br></font></div></div></div></div></div></div></div></div></div>
</div>