Hello,
I installed Nagios for monitoring and its basic functionalities are working fine, Nagios installed on redhat 6.4 . I was trying to monitor VMware as well. So, I installed "VMware Perl SDK" and got the monitoring scripts from "OP5".
To test that everything is okand are working fine, I used the below command which should resturn no errors while executing.
/usr/lib/nagios/plugins/check_esx -H ESXIP -u username -p Password -l runtime -s status CHECK_ESX OK - overall status=green
I received the below error message instead
Error
Can't locate Nagios/Plugin/Functions.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./check_esx line 39.
BEGIN failed--compilation aborted at ./check_esx line 39.
By the way, After I finished installing the "VMware Perl SDK", I can see the below warning after "Successfuly installed"
The following Perl modules were found on the system but may be too old to work
with vSphere CLI:
Compress::Zlib 2.037 or newer
Compress::Raw::Zlib 2.037 or newer
version 0.78 or newer
IO::Compress::Base 2.037 or newer
IO::Compress::Zlib::Constants 2.037 or newer
LWP::Protocol::https 5.805 or newer
Perl script for VMware monitoring
http://git.op5.org/git/?p=nagios/op5....git;a=summary
Using nagios to monitor VMware
http://feub.net/2010/12/monitoring-v...e-with-nagios/
regards,