Page 1 of 1

Nagios - Monitoring ESX servers

Posted: Wed Dec 05, 2018 2:20 pm
by stauftm
Hi all, I am new to Nagios and we are looking to purchasing this as our network monitoring system. I am monitoring about 30 servers but I'm having issues monitoring ESXi hosts

When I attempt to run the VmWare ESX wizard it tells me I need to follow some directions before I can run this wizard, below is the link.

https://library.nagios.com/library/prod ... nagios-xi/

I follow the pdf instructions but I'm getting an error at the './vmware-install.pl EULA_AGREED=yes --default' command. Below is my error:


Start of Command
#####################################################################################
[root@klnnagios vmware-vsphere-cli-distrib]# ./vmware-install.pl EULA_AGREED=yes --default
Creating a new vSphere CLI installer database using the tar4 format.

Installing vSphere CLI 6.7.0 build-8156551 for Linux.

WARNING: The http_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the http_proxy environment
variable .

If your system has direct Internet access, you can ignore this warning .

WARNING: The ftp_proxy environment variable is not set. If your system is
using a proxy for Internet access, you must set the ftp_proxy environment
variable .

If your system has direct Internet access, you can ignore this warning .

Please wait while configuring CPAN ...

Can't locate Module/Build.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
Below mentioned modules with their version needed to be installed,
these modules are available in your system but vCLI need specific
version to run properly

Module: ExtUtils::MakeMaker, Version: 6.96
Module: Module::Build, Version: 0.4205
Do you want to continue? (yes/no)

The answer "" is invalid. It must be one of "y" or "n".

Invalid default answer!
Execution aborted.

#######################################################################################
End of command

I've tried numerous troubleshooting ideas but no luck. I'm hoping someone can help me out!

Thanks,
Todd

Re: Nagios - Monitoring ESX servers

Posted: Wed Dec 05, 2018 3:09 pm
by npolovenko
Hello, @stauftm. We've had a few issues with the latest vSphere SDK 6.7. Please download the version 6.5 instead.

Re: Nagios - Monitoring ESX servers

Posted: Wed Dec 05, 2018 3:57 pm
by stauftm
Worked, thank you!

Re: Nagios - Monitoring ESX servers

Posted: Wed Dec 05, 2018 4:45 pm
by scottwilkerson
stauftm wrote:Worked, thank you!
Great!

Locking thread