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
check_vmware_esx1.pl plugin issue
check_vmware_esx1.pl plugin issue
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: check_vmware_esx1.pl plugin issue
Hi,
I would highly recommend setting Vmware monitoring using the Wizard provided in Nagios XI. The following guide has instructions on installing the required dependencies along with the required Vmware SDK.
Monitoring VMware With Nagios XI
To continue to troubleshoot this installation, let's verify that the TIme::Duration module has been installed, run the following command and if it's not installed it should return an error.
I would highly recommend setting Vmware monitoring using the Wizard provided in Nagios XI. The following guide has instructions on installing the required dependencies along with the required Vmware SDK.
Monitoring VMware With Nagios XI
To continue to troubleshoot this installation, let's verify that the TIme::Duration module has been installed, run the following command and if it's not installed it should return an error.
Code: Select all
perl -e "Time::Duration"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_vmware_esx1.pl plugin issue
Hi Benjaminsmith,
Please close the thread.
Thanks for your support.
Please close the thread.
Thanks for your support.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: check_vmware_esx1.pl plugin issue
Hi,
We'll close this out.
Your welcome!Thanks for your support.
We'll close this out.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!