How to have this information?

Hello, it is possible have : - CPU - MEMORY - NETWORK usage of VM's from the manager ? trought API or.. snmpd, or.. .other stuff ? I need to develop a web page to show this information to my customers. thanks Lukas

Hi, You can get the information via snmp - here you can find some useful OIDs [1]. If I were you, I would have considered monitoring the VMs with zenoss [2] (which uses snmp and already has all relevant OIDs). It has a python api, so for creating the web page - I would have probably use django [3] with zenoss' python api. With that being said, there might be a way that I'm not aware about to get this information from ovirt. [1] http://kaivanov.blogspot.co.il/2012/02/linux-snmp-oids-for-cpumemory-and-dis... [2] http://www.zenoss.com/ [3] https://www.djangoproject.com/ ----- Original Message -----
From: "Ovirt User" <ldrt8789@gmail.com> To: users@ovirt.org Sent: Monday, May 5, 2014 10:45:14 AM Subject: [ovirt-users] How to have this information?
Hello,
it is possible have :
- CPU - MEMORY - NETWORK
usage of VM's from the manager ? trought API or.. snmpd, or.. .other stuff ?
I need to develop a web page to show this information to my customers.
thanks Lukas
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

thanks, but i mean how to obtain this information from Ovirt manager layer .. i don't want install snmp in the single VM.. because customer can disable it … Il giorno 05/mag/2014, alle ore 10:38, Meital Bourvine <mbourvin@redhat.com> ha scritto:
Hi,
You can get the information via snmp - here you can find some useful OIDs [1].
If I were you, I would have considered monitoring the VMs with zenoss [2] (which uses snmp and already has all relevant OIDs). It has a python api, so for creating the web page - I would have probably use django [3] with zenoss' python api.
With that being said, there might be a way that I'm not aware about to get this information from ovirt.
[1] http://kaivanov.blogspot.co.il/2012/02/linux-snmp-oids-for-cpumemory-and-dis... [2] http://www.zenoss.com/ [3] https://www.djangoproject.com/
----- Original Message -----
From: "Ovirt User" <ldrt8789@gmail.com> To: users@ovirt.org Sent: Monday, May 5, 2014 10:45:14 AM Subject: [ovirt-users] How to have this information?
Hello,
it is possible have :
- CPU - MEMORY - NETWORK
usage of VM's from the manager ? trought API or.. snmpd, or.. .other stuff ?
I need to develop a web page to show this information to my customers.
thanks Lukas
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, via REST: https://your-engine.example.com/api/vms/{VM-ID}/statistics should suite your needs. HTH PS: Some digging around should have yielded this result pretty fast. I believe this was mentioned several times on the ML. Check the archives. Am 05.05.2014 09:45, schrieb Ovirt User:
Hello,
it is possible have :
- CPU - MEMORY - NETWORK
usage of VM's from the manager ? trought API or.. snmpd, or.. .other stuff ?
I need to develop a web page to show this information to my customers.
thanks Lukas
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (3)
-
Meital Bourvine
-
Ovirt User
-
Sven Kieske