Hi Peter,

Using the oVirt API will add load on the engine and may affect the engine performance.
We have the DWH that collectd metrics and configuration data about the hosts and vms and can be used along with Grafana.

We also added the oVirt metrics store that collects the metrics directly from the host about the hosts and vms and from the engine about the machine itself and postgres db.
This was done in order to lower the load on the engine.
We also collect the engine.log and vdsm.log.

The metrics are collected to Elasticsearch and can be visualised in Kibana and Grafana and are collected in 10 sec interval that give you almost real time view.
I would love to hear why you prefer using Zabbix for collecting the metrics data.

Best regards,

--

SHIRLY RADCO

BI SeNIOR SOFTWARE ENGINEER

Red Hat Israel


On Wed, Mar 28, 2018 at 5:38 PM, Peter Hudec <phudec@cnc.sk> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I have working proof-of-concept. There still could  be bug in
templates and not all parameters are monitored, but HOST and VM
discovery is working.

I will try to share it on github. At this moment I have some
performance issues, since it's using the zabbix-agent which needs to
for a new process for each query ;(

        Peter

On 26/03/2018 08:13, Peter Hudec wrote:
> Yes, template and python
>
> at this moment I understand oVirt API. I needed to write own small
> SDK, since the oVirt SDK is using SSO for login, that means it do
> some additional requests for login process. There is no option to
> use Basic Auth. The SESSION reuse could be useful, but I do no
> want to add more
>
> First  I need to understand some basics from Zabbix Discovery
> Rules / Host Prototypes. I would like to have VM as separate hosts
> in Zabbix, like VMWare does. The other stuff is quite easy.
>
> There plugin for nagios/icinga if someone using this monitoring
> tool https://github.com/ovido/check_rhev3
>
> On 26/03/2018 08:02, Alex K wrote:
>> Hi Peter,
>
>> This is interesting. Is it going to be a template with an
>> external python script?
>
>> Alex
>
>> On Mon, Mar 26, 2018, 08:50 Peter Hudec <phudec@cnc.sk
>> <mailto:phudec@cnc.sk>> wrote:
>
>> Hi Terry,
>
>> I started to work on ZABBIX integration based on oVirt API.
>> Basically it should be like VmWare integration in ZABBIX with
>> full hosts/vms discovery and statistic gathering.
>
>> The API provides  for each statistics service for NIC, VM as wall
>> CPU and MEM utilization.
>
>> There is also solution based on reading data from VDSM to
>> prometheus
>> http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d
a
>
>>
>>
ta
>
>
> center-with-prometheus
>> <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-
d
>
>>
>>
atacenter-with-prometheus>.
>
>
>
>> Peter
>
>> On 22/03/2018 04:41, Terry hey wrote:
>>> Dear all,
>
>>> Now, we can just read how many storage used, cpu usage on
>>> ovirt dashboard. But is there any monitoring tool for
>>> monitoring virtual machine time to time? If yes, could you guys
>>> give me the procedure?
>
>
>
>>> Regards Terry
>
>
>>> _______________________________________________ Users mailing
>>> list Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>> _______________________________________________ Users mailing
>> list Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
>

- --
*Peter Hudec*
Infraštruktúrny architekt
phudec@cnc.sk <mailto:phudec@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2 35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

-----BEGIN PGP SIGNATURE-----

iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq7qPsOHHBodWRlY0Bj
bmMuc2sACgkQQnvVWOJ35BDXzw/8ChApssWNkM0HiixYESQP+lgxJeHqHYgvBbrQ
DTfiOfTXrWDLIXn7LQdtt7IH4LtTDEwLcGBFSQCTUuX7W6y6Uj5y9pkcGLrtFYuP
g1yBEPuqO3RB2QoR6FLlEyfqfDpnIWiRbtFFpK4P6UmRNQX637GKcluMN8EXeujY
w/S+0JoV9ANEnDgsyCQvJ1f89D4KTiD9eTv0zijl7abRew8ioMVAmxt2YBFQf1KC
rZQ4h7qbymYNDWRv/n4qx3StBN8e0crty73glfWbHrCuw0/lfSMgELWelvvSR1YE
1oEMmRaqQr7poxtXTGdtkXRkvxil+Or/IQ6jibFjMt9rmmkJ4jgMkGdSkYSHlCJC
G2pjlN0nlghOmj9QDaX54EAXUeybVmoD8yGVlmREEl8jPYVxAmfasJ7zJ+mIBTU4
21Z7/yhFHINi6pez+3t/42BA11XtfTiUx5GVzj5M+Ky6bbkVOF5H+ndJzRA92UHj
lZOyoFP5cg9cFkdmAGep4pE9BdHEIFKnS7m0vVM0IwiKRQMprvAYyBuj23V+wtTc
FXauv7+xpyFiH/0IqFCeHn9DCIXnEQlGfwDkCt4PYS+p0Jfm2hlI3fvGqeHZngYz
NElJT59Sxc8kWayZrbr5uaw6csTwcXXhVcALaWB/q6DsqR2KyPWwbs3CtfH5OGWh
39Jz7aw=
=NcUr
-----END PGP SIGNATURE-----
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users