Sunday, July 19, 2015
vmesxi support on nagios or vmware esxi
monitoring python script can be had here:
https://www.thomas-krenn.com/en/wiki/VMware_ESXi_Hardware_with_Nagios_or_Icinga_Monitoring
instructions for installing it in the nagios system can be had here:
http://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php#CommandDefinition
Note: had a problem with minimal system install with setuptools for python environment not being installed. This occurred on a system built up from a very minimal debian environment (ubuntu 14.10) and may happen other times.
http://stackoverflow.com/questions/7446187/no-module-named-pkg-resources
to install setuptools
sudo su
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
Service definition for icinga command.cfg:
# Check HP Server hardware
define service{
use generic-service
host_name vmesxi3
service_description Hardware
check_command check_esxi_hardware!root!<password>
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment