Nagios xi and VMware - It appears as though you have not ins

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

Nagios xi and VMware - It appears as though you have not ins

Post by markers »

Nope. I have officially given up following this Image And getting it to work.

I have tried converting the vmware image, booting up from vmware, but still get the "slightly" annoying Error: "It appears as though you have not installed the VMware SDK or ESX plugins on your Nagios xi server. You must have these components properly installed on your system before using this wizard. "

I convert, boot up from vmware.

The process is simple (it's simple yes, it's only the problem that it doesn't work)
1. export http_proxy and export ftp_proxy
2. install wizard in web gui
3. chown nagios.nagcmd /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
4. chmod 775 /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
5. tar xzf VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz
I use the exact same version that exists in the manual.
6. cd vmware-vsphere-cli-distrib/ and ./vmware-install.pl
7. You must read and accept the vSphere CLI End User License Agreement to
continue. Press enter to display it. I press Yes, and get a polite thank you
8: The file /usr/lib/perl5/Compress/Zlib.pm that this program was about to install
already exists. Overwrite? [yes]

The file /usr/lib/perl5/auto/Compress/Zlib/autosplit.ix that this program was
about to install already exists. Overwrite? [yes]
9. In which directory do you want to install the executable files?
[/usr/bin]
10. I get this

Code: Select all

The installation of vSphere CLI 4.0.0 build-161974 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/usr/bin/vmware-uninstall-vSphere-CLI.pl".

This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.

Enjoy,

--the VMware team
11. Since I already have installed the vmware monitoring wizard, I try to add vmware:
Error: It appears as though you have not installed the VMware SDK or ESX plugins on your Nagios xi server. You must have these components properly installed on your system before using this wizard.

I hope someone have something smart to do before I take my virtual Nagios xi server and toss it out of the window so to speak.
Just kidding, I will only remove and delete.

Have a nice weekend everyone! suggestions would be most welcome, because I am totally stuck as it is.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

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

Post by nscott »

Markers,

I think I might see an issue. You installed the x64 vSphere API. The image we distribute is 32bit. Can you uninstall the vmware CLI stuff using vmware-uninstall-tools, then download the i386 tarball and do the install with that.
Nicholas Scott
Former Nagios employee
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

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

Post by markers »

I agree, and will try ( again) another option. I've tried 5.0 and some other versions as well.

The reason you see tar xzf VMware-vSphere-SDK-for-Perl-4.0.0-161974.x86_64.tar.gz is that it's the exact version it says to use in the manual for monitoring VMware with Nagios xi.

I was hoping that if I used the exact same version, it might actually work.
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

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

Post by markers »

Why do I get this? When following the manual to the letter..

The file /usr/lib/perl5/IO/Compress/Zip/Constants.pm that this program was
about to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/RawDeflate.pm that this program was about
to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Gzip/Constants.pm that this program was
about to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Deflate.pm that this program was about to
install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Adapter/Identity.pm that this program was
about to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Adapter/Deflate.pm that this program was
about to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Gzip.pm that this program was about to
install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Zlib/Extra.pm that this program was about
to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Zlib/Constants.pm that this program was
about to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Compress/Zip.pm that this program was about to
install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Uncompress/Inflate.pm that this program was about to
install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Uncompress/Gunzip.pm that this program was about to
install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Uncompress/Adapter/Inflate.pm that this program was
about to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Uncompress/Adapter/Identity.pm that this program was
about to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Uncompress/RawInflate.pm that this program was about
to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Uncompress/AnyInflate.pm that this program was about
to install already exists. Overwrite? [yes] n

The file /usr/lib/perl5/IO/Uncompress/Unzip.pm that this program was about to
install already exists. Overwrite? [yes] n

nIn which directory do you want to install the executable files?
[/usr/bin]
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

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

Post by nscott »

Its asking if you want to overwrite that stuff, since you did install some of the perl modules before, when installing the SDK before, these would not be 64 bit dependent, however I'd bet the VMware installer actually does some compililation, which will be architecture dependent, so I would go ahead and overwrite all those that they asked to overwrite.

Also, I added a larger warning to others about which tar to download.
Nicholas Scott
Former Nagios employee
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

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

Post by markers »

I have tried overwriting the files, not overwriting the files.
I have tried using X86 architecture, X64. I have tried version 4.00xxxxx 5.0xxxxxxx
I have tried using Nagios virtual image, installing Nagios from scratch from Centos 6, CentOS 5.7
I have tried to convert to vmware,
I have converted to vmware from microsoft image.

I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I've watched C-beams glitter in the dark near the Tannhauser Gate. All those moments will be lost in time, like tears in rain. Time to die.

Don't know what I do wrong, but it sure ain't working. Sad to say that's one of the most important parts of Nagios xi. Love the way you have made things work together. Nice, neat, tidy, beautiful, great .

But, I can't really sell in a system that don't function with VMware... It's almost better then to stay as we are, use the systems we already have.

-markers-
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

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

Post by nscott »

Markers,

Your posts are always a treat to read but I am completely flabbergasted as to why its not working. What version of ESX are you monitoring?
Nicholas Scott
Former Nagios employee
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

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

Post by markers »

At the moment I am not monitoring any version of ESX ;)

How much would would a wood chuck chuck, if a wood chuck could chuck wood?

BUT, I would love to monitor a few ESxi 4.1.0 servers. I dream about it every night.

Thanks for all your patience :-) Or should I say thanks for my patience?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

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

Post by nscott »

:) , fair enough.

What is the error you get when you run the getguests.pl?
Nicholas Scott
Former Nagios employee
markers
Posts: 58
Joined: Wed Aug 31, 2011 2:12 am

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

Post by markers »

When I Run the following commands
3. chown nagios.nagcmd /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
4. chmod 775 /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl

I don't get a single response. Next line please!.

This will be the last message from me until next week. I am very sad to inform you that I will go on a little holiday to a sunny and warm island for the weekend, The British Isles.

Hasta la vista, babies!