Monitoring vmware with nagios

nagiosvmware-vcenter

I'd like some way to connect nagios, so it sees the status of the Virtual Center, i.e. if the infrastructure client shows an alarm, it is shown in nagios.

Not nessecary to show the errormessage, just nagios showing "Something wrong", so I can look at the Infrastructure client to see what's wrong.

Otherwise an error can be unnoticed for days, if nothing seems to be out of order, as I'm not looking at IC, while Nagios is running all the time (or actually a nagios-popup)

Best Answer

I was looking for a good vCenter or even just ESX(i) check for Nagios a while back, and I didn't find anything. I ended up writing one-off scripts to cover the need, and I'm going to go back and improve them when I get a chance.

There is this: http://exchange.nagios.org/directory/Addons/Configuration/Configuration-Wizards/VMware-ESX--2F-vSphere--2F-vCenter-Monitoring-Wizard/details but I haven't tried it, as it's only compatible the commercial version of Nagios, Nagios XI.

If you can script in perl, the VMware SDK is available here: http://www.vmware.com/support/developer/viperltoolkit/

It should contain all of the functions necessary to do what you want (and then some).

Related Topic