Closed takenek closed 9 years ago
Hi,
This would be useful to have indeed. I will check that soon and get back to you.
Thanks, Marin
Hi,
I was looking for some VM in our environment that needs consolidation, but so far no luck.
I need to have a VM that reports it needs snapshot consolidation in order to check the alarm, so once I have one I will be able to check it and implement it.
Regards, Marin
vPoller now supports getting alarms from the vSphere environment. I will update soon the Zabbix templates to include alarms as well.
That should show up in the Zabbix Dashboard as snapshot consolidation should trigger an alarm in vSphere.
@takenek: Can you please run this command from the command-line and let me know whether you see the vSphere alarms for snapshot consolidation?
$ vpoller-client --method vm.alarm.get --vsphere-host <vcenter-fqdn> --name <vm-name>
I don't have any VMs that need snapshot consolidation and can't test it myself, so want to be sure that this alarm is caught by vPoller before I update the Zabbix templates.
Thanks, Marin
taken@WIZJA2:~$ vpoller-client --method vm.alarm.get --vsphere-host vc02.xxx.net --name NMS.xxx.net
{"msg": "Successfully retrieved alarms", "result": [{"info": "Virtual machine Consolidation Needed status", "acknowledgedByUser": null, "acknowledged": false, "entity": "NMS.xxx.net", "key": "alarm-61.vm-122", "time": "2014-12-05 02:12:01.250577+00:00", "overallStatus": "yellow"}], "success": 0}
Thanks for providing that info!
I will update soon the Zabbix templates to report vSphere alarms as well.
Thanks, Marin
This is from other cluster:
taken@WIZJA2:~$ vpoller-client --method vm.alarm.get --vsphere-host vc02.xxx.net --name FF01.xxx.net
{"msg": "Successfully retrieved alarms", "result": [{"info": "Virtual machine Consolidation Needed status", "acknowledgedByUser": null, "acknowledged": false, "entity": "FF01.xxx.net", "key": "alarm-61.vm-362", "time": "2014-12-04 17:02:35.656962+00:00", "overallStatus": "yellow"}], "success": 0}
Zabbix support for vSphere alarms is present in the latest vPoller release.
Make sure to get the latest vPoller templates for Zabbix as well.
The example items in the Template VMware vSphere Datacenter - vPoller Native
template contains discovery items, which would discover all triggered alarms in a Datacenter.
Hello. What is about alarms from vCenter. I cant get how to recieve alarms from it. for example "vCenter Server Health Alarm"?
Hello This is possible to add trigger to vpoller for disk consolidation? Now when i got information in vCenter about disk need consolidation in zabbix there is no info....
Thanks