Error: It appears as though you have not installed the VMwar

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
velasco
Posts: 4
Joined: Fri Sep 07, 2012 10:16 am

Error: It appears as though you have not installed the VMwar

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error: It appears as though you have not installed the V

Post by scottwilkerson »

When you installed the SDK did you get to the end and see?

Code: Select all

Enjoy, --the VMware team
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...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
velasco
Posts: 4
Joined: Fri Sep 07, 2012 10:16 am

Re: Error: It appears as though you have not installed the V

Post by velasco »

yes, i see the enjoy message but sdk error still appears.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error: It appears as though you have not installed the V

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
velasco
Posts: 4
Joined: Fri Sep 07, 2012 10:16 am

Re: Error: It appears as though you have not installed the V

Post 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 ~]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error: It appears as though you have not installed the V

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
velasco
Posts: 4
Joined: Fri Sep 07, 2012 10:16 am

Re: Error: It appears as though you have not installed the V

Post 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"
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error: It appears as though you have not installed the V

Post by scottwilkerson »

Can you run

Code: Select all

ls -l /usr/local/nagios/libexec/check_esx3.pl
And report the output
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Error: It appears as though you have not installed the V

Post 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.
Andrew J. - Do you even grok?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error: It appears as though you have not installed the V

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked