Page 1 of 1

Nagios Core 4.1.2 and check_vmware_api.pl

Posted: Tue Aug 08, 2017 6:09 am
by emi65
I downloaded from
https://exchange.nagios.org/directory/P ... 1502114147

the last version of check_vmare_api.pl

When I run it with -h option I got this error
Can't locate Monitoring/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_vmware_api.pl.ORIG line 39.
BEGIN failed--compilation aborted at ./check_vmware_api.pl line 39.

In the /usr/share/perl5/vendor_perl folder I have
Nagios and NOT Monitoring folder

In Nagios folder I have Plugin/Functions.pm file

How can I solve this problem ?

Thanks
EMilio

Re: Nagios Core 4.1.2 and check_vmware_api.pl

Posted: Tue Aug 08, 2017 10:39 am
by bolson
Did you download VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.tar.gz? This error would suggest that you're either missing some dependency files or some perl libraries.