Page 2 of 3

Re: Nagios XI and VMware - It appears as though you have not

Posted: Tue Oct 18, 2011 10:59 am
by nscott
Markers,

I meant what happens when you actually try to execute getguests.pl?

Re: Nagios XI and VMware - It appears as though you have not

Posted: Wed Oct 19, 2011 1:14 am
by markers
It doesn't happen anything. Next line please, says the blinking vertical line, and smiles it's sorroughful smile, while blinking.

Re: Nagios XI and VMware - It appears as though you have not

Posted: Wed Oct 19, 2011 2:55 am
by markers
I am no expert on Linux, I'll freely admit that without anyone torturing me, or telling me to drink milk or else...

When I check /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts and find the following:

getguests.pl
growguest.pl
NagiosXI-VMWare.sh

the Owner of all three is nagios.

The groupowner for getguest is nagcmd [501] and owner is nagios [500].
getguest.pl is chkmoddet to 0775

The groupowner for Growguest.pl is users[100] and owner is nagios [500]-
Growguest.pl is chkmoddet to 0755

Re: Nagios XI and VMware - It appears as though you have not

Posted: Wed Oct 19, 2011 10:42 am
by nscott
So when you run ./getguests.pl nothing happens at all?

Thats strange, it should give an error of some kind.

Re: Nagios XI and VMware - It appears as though you have not

Posted: Thu Oct 20, 2011 1:33 am
by markers
if I run getguests.pls like this:

Code: Select all

[root@localhost scripts]# ./getguests.pl
I get this: /usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Class/MethodMaker/MethodMaker.so: undefined symbol: Perl_Tstack_sp_ptr

Re: Nagios XI and VMware - It appears as though you have not

Posted: Fri Oct 21, 2011 1:22 am
by markers
I guess I am forever alone in this matter...

Re: Nagios XI and VMware - It appears as though you have not

Posted: Fri Oct 21, 2011 12:12 pm
by nscott
Sorry markers, I'm not ignoring you :)

What does this return (from the command line):

perl -e "require XML::LibXML"

Re: Nagios XI and VMware - It appears as though you have not

Posted: Mon Oct 24, 2011 1:37 am
by markers
Sorry folks, it's not your fault.

But, I frigging hate mondays!

Even had the most fantastic sunday, and then boom, back to work. FFS!

Anyway, back to the problem.

I logged on via root, and pasted the following: perl -e "require XML::LibXML"
Nothing, nada happened.


been there done that thrice, but to no avail.

The dream is over what can I say.
I was the Walrus, now I'm John.

Re: Nagios XI and VMware - It appears as though you have not

Posted: Mon Oct 24, 2011 10:31 pm
by Box293
It appears that there are some problems when trying to install the SDK on the Nagios XI 2011R1.7 VM.
These steps will help you resolve these issues. I have tested these steps on a freshly deployed 2011R1.7 VM multiple times so I am confident these will fix your problems.

=====
SDK 4.x
BEFORE you execute the command ./vmware-install.pl do the following at the console/putty session:
yum install perl-XML-LibXML perl-Crypt-SSLeay perl-Class-MethodMaker
Then execute the command ./vmware-install.pl

=====
SDK 5.x
BEFORE you execute the command ./vmware-install.pl do the following at the console/putty session:
yum install perl-XML-LibXML perl-Crypt-SSLeay perl-Class-MethodMaker
export http_proxy=""
export ftp_proxy=""
Then execute the command ./vmware-install.pl as per the steps
./vmware-install.pl

You then get the message:
CPAN not able to install following Perl modules on the system. These must be
installed manually for use by vSphere CLI:

UUID 0.03 or newer

To force/complete the SDK installation type the following:
perl Makefile.PL
make install

=====

I hope this helps you 8-)

Re: Nagios XI and VMware - It appears as though you have not

Posted: Thu Oct 27, 2011 1:50 am
by markers
I am really looking forward to trying this out!!

I solemnly swear that I will report back as soon as possible with hopefully good news. So help me God!