Problem with VMware Monitoring Wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
srrhd
Posts: 131
Joined: Thu May 19, 2011 6:15 am

Problem with VMware Monitoring Wizard

Post 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 ?
Last edited by srrhd on Wed Jul 27, 2011 8:24 am, edited 4 times in total.
Configuration:
Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6
with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, Graph Explorer, Latest Alert
Malcz86
Posts: 27
Joined: Thu Mar 17, 2011 11:17 am

Re: Problem with VMware Monitoring Wizard

Post 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?
NagiosXI 2011R1.9
CentOs 5.4
32bit
VMWare Image
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Problem with VMware Monitoring Wizard

Post by nscott »

Nicholas Scott
Former Nagios employee
User avatar
srrhd
Posts: 131
Joined: Thu May 19, 2011 6:15 am

Re: Problem with VMware Monitoring Wizard

Post by srrhd »

Configuration:
Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6
with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, Graph Explorer, Latest Alert
Malcz86
Posts: 27
Joined: Thu Mar 17, 2011 11:17 am

Re: Problem with VMware Monitoring Wizard

Post by Malcz86 »

Yep first one.
NagiosXI 2011R1.9
CentOs 5.4
32bit
VMWare Image
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Problem with VMware Monitoring Wizard

Post 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.
Nicholas Scott
Former Nagios employee
User avatar
srrhd
Posts: 131
Joined: Thu May 19, 2011 6:15 am

Re: Problem with VMware Monitoring Wizard

Post 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.
Configuration:
Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6
with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, Graph Explorer, Latest Alert
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problem with VMware Monitoring Wizard

Post by mguthrie »

We'll do some digging on these and see what we can figure out.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Problem with VMware Monitoring Wizard

Post 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
Nicholas Scott
Former Nagios employee
User avatar
srrhd
Posts: 131
Joined: Thu May 19, 2011 6:15 am

Re: Problem with VMware Monitoring Wizard

Post 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.
You do not have the required permissions to view the files attached to this post.
Configuration:
Nagios XI 2014R2.5
manually upgraded on 64bits CentOS 6
with nothing extra, no gnome, no proxy, no SSL
Add-ons: Hypermap, Minemap, Ping Action, Traceroute Action, Network Replay, Graph Explorer, Latest Alert
Locked