Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)

share|improve this question

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: 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:

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

share|improve this answer
the Perl VMware sdk is awesome and quite easy to use. This document: "Managing VMware infrastractures using VMware APIs" presented at VMworld Barcelona 2012 is very handy – natxo asenjo Jan 27 '14 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:

share|improve this answer

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

share|improve this answer

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 :(

share|improve this answer
actually, Zabbix directly supports VMware API: – Richlv Jan 27 '14 at 19:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.