Problem adding VMware host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
BryanWB
Posts: 2
Joined: Wed Jan 26, 2011 11:22 am

Problem adding VMware host

Post by BryanWB »

first: running nagios xi R1.3G on the Centos 5.4 VM
I have installed the vmware sdk for perl
I have an ESXi 4.0 host that I want to monitor

I had trouble adding the vmware plugin. After I initally uploaded it, the Monitoring wizard did not appear. I got around this by unzipping the vmware.zip to /usr/local/nagiosxi/html/includes/configwizards

then the vmware wizard appeared

I took the additional step of uploading the check_esx3.pl plugin separately

I am having trouble adding a VMware host w/ the VMware Monitoring wizard

this is the error output that I get

Error: Service check command 'check_esx3_host' specified in service 'CPU Usage for VMHost' for host 'HQESX01' not defined anywhere!
Error: Service check command 'check_esx3_host' specified in service 'Input / Output for VMHost' for host 'HQESX01' not defined anywhere!
Error: Service check command 'check_esx3_host' specified in service 'Memory for VMHost' for host 'HQESX01' not defined anywhere!
Error: Service check command 'check_esx3_host' specified in service 'Networking for VMHost' for host 'HQESX01' not defined anywhere!
Error: Service check command 'check_esx3_host' specified in service 'Services for VMHost' for host 'HQESX01' not defined anywhere!
Error: Service check command 'check_esx3_host' specified in service 'VM Status for VMHost' for host 'HQESX01' not defined anywhere!

when i run the cmd /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl -H my_host_name -u user -p password
I get a nice full list of guests on my esx host

Any suggestions? tks in advance
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Problem adding VMware host

Post by admin »

There should be a config file (.cfg extension) in the templates/ subdirectory where you unzipped the wizard. This file needs to get imported into Nagios. To do this:

1. Copy the file to:

/usr/local/nagios/etc/import

2. Run the following script:

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
BryanWB
Posts: 2
Joined: Wed Jan 26, 2011 11:22 am

Re: Problem adding VMware host

Post by BryanWB »

Worked great, thanks!
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Problem adding VMware host

Post by rdedon »

Thank you Bryan for the update, please feel free to contact us again if you have any issues or questions.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked