Thursday, October 4, 2012

Nagios monitor ESXi Host Hardware

Hello friends,

I have Setup Nagios plugin to monitor the hardware of ESX and ESXi 4.1 ESXi 5.0 servers on production environment and it monitor esxi host's hardware,ram, disk, LUN, CPU, DataStore etc. and good thing is that you don't need to install or any change on ESXi host, all information gather through vmware CIM its same as snmp oid.


Screen shot of Nagios page



Steps to configure plugin for monitoring ESXi 4.1, ESXi 5.0 Host. I'm supposed to you have nagios server already installed .

Step 1

Check Requirements
- Python must be installed on Nagios server
- The Python extension pywbem must be installedon nagios server

1) Install Python on Nagios server

#tar zvf Python-2.7.3.tar
# cd Python-2.7.3
#./configure
# make install

2) Install pywbem (CIM info)

# tar zxvf pywbem-0.6.tar.gz
# cd pywbem-0.6
# which python2
# python2 setup.py build
# python2 setup.py install