check_vmware_esx1.pl plugin issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

check_vmware_esx1.pl plugin issue

Post by mejokj »

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
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

Post by benjaminsmith »

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.

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!
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: check_vmware_esx1.pl plugin issue

Post by mejokj »

Hi Benjaminsmith,

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

Post by benjaminsmith »

Hi,
Thanks for your support.
Your welcome!

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!
Locked