Page 1 of 2
Error: It appears as though you have not installed the VMwar
Posted: Fri Sep 07, 2012 10:39 am
by velasco
Recently I’ve downloaded latest naxios XI version to test. I have to mention that we already have an old version of nagios but we want to test to monitor vmware servers on NAGIOS XI. As I can see, nagios xi has a built in wizard to configure and monitor vmware hosts and vm’s but… first, I added two hosts successfylly, but after a few minutes, services appears in red with a “null” message, ok, it seems is not working well because documentation explains that SDK for perl must be installed. And I installed sdk 5, 4, for i386, for x64, and after a lot of installs and reinstalls always is the same msg “Error: It appears as though you have not installed the VMware SDK or ESX plugins on your Nagios XI server”.
I copied “check_esx3.pl into /usr/local/nagios/libexec”, ran yum install command, set proxys, set permissions as documentation describes but always is the same error.
anyone has idea how to run vmware wizard monitor to run correctly?
Re: Error: It appears as though you have not installed the V
Posted: Fri Sep 07, 2012 11:07 am
by scottwilkerson
When you installed the SDK did you get to the end and see?
I had a similar install I was helping with the other day and with proxies we couldn't make the 5.0 SDK install, but the 4.0 SDK installed just fine...
Re: Error: It appears as though you have not installed the V
Posted: Mon Sep 10, 2012 10:15 am
by velasco
yes, i see the enjoy message but sdk error still appears.
Re: Error: It appears as though you have not installed the V
Posted: Mon Sep 10, 2012 11:31 am
by scottwilkerson
Can you show me what the output of the following command is
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl | head --lines=1 2&>1
Re: Error: It appears as though you have not installed the V
Posted: Mon Sep 10, 2012 12:51 pm
by velasco
[root@localhost ~]# /usr/local/nagios/libexec/check_esx3.pl | head --lines=1 2&>1
/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Tstack_sp_ptr
[root@localhost ~]#
Re: Error: It appears as though you have not installed the V
Posted: Mon Sep 10, 2012 2:33 pm
by scottwilkerson
Did you install the pre-requisites defined in our documentation?
Try running
Code: Select all
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
Report any errors
Re: Error: It appears as though you have not installed the V
Posted: Mon Sep 10, 2012 5:04 pm
by velasco
I have performed several cmd's listed here:
http://support.nagios.com/forum/viewtop ... l&start=40
in this topic is included the cmd: yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
after executed this now services displays "Return code of 127 is out of bounds -plugin may be missing"
Re: Error: It appears as though you have not installed the V
Posted: Tue Sep 11, 2012 10:48 am
by scottwilkerson
Can you run
Code: Select all
ls -l /usr/local/nagios/libexec/check_esx3.pl
And report the output
Re: Error: It appears as though you have not installed the V
Posted: Thu Nov 08, 2012 5:13 pm
by vAJ
Scott,
I'm having the same problem with my ESX monitoring.
Running
Code: Select all
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
returns
Code: Select all
Transaction Check Error:
file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
Thoughts?
This is after restoring config from a working 2012R1.2 box to a new instance built from the Nagios OVF image.
Re: Error: It appears as though you have not installed the V
Posted: Fri Nov 09, 2012 7:57 am
by lmiltchev
Run in terminal:
Code: Select all
yum clean all
yum erase perl-XML-SAX-Base-1.04-1.el6.rf.noarch
yum install perl-XML-SAX -y
yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML -y
Hope this helps.