Error while installing pre-requisites for VMware wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Error while installing pre-requisites for VMware wizard

Post by MSPk »

I got the below error when i run the command "yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML" as specified in the admin guide(monitoring VMware).

file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-3.el6.noarch and perl-XML-SAX-0.96-7.el6.noarch
file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-Base-1.04-3.el6.noarch and perl-XML-SAX-0.96-7.el6.noarch

Is this a know error?
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Error while installing pre-requisites for VMware wizard

Post by MSPk »

Hi,

I have managed to get past this message and finally install the perl-XML-LibXML.

I have now tried installing the VMware SDK at the end iot asked me where i wanted to store the executables....Can someone please suggest where these files should go
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error while installing pre-requisites for VMware wizard

Post by scottwilkerson »

I usually accept the defaults...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Error while installing pre-requisites for VMware wizard

Post by MSPk »

Thanks for the reply...

I have also used the default path /usr/bin but I get a message saying "It appears as though the VMware SDK has not yet been installed on your Nagios XI server. You must install the SDK before you are able to use this wizard."

I have tried re-installing the SDK to the vmware folder(/usr/local/nagiosxi/html/includes/configwizards/vmware) even then I get the same message.

I have gone through the entire process again as suggested in the admin guide but it is still the same....!!

One thing i would like to mention is the process i executed the command "yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML", As suggested in first post when I execute this commnd I get an error, what we have tried here is installing these packages individually - first Nagos-Plugin, second libuuid* and the at the end installed XML-LibXML - using YUM. But its when we install the XML-LibXML that we get the error msg again. Here we have tried installing the deendencies first to check if get any error in return, so we have installed Perl-SAX-Ba which then installed Perl-XML-LibXML(this being one of the dependencies this was also installed). At this point i have run the command "yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML" and got message saying each of packages are already installed and nothing to do.
after this we have installed the VMware SDK successfully,but unable to run the wizard.

Can you please suggest if we have done amything wrong or missed out something during the installation? do we have anyother dependencies that need to be taken care of? Do we need to restart the server for this to take effect?

I'm trying to install this wizard on Nagios XI running on RHEL 6

PS: I have run the command "yum install perl-Nagios-Plugin libuuid* perl-XML-LibXML" on CentOS as well with the same error message.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error while installing pre-requisites for VMware wizard

Post by mguthrie »

Can you post the output from running the following command?

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Error while installing pre-requisites for VMware wizard

Post by MSPk »

This is the output i get when i run the command

Usage: check_esx3.pl -D <data center> | -H <host name> [ -N <vm_name> ] -u <user> -p <pass> | -f <authfile> -l <command> [ -S <subcommand> ] [ -t <timeout> ] [ -W <warn_range> ] [ -c <crit_range> ] [-V ] [ -h ]

Missing argument: command
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error while installing pre-requisites for VMware wizard

Post by scottwilkerson »

Can you post the following file off of your server so I can verify we are working off of the same version.
/usr/local/nagiosxi/html/includes/configwizards/vmware/vmware.inc.php

thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Error while installing pre-requisites for VMware wizard

Post by MSPk »

Hi,

Please find the php file attached
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error while installing pre-requisites for VMware wizard

Post by scottwilkerson »

you will likely need to zip the attachment to add it.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Error while installing pre-requisites for VMware wizard

Post by MSPk »

vmware.inc.php.zip
Think posted it successfully this time around
You do not have the required permissions to view the files attached to this post.
Locked