--=_7248eeb5-5806-4c34-81f2-149340a41686
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi Yaniv,
thank you for your answer! I haven't known, that there is already such a monitoring
tool on ovirt.
We will sure give it a try, but we have already in our environment a monitoring tool,
that's why I wanted to add those values, too.
How does collectd get this data from libvirt, when the corresponding cgroup values are
empty?
BR Florian
Von: "Yaniv Kaul" <ykaul(a)redhat.com>
An: "Florian Schmid" <fschmid(a)ubimet.com>
CC: "users" <users(a)ovirt.org>
Gesendet: Dienstag, 27. Juni 2017 09:08:51
Betreff: Re: [ovirt-users] Empty cgroup files on centos 7.3 host
On Mon, Jun 26, 2017 at 11:03 PM, Florian Schmid < [ mailto:fschmid@ubimet.com |
fschmid(a)ubimet.com ] > wrote:
Hi,
I wanted to monitor disk IO and R/W on all of our oVirt centos 7.3 hypervisor hosts, but
it looks like that all those files are empty.
We have a very nice integration with Elastic based monitoring and logging - why not use
it.
On the host, we use collectd for monitoring.
See [
http://www.ovirt.org/develop/release-management/features/engine/metrics-s... |
http://www.ovirt.org/develop/release-management/features/engine/metrics-s... ]
Y.
BQ_BEGIN
For example:
ls -al /sys/fs/cgroup/blkio/machine.slice/machine-qemu\\x2d14\\x2dHostedEngine.scope/
insgesamt 0
drwxr-xr-x. 2 root root 0 30. Mai 10:09 .
drwxr-xr-x. 16 root root 0 26. Jun 09:25 ..
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_merged
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_merged_recursive
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_queued
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_queued_recursive
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_service_bytes
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_service_bytes_recursive
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_serviced
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_serviced_recursive
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_service_time
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_service_time_recursive
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_wait_time
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_wait_time_recursive
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.leaf_weight
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.leaf_weight_device
--w-------. 1 root root 0 30. Mai 10:09 blkio.reset_stats
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.sectors
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.sectors_recursive
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.throttle.io_service_bytes
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.throttle.io_serviced
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.throttle.read_bps_device
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.throttle.read_iops_device
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.throttle.write_bps_device
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.throttle.write_iops_device
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.time
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.time_recursive
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.weight
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.weight_device
-rw-r--r--. 1 root root 0 30. Mai 10:09 cgroup.clone_children
--w--w--w-. 1 root root 0 30. Mai 10:09 cgroup.event_control
-rw-r--r--. 1 root root 0 30. Mai 10:09 cgroup.procs
-rw-r--r--. 1 root root 0 30. Mai 10:09 notify_on_release
-rw-r--r--. 1 root root 0 30. Mai 10:09 tasks
I thought, I can get my needed values from there, but all files are empty.
Looking at this post: [
http://lists.ovirt.org/pipermail/users/2017-January/079011.html |
http://lists.ovirt.org/pipermail/users/2017-January/079011.html ]
this should work.
Is this normal on centos 7.3 with oVirt installed? How can I get those values, without
monitoring all VMs directly?
oVirt Version we use:
4.1.1.8-1.el7.centos
BR Florian
_______________________________________________
Users mailing list
[ mailto:Users@ovirt.org | Users(a)ovirt.org ]
[
http://lists.ovirt.org/mailman/listinfo/users |
http://lists.ovirt.org/mailman/listinfo/users ]
BQ_END
--=_7248eeb5-5806-4c34-81f2-149340a41686
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: arial, helvetica, sans-serif;
font-s=
ize: 12pt; color: #000000"><div>Hi Yaniv,</div><div><br
data-mce-bogus=3D"1=
"></div><div>thank you for your answer! I haven't known, that
there is alre=
ady such a monitoring tool on ovirt.</div><div><br
data-mce-bogus=3D"1"></d=
iv><div>We will sure give it a try, but we have already in our environment =
a monitoring tool, that's why I wanted to add those values,
too.</div><div>=
<br></div><div>How does collectd get this data from libvirt, when the
corre=
sponding cgroup values are empty?</div><div><br
data-mce-bogus=3D"1"></div>=
<div>BR Florian</div><div
data-marker=3D"__SIG_PRE__"><div><p style=3D"marg=
in-bottom: 0cm;" data-mce-style=3D"margin-bottom: 0cm;"><a
class=3D"mceItem=
Anchor" name=3D"OBJ_PREFIX_DWT8057_com_zimbra_url"></a><a
class=3D"mceItemA=
nchor" name=3D"OBJ_PREFIX_DWT1086_com_zimbra_url"></a><a
class=3D"mceItemAn=
chor" name=3D"OBJ_PREFIX_DWT8058_com_zimbra_url"></a> <span
style=3D"color:=
#b3b3b3;" data-mce-style=3D"color:
#b3b3b3;"></span></p></div></div><br><h=
r id=3D"zwchr" data-marker=3D"__DIVIDER__"><div
data-marker=3D"__HEADERS__"=
<b>Von: </b>"Yaniv Kaul"
&lt;ykaul(a)redhat.com&gt;<br><b>An: </b>"Florian S=
chmid" &lt;fschmid(a)ubimet.com&gt;<br><b>CC:
</b>"users" &lt;users(a)ovirt.org=
><br><b>Gesendet: </b>Dienstag, 27. Juni 2017
09:08:51<br><b>Betreff: </=
b>Re: [ovirt-users] Empty cgroup files on centos 7.3
host<br></div><br><div=
data-marker=3D"__QUOTED_TEXT__"><div
dir=3D"ltr"><br><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Mon, Jun 26, 2017 at
11:03 PM, Flor=
ian Schmid <span dir=3D"ltr"><<a
href=3D"mailto:fschmid@ubimet.com" targ=
et=3D"_blank">fschmid(a)ubimet.com</a>&gt;</span>
wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; border-left: 1px
solid=
#cccccc; padding-left: 1ex;" data-mce-style=3D"margin: 0px 0px 0px 0.8ex; =
border-left: 1px solid #cccccc; padding-left: 1ex;">Hi,<br
<br
I wanted to monitor disk IO and R/W
on all of our oVirt centos 7.3 hypervis=
or hosts, but it looks like that all those files are empty.<br></blockquote=
<br><div>We have a very nice integration with Elastic
based monitoring and=
logging - why not use it.</div><div>On the host,
we use collectd for monit=
oring.</div><div>See <a
href=3D"http://www.ovirt.org/develop/release-manage=
ment/features/engine/metrics-store/"
target=3D"_blank">http://www.ovirt.org=
/develop/release-management/features/engine/metrics-store/</a></div><br><di=
v>Y.</div><div> </div><blockquote
class=3D"gmail_quote" style=3D"margi=
n: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;" d=
ata-mce-style=3D"margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc;=
padding-left: 1ex;"
For example:<br
ls -al
/sys/fs/cgroup/blkio/machine.slice/machine-qemu\\x2d14\\x2dHostedEng=
ine.scope/<br
insgesamt 0<br
drwxr-xr-x. 2 root root 0 30. Mai 10:09 .<br
drwxr-xr-x. 16 root root 0 26. Jun 09:25 ..<br
-r--r--r--. 1 root root 0 30. Mai 10:09
blkio.io_merged<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.io_merged_recursive<br
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_queued<br
-r--r--r--. 1 root root 0 30. Mai 10:09
blkio.io_queued_recursive<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.io_service_bytes<br
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_service_bytes_recurs=
ive<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.io_serviced<br
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_serviced_recursive<b=
r
-r--r--r--. 1 root root 0 30. Mai 10:09
blkio.io_service_time<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.io_service_time_recursi=
ve<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.io_wait_time<br
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.io_wait_time_recursive<=
br
-rw-r--r--. 1 root root 0 30. Mai 10:09
blkio.leaf_weight<br
-rw-r--r--. 1 root root 0
30. Mai 10:09 blkio.leaf_weight_device<br
--w-------. 1 root root 0 30. Mai 10:09 blkio.reset_stats<br
-r--r--r--. 1 root root 0 30. Mai 10:09
blkio.sectors<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.sectors_recursive<br
-r--r--r--. 1 root root 0 30. Mai 10:09 blkio.throttle.io_service_byt=
es<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.throttle.io_serviced<br=
-rw-r--r--. 1 root root 0 30. Mai 10:09
blkio.throttle.read_bps_devic=
e<br
-rw-r--r--. 1 root root 0 30. Mai 10:09
blkio.throttle.read_iops_devi=
ce<br
-rw-r--r--. 1 root root 0
30. Mai 10:09 blkio.throttle.write_bps_devi=
ce<br
-rw-r--r--. 1 root root 0
30. Mai 10:09 blkio.throttle.write_iops_dev=
ice<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.time<br
-r--r--r--. 1 root root 0
30. Mai 10:09 blkio.time_recursive<br
-rw-r--r--. 1 root root 0 30. Mai 10:09 blkio.weight<br
-rw-r--r--. 1 root root 0 30. Mai 10:09
blkio.weight_device<br
-rw-r--r--. 1 root root 0
30. Mai 10:09 cgroup.clone_children<br
--w--w--w-. 1 root root 0 30. Mai 10:09 cgroup.event_control<br
-rw-r--r--. 1 root root 0 30. Mai 10:09
cgroup.procs<br
-rw-r--r--. 1 root root 0
30. Mai 10:09 notify_on_release<br
-rw-r--r--. 1 root root 0 30. Mai 10:09 tasks<br
<br
<br
I
thought, I can get my needed values from there, but all files are empty.<=
br
<br
Looking at this post: <a
href=3D"http://lists.ovirt.org/pipermail/users/201=
7-January/079011.html" rel=3D"noreferrer"
target=3D"_blank">http://lists.ov=
irt.org/pipermail/users/2017-January/079011.html</a><br
this should work.<br
<br
Is this normal on centos 7.3 with
oVirt installed? How can I get those valu=
es, without monitoring all VMs directly?<br
<br
oVirt Version we use:<br
4.1.1.8-1.el7.centos<br
<br
BR Florian<br
_______________________________________________<br
Users mailing list<br
<a
href=3D"mailto:Users@ovirt.org"
target=3D"_blank">Users(a)ovirt.org</a><br=
<a
href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer=
"
target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/us...
</blockquote></div></div></div><br></div></div></body></html
--=_7248eeb5-5806-4c34-81f2-149340a41686--