Page 1 of 1

Nagios XI and Vmware - Error why?

Posted: Wed Aug 31, 2011 2:24 am
by markers
Hi there!

Installed Nagios XI yesterday, and am still a little bit confused. Since it all went so smooth.

And usually, it doesn't happen that way. Thanks for that!

This morning, I thought I might try the Nagios XI – Monitoring VMware

Downloaded this http://communities.vmware.com/community ... e_sdk_perl and ftp'd onto my nagios xi
cd /tmp
tar xzf VMware-vSphere-SDK-for-Perl-5.0.0-422456.x86_64.tar.gz this differed from the pdf tutorial since it was a newer version.
cd vmware-vsphere-cli-distrib/
./vmware-install.pl

When I did that, I got this:


http_proxy not set. please set environment variable 'http_proxy' e.g. export
http_proxy=http://myproxy.mydomain.com:0000 .

ftp_proxy not set. please set environment variable 'ftp_proxy' e.g. export
ftp_proxy=http://myproxy.mydomain.com:0000 .

How do I correct this? I am not very good at Linux. I love it, but me not very good..
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
rpm -Uvh perl-Nagios-Plugin-*.rpm

that turned out ok. already installed and latest version.

When I do this I get file not found:

chown apache.apache /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl

When I check /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl it doesnt exist.

Can someone please guide me in the right direction?

thanks in advance!

Re: Nagios XI and Vmware - Error why?

Posted: Wed Aug 31, 2011 9:44 am
by nscott
Did you install the wizard? The wizard is what installs the getguest.pl and if you didn't install the wizard trhought web interface that file won't exist.

Re: Nagios XI and Vmware - Error why?

Posted: Mon Sep 05, 2011 4:05 am
by markers
Thanks for the help!

I feel slightly retarded right now.

Re: Nagios XI and Vmware - Error why?

Posted: Tue Sep 06, 2011 1:08 pm
by nscott
:D Don't worry about it! When inside the command line its easy to not see the forest because the trees are in the way!