Page 1 of 1

monitoring vmware host after restore of nagiosxi

Posted: Tue Sep 18, 2018 8:16 am
by csteck
recently i have updated to version 5.5.3 on my old nagios server and then took a backup and restored this backup to a new nagios OVA. that part worked perfectly except that I was unable to monitor my vmware hosts. I have followed the instructions from the document Monitoring VMware with Nagios XI with no errors but when i open the vmware monitoring wizard i still see the error "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 have made sure the wizard file is located in the proper directory. also the vmware hosts that i already had installed from the restore are reading "(Return code of 127 is out of bounds. Check if plugin exists)" any help would be appreciated....thanks

Re: monitoring vmware host after restore of nagiosxi

Posted: Tue Sep 18, 2018 1:14 pm
by npolovenko
Hello, @csteck. Just to be 100% sure, you installed the VMware SDK and all packages as described in this tutorial?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Which SDK version did you install? 6.7?
Please rerun all the following commands to make sure you have all the right modules installed.
yum install libxml2-devel xml2
yum install libuuid-devel
yum install perl-Nagios-Plugin
cpan -i UUID
cpan -i XML::LibXML::Common
cpan -i XML::LibXML
cpan -i IO::Socket::INET6
cpan -i Nagios::Monitoring::Plugin
cpan -i YAML

Re: monitoring vmware host after restore of nagiosxi

Posted: Wed Sep 19, 2018 8:44 am
by newdawnccs
OK so what my actual issue was is that I had the wrong version of the VMware Perl SDK. it took a little bit for me to figure out how to uninstall the old version but but once i figured it out and installed the correct version everything started working. THANKS FOR ALL YOUR HELP

Re: monitoring vmware host after restore of nagiosxi

Posted: Wed Sep 19, 2018 8:54 am
by scottwilkerson
newdawnccs wrote:OK so what my actual issue was is that I had the wrong version of the VMware Perl SDK. it took a little bit for me to figure out how to uninstall the old version but but once i figured it out and installed the correct version everything started working. THANKS FOR ALL YOUR HELP
Great!

Locking thread