Page 1 of 3
Error while installing pre-requisites for VMware wizard
Posted: Thu Sep 27, 2012 6:27 am
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?
Re: Error while installing pre-requisites for VMware wizard
Posted: Thu Sep 27, 2012 8:11 am
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
Re: Error while installing pre-requisites for VMware wizard
Posted: Thu Sep 27, 2012 5:14 pm
by scottwilkerson
I usually accept the defaults...
Re: Error while installing pre-requisites for VMware wizard
Posted: Thu Sep 27, 2012 11:27 pm
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.
Re: Error while installing pre-requisites for VMware wizard
Posted: Fri Sep 28, 2012 11:57 am
by mguthrie
Can you post the output from running the following command?
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl
Re: Error while installing pre-requisites for VMware wizard
Posted: Fri Sep 28, 2012 12:41 pm
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
Re: Error while installing pre-requisites for VMware wizard
Posted: Mon Oct 01, 2012 9:42 am
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
Re: Error while installing pre-requisites for VMware wizard
Posted: Mon Oct 01, 2012 11:48 am
by MSPk
Hi,
Please find the php file attached
Re: Error while installing pre-requisites for VMware wizard
Posted: Mon Oct 01, 2012 12:01 pm
by scottwilkerson
you will likely need to zip the attachment to add it.
Re: Error while installing pre-requisites for VMware wizard
Posted: Mon Oct 01, 2012 12:16 pm
by MSPk
vmware.inc.php.zip
Think posted it successfully this time around