Open talbaror opened 9 years ago
Hi,
Command looks OK - the only things I'd note on is the host name for -e, it must be the full host name (usually displayed in the top left of the VI client - left window frame).
For example, mine might say esxi1.lab.com so I have to use this after the '-e'. The IP address or the host name only won't work.
$ ./pyvinga.py --host 192.168.1.10 -u root -n host -e esxi1.lab.com -r cpu.usage -w 5 -c 10 Enter password for host 192.168.1.10 and user root: OK - CPU Usage is 0.6% | 'CPU Usage'=0.6%;5.0;10.0;0;100
IP address is OK for the '-s' / '--host' parameter
Hope this helps. Please keep me updated.
Works like charm thanks just another question can i get health status and temperature with this plugin? Thanks
Great news, thanks for getting back to me :)
The plugin doesn't currently look at temperature or health of hardware.
Thanks a lot :-) any plan to extend it for health metrics?
Unfortunately, not right now - other projects are taking up a lot of my time. I haven't even started to investigate how these can be pulled out of vCenter / Hosts and in what format they'd be.
Hi I trying to use pyvinga plugin under ubuntu 14.04 but when i run it against esxi host i don't see any output maybe i use wrong argument , please advice Thanks command ./pyvinga.py --host 192.168.64.210 -u usr -p xxx123 -n host -e 192.168.64.210 -r cpu.usage -w 5 -c 10