check_vmware_esx1.pl plugin issue
Posted: Wed Jan 20, 2021 2:14 pm
Hi Team,
We are trying to monitor the Vcenter using the plugin check_vmware_esx.pl.
Plugin downloaded from https://github.com/BaldMansMojo/check_v ... are_esx.pl
Already we are facing issues with plugin box293_check_vmware, it is not all working for us. so we have tried for plugin check_vmware_esx.pl.
But while using plugin check_vmware_esx.pl, We are not able to get the output with nagios user. But getting output with root user.
Error only in Nagios user. Attached screenshot.
Error
====
Can't locate Time/Duration.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_esx1.pl line 1401.
BEGIN failed--compilation aborted at ./check_vmware_esx.pl line 1401
Solution we tried
===============
Installed Perl module "Time::Duration". But the still same issue.
Installed plugin using CPAN
Thanks
We are trying to monitor the Vcenter using the plugin check_vmware_esx.pl.
Plugin downloaded from https://github.com/BaldMansMojo/check_v ... are_esx.pl
Already we are facing issues with plugin box293_check_vmware, it is not all working for us. so we have tried for plugin check_vmware_esx.pl.
But while using plugin check_vmware_esx.pl, We are not able to get the output with nagios user. But getting output with root user.
Error only in Nagios user. Attached screenshot.
Error
====
Can't locate Time/Duration.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_esx1.pl line 1401.
BEGIN failed--compilation aborted at ./check_vmware_esx.pl line 1401
Solution we tried
===============
Installed Perl module "Time::Duration". But the still same issue.
Installed plugin using CPAN
Thanks