Page 1 of 3
Problem with VMware Monitoring Wizard
Posted: Mon Jul 18, 2011 3:12 am
by srrhd
Hi,
This plugins works great to monitore the ESX and ESXi servers, but when we try to monitore a guest VM it says on the Guest Selection Tab of Step 3:
Error
It appears as though the VMware SDK has not yet been installed on your Nagios XI server. You must install the SDK before you are able to use this wizard.
The VMWare SDK has been installed, and as the monitoring of the ESX works i guess it is well installed. The required perl libraries are also installed:
- perl-Math-Calc-Units-1.07-1.el5.rf
perl-Params-Validate-0.95-1.el5.rf
perl-Nagios-Plugin-0.34-1.el5
perl-Config-Tiny-2.12-1.el5.rf
perl-Class-Accessor-0.34-1.el5.rf
Is there a known bug on this ? Have I miss something ?
Re: Problem with VMware Monitoring Wizard
Posted: Mon Jul 18, 2011 5:27 am
by Malcz86
I installed the Vmware monitoring wizard last week and have encountered the same issue. Can monitor our ESX server but get the above error when monitoring guests. Perhaps a bug?
Re: Problem with VMware Monitoring Wizard
Posted: Mon Jul 18, 2011 9:32 am
by nscott
Re: Problem with VMware Monitoring Wizard
Posted: Mon Jul 18, 2011 9:35 am
by srrhd
Re: Problem with VMware Monitoring Wizard
Posted: Mon Jul 18, 2011 9:48 am
by Malcz86
Yep first one.
Re: Problem with VMware Monitoring Wizard
Posted: Mon Jul 18, 2011 10:04 am
by nscott
I believe that Guest Tab is geared towards ESXi Servers that are actually hosting VMs. Since you are trying to monitor the Guest VM directly, it has no child VMs and thus the message. That tab is meant for VM Hosts, such has ESX servers.
Re: Problem with VMware Monitoring Wizard
Posted: Tue Jul 19, 2011 7:56 am
by srrhd
Not exactly, on the first step of the plugin, i provide the IP of the ESXi, so the host that is hosting the VMs. As VSPHERE know the status of the VMs i guess that the plugin is supposed to ask the ESXi if a specify VM is UP or not, but on the Guest Selection tab i got this error which seems to says that the SDK isn't installed so the plugin can't request the ESXi.
As the plugin finds the SDK as it succeeds to monitore the ESXi (load, memory, etc...) i don't uderstand why it prompts this.
Re: Problem with VMware Monitoring Wizard
Posted: Tue Jul 19, 2011 5:02 pm
by mguthrie
We'll do some digging on these and see what we can figure out.
Re: Problem with VMware Monitoring Wizard
Posted: Tue Jul 19, 2011 6:53 pm
by nscott
Ok guys, I found the problem, heres the quick fix, there will be and updated script/wizard on the way.
Code: Select all
chown apache.apache /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
chmod 755 /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl
Re: Problem with VMware Monitoring Wizard
Posted: Tue Jul 19, 2011 11:35 pm
by srrhd
Nicholas, your fix works ! Now the Guest Selection tab show the configured VMs and allow us to selct the ones we need to monitore.
But even if the wizard seems to work properly (i think there should be a Continue button but any appears):
Nagios XI - Guest VM.png
Any service seems to have been created.