Case Studies
Technology Partners
Careers
Training Resources
|
|
Configuring vSphere ESX VMFS monitoring with Nagios (NRPE)
"Nagios How to monitor VMFS on ESX via NRPE"
"check_vmfs" (rename this without the .txt)
Script is a modified (for usage with SNMP) version of a posting by Duncan Epping on Yellow Bricks.
This document will walk you through how to use the NRPE agent to track VMFS utilization and execute alerting.
Installing the NRPE client on ESX :
download the NRPE client plus dependancies :
extract the contents, and copy them to a temp directory on your ESX host.
Log into the ESX console, navigate to your temporary directory and install the rpm packages:
rpm -i fping-2.4-0.b2.rhel2.1.dag.i386.rpm
rpm -i perl-Socket6-0.19-1.1.el3.rf.i386.rpm
rpm -i perl-Digest-SHA1-2.11-1.el3.rf.i386.rpm
rpm -i perl-Digest-HMAC-1.01-1.rhel2.1.dag.noarch.rpm
rpm -i perl-Crypt-DES-2.03-3.1.el3.rf.i386.rpm
rpm -i perl-Net-SNMP-5.2.0-1.1.el3.rf.noarch.rpm
rpm -i nagios-plugins-1.4.11-1.el3.rf.i386.rpm
rpm -i nagios-nrpe-2.5.2-1.el3.rf.i386.rpm
chkconfig nrpe on
service nrpe start
| |