Nagios XI and Vmware - Error why?
Nagios XI and Vmware - Error why?
Hi!
I am trying to install vmware-monitoring ( http://assets.nagios.com/downloads/nagi ... ios_XI.pdf)
I have done this:
cd /tmp
tar xzf VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl
This:
wget http://assets.nagios.com/downloads/nagi ... noarch.rpm
yum install -yq perl-Class-Accessor perl-Config-Tiny perl-Math-Calc-Units perl-Params-Validate
BUT, when I do this: rpm -Uvh perl-Nagios-Plugin-*.rpm
I get an error message: error: Failed dependencies:
perl(:MODULE_COMPAT_5.8.8) is needed by perl-Nagios-Plugin-0.33-2.noarch
How do I correct this? Please help me, Obi-Wan Kenobis out there.
Markers
I am trying to install vmware-monitoring ( http://assets.nagios.com/downloads/nagi ... ios_XI.pdf)
I have done this:
cd /tmp
tar xzf VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz
cd vmware-vsphere-cli-distrib/
./vmware-install.pl
This:
wget http://assets.nagios.com/downloads/nagi ... noarch.rpm
yum install -yq perl-Class-Accessor perl-Config-Tiny perl-Math-Calc-Units perl-Params-Validate
BUT, when I do this: rpm -Uvh perl-Nagios-Plugin-*.rpm
I get an error message: error: Failed dependencies:
perl(:MODULE_COMPAT_5.8.8) is needed by perl-Nagios-Plugin-0.33-2.noarch
How do I correct this? Please help me, Obi-Wan Kenobis out there.
Markers
Re: Nagios XI and Vmware - Error why?
Did you try running this on the command line as root?
yum install 'perl(:MODULE_COMPAT_5.8.8)'
yum install 'perl(:MODULE_COMPAT_5.8.8)'
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Nagios XI and Vmware - Error why?
THis is what I get: Short version is No package perl(:MODULE_COMPAT_5.8.8) available.
yum install 'perl(:MODULE_COMPAT_5.8.8)'
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
epel/metalink | 14 kB 00:00
* base: centos.uib.no
* epel: ftp.cc.uoc.gr
* extras: centos.uib.no
* rpmforge: apt.sw.be
* updates: centos.uib.no
base | 3.7 kB 00:00
extras | 951 B 00:00
rpmforge | 1.1 kB 00:00
updates | 3.5 kB 00:00
Setting up Install Process
No package perl(:MODULE_COMPAT_5.8.8) available.
Error: Nothing to do
You have new mail in /var/spool/mail/root
[root@localhost perl588installer]#
yum install 'perl(:MODULE_COMPAT_5.8.8)'
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
epel/metalink | 14 kB 00:00
* base: centos.uib.no
* epel: ftp.cc.uoc.gr
* extras: centos.uib.no
* rpmforge: apt.sw.be
* updates: centos.uib.no
base | 3.7 kB 00:00
extras | 951 B 00:00
rpmforge | 1.1 kB 00:00
updates | 3.5 kB 00:00
Setting up Install Process
No package perl(:MODULE_COMPAT_5.8.8) available.
Error: Nothing to do
You have new mail in /var/spool/mail/root
[root@localhost perl588installer]#
Re: Nagios XI and Vmware - Error why?
Did
All I got was a lousy t-shirt. And this:
Code: Select all
yum provides "perl(:MODULE_COMPAT_5.8.8)"All I got was a lousy t-shirt. And this:
Code: Select all
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
epel/metalink | 15 kB 00:00
* base: ftp.df.lth.se
* epel: ftp.heanet.ie
* extras: centos.copahost.com
* rpmforge: fr2.rpmfind.net
* updates: centos.copahost.com
base | 3.7 kB 00:00
base/primary_db | 3.3 MB 00:10
epel | 4.3 kB 00:00
epel/primary_db | 3.4 MB 00:10
extras | 951 B 00:00
extras/primary | 201 B 00:00
rpmforge | 1.1 kB 00:00
rpmforge/primary | 1.4 MB 00:04
rpmforge 4054/4054
updates | 3.5 kB 00:00
http://centos.copahost.com/6.0/updates/i386/repodata/3c7bb556d7691fd5467f916fd7af36d8f2410f79b0dc2984afa237a1c43af531-primary.sqlite.bz2: [Errno 12] Timeout on http://centos.copahost.com/6.0/updates/i386/repodata/3c7bb556d7691fd5467f916fd7af36d8f2410f79b0dc2984afa237a1c43af531-primary.sqlite.bz2: (28, '')
Trying other mirror.
updates/primary_db | 3.1 MB 00:07
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use "*/perl(:MODULE_COMPAT_5.8.8)" and/or "*bin/perl(:MODULE_COMPAT_5.8.8)" to get that behaviour
No Matches found
Re: Nagios XI and Vmware - Error why?
He is a swing at this, give this a shot:
yum install 'perl(Nagios::Plugin)' 'perl(Nagios::Plugin::Config)' ' perl(Nagios::Plugin::ExitResult)' 'perl(Nagios::Plugin::Functions)' 'perl(Nagios::Plugin::Getopt)' 'perl(Nagios::Plugin::Performance)' 'perl(Nagios::Plugin::Range)' 'perl(Nagios::Plugin::Threshold)' perl-Nagios-Plugin
Worth a shot: i opened up the rpm and those are the dependencies, this seems to be a CentOS 6 specific problem so once we get this sorted I can updated the docs.
yum install 'perl(Nagios::Plugin)' 'perl(Nagios::Plugin::Config)' ' perl(Nagios::Plugin::ExitResult)' 'perl(Nagios::Plugin::Functions)' 'perl(Nagios::Plugin::Getopt)' 'perl(Nagios::Plugin::Performance)' 'perl(Nagios::Plugin::Range)' 'perl(Nagios::Plugin::Threshold)' perl-Nagios-Plugin
Worth a shot: i opened up the rpm and those are the dependencies, this seems to be a CentOS 6 specific problem so once we get this sorted I can updated the docs.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Nagios XI and Vmware - Error why?
He swings.... and he misses by an inch.
Installed:
perl-Nagios-Plugin.noarch 0:0.35-2.el6.rf
When I add my vmwareserver into Nagios, I have a slight tendency to not go past step 5
I simply can't press down the next button.
Any ideas?
Thanks for the help so far. Norway loves you!
Markers
Installed:
perl-Nagios-Plugin.noarch 0:0.35-2.el6.rf
When I add my vmwareserver into Nagios, I have a slight tendency to not go past step 5
I simply can't press down the next button.
Any ideas?
Thanks for the help so far. Norway loves you!
Markers
Re: Nagios XI and Vmware - Error why?
Nah, Norway loves you not.
Trying the loving installation process again.
Gets this far:
[root@localhost ~]# rpm -Uvh perl-Nagios-Plugin-*.rpm error: Failed dependencies:
perl(:MODULE_COMPAT_5.8.8) is needed by perl-Nagios-Plugin-0.33-2.noarch
How on earth do I get this compat module to work ?
Any good advice? Reinstall, CentOS 5? Another system? Try something that don't give me a headache and severe chest pain perhaps?
Need advice
Trying the loving installation process again.
Gets this far:
[root@localhost ~]# rpm -Uvh perl-Nagios-Plugin-*.rpm error: Failed dependencies:
perl(:MODULE_COMPAT_5.8.8) is needed by perl-Nagios-Plugin-0.33-2.noarch
How on earth do I get this compat module to work ?
Any good advice? Reinstall, CentOS 5? Another system? Try something that don't give me a headache and severe chest pain perhaps?
Need advice
Re: Nagios XI and Vmware - Error why?
Alright, markers, I think I have this tracked down, the problem lies in a couple of areas. Here are the instructions I did to sucessfully get it working, once I confirm they work on your system, I will update the docs.
First things first is installing all of the stuff that the VMWare install will fail to install itself. These worked in CentOS 5, but they don't work in CentOS 6. Here is the round up:
This install EVERYTHING except the VM SDK libraries. So you won't have to run the perl-Nagios rpm that was cited in the install documentation
Secondly, make sure you have the http_proxy and ftp_proxy environment variables set BEFORE running the vmware SDK install. It will simply fail the install if they are not set, so set them:
The only way you'll know if the actual SDK install went through properly if you see the "Enjoy, --the VMware team" at the end of the install. Now all you'll have to do is install the wizard and set the permissions for the files as noted in the doc. Please note that you DO NOT have to run the Nagios-plugins RPM, as that was taken care of in the above yum install. Also, when running the yum install, take special care in ensuring that they are typed in exactly, keep an eye on the install to make sure it never says "Package not found".
First things first is installing all of the stuff that the VMWare install will fail to install itself. These worked in CentOS 5, but they don't work in CentOS 6. Here is the round up:
Code: Select all
yum install perl-Nagios-Plugin perl-XML-LibXML libuuid*Secondly, make sure you have the http_proxy and ftp_proxy environment variables set BEFORE running the vmware SDK install. It will simply fail the install if they are not set, so set them:
Code: Select all
export http_proxy=<your proxy here, if you don't have one just leave it empty>
export ftp_proxy=<your proxy here, if you don't have one just leave it empty>Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Nagios XI and Vmware - Error why?
Really!
Thanks for all the assistance in helping me out.
Do get the same error message. compat(?) 8.8.8.8 when I install.
Annoying!!!
Don't get easily annoyed, but this slightly annoying.
Thanks for all the assistance in helping me out.
Do get the same error message. compat(?) 8.8.8.8 when I install.
Annoying!!!
Don't get easily annoyed, but this slightly annoying.
Re: Nagios XI and Vmware - Error why?
Markers what command do you run to get the compatibility error?
Nicholas Scott
Former Nagios employee
Former Nagios employee