im trying to monitor my esxi host using check_exi command but im getting errors.
here is what ive done so far:
1. install dependency yum install perl-Pod-Perldoc perl-CPAN openssl-devel to /usr/bin, all installed but one gave this warrning about a module:
Socket6 0.23 or newer
IO::Socket::INET6 2.71 or newer
2. downloaded and extracted tar zxvf VMware-vSphere-Perl-SDK-<version-number>.tar.gz to /root/vmware-vsphere-cli-distrib
3. run the /vmware-insatll.pl
4. downloaded check_esx3.pl from https://exchange.icinga.com/exchange/check_esx3
5. put the file in my /nagios/libexec folder
6. setup the command:
Code: Select all
define command{
command_name check_esx_cpu
command_line $USER1$/check_esx $ESXUSER$/check_esx -H $HOSTADDRESS$ -u $ESXUSER$ -p $ESXPASSWORD$ -l cpu -s usage -w $ARG1$ -c $ARG2$ }
Code: Select all
define service{
use Generic-services
host_name SV-VMHOST-02.baynet.local
service_description CPU Load check_command
check_command check_esx_cpu!80!90
}
- when running the check through browser i get following error (Return code of 127 is out of bounds - plugin may be missing)
- when running the check from my linux box i get error /usr/bin/perl: symbol lookup error: /usr/lib64/perl5/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Gthr_key_ptr
what am i missing here
thanks,