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)

4 Answers 4


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).

  • the Perl VMware sdk is awesome and quite easy to use. This document: "Managing VMware infrastractures using VMware APIs" ovh.com/images/vmWorld/OVH60.pdf presented at VMworld Barcelona 2012 is very handy Jan 27, 2014 at 19:27

Take a look at Netway's VMWare Plugin for Nagios. I don't think you can check VirtualCenter with it, but the ESX hosts and Guests work

Since the release of VMware ESX Server 2.0, there is an alternative to server monitoring: the Common Interface API. Based on this API, we have developed a new Nagios plugin which can effortlessly query the global status of individual VMs. It does not need to be installed in each individual server VM, because the plugin independently reports on VMs including their Heartbeat status. When desired, CPU load, memory and disk utilisation along with other parameters can also be queried. The plugin is distributed with templates for NagiosGrapher, offering easy extrapolation of data into performance charts.

You can find more about it here: http://www.netways.de/en/de/produkte/nagios_plugins/vmware_esx/


We use check_esx3 in conjunction with ESX server and standard nagios on Centos - it works well.


Since new versions of vmware old systems doesnt work (SNMP or running local commands inside ESX). There is no way to make it work with new API/Versions of Vmware, other monitoring systems (Zabbix, Pandora FMS, Open NMS) have the same problem, and the API is a hell :( I don't see any free plugin for ESX monitoring yet :(


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .