Page 1 of 1

XI and ESXi 5

Posted: Mon Jan 28, 2013 6:37 pm
by geoffreykobrien
Im getting the following error when using the wizard.


PTH.DC.R03.U37.VM1921682570
CPU Usage for VMHost
Critical
8m 38s
5/5
2013-01-28 23:30:32
(null)

I followed this post: http://support.nagios.com/forum/viewtop ... =16&t=8968
as it was the same error I was having, yet the instructions are not solving my issue. I get the following on the command line:

[root@localhost vmware-vsphere-cli-distrib]# clear
[root@localhost vmware-vsphere-cli-distrib]# [root@localhost vmware-vsphere-cli-distrib]# /usr/local/nagios/libexec/check_esx3.pl -V|head
-bash: [root@localhost: command not found
[root@localhost vmware-vsphere-cli-distrib]# Can't locate Nagios/Plugin.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 /usr/local/nagios/libexec/check_esx3.pl line 32.
> BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_esx3.pl line 32.
>

Re: XI and ESXi 5

Posted: Mon Jan 28, 2013 6:56 pm
by geoffreykobrien
I forgot to mention this is the latest vmware ova.

Re: XI and ESXi 5

Posted: Tue Jan 29, 2013 7:41 am
by scottwilkerson
Did you follow all the steps in this document? Because it looks like you are missing one of the items that would have been installed.
http://library.nagios.com/library/produ ... -nagios-xi

Re: XI and ESXi 5

Posted: Tue Jun 25, 2013 12:32 pm
by c.slagel
Was there ever any resolution to this? I followed the .pdf instructions to the T and am having the same exact issue.

Re: XI and ESXi 5

Posted: Tue Jun 25, 2013 12:37 pm
by abrist
Did you receive any errors for the step:

Code: Select all

yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML
?

Re: XI and ESXi 5

Posted: Tue Jun 25, 2013 12:38 pm
by geoffreykobrien
abrist wrote:Did you receive any errors for the step:

Code: Select all

yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML
?
none

Re: XI and ESXi 5

Posted: Tue Jun 25, 2013 1:02 pm
by abrist
The error above is caused when nagios perl plugin is not installed.

Code: Select all

yum list installed| grep Nagios