cwscribner,
Lets see if its an issue with wizard by bypassing it altogether. Can you go to nagios/libexec and run this:
./check_esx3.pl -H <ESX host> -u <user> -p <password> -l CPU
Does that return good status or does it say the SDK isn't installed properly? If this fails then we'll go back and take a closer look at the Perl modules/SDK install, otherwise we'll go the other direction and have a closer look at the wizard/configurations.
Trouble monitoring VMWare
Re: Trouble monitoring VMWare
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Trouble monitoring VMWare
Per lmiltchev's request:
Command execution:
On VMWare server
On VMWare guest
Just to refresh memory on the thread. I'm looking to see if a lack of login permissions will cause the SDK error in the wizard.
Code: Select all
-rwxrwxr-x 1 nagios nagcmd 5187 Sep 27 14:18 getguests.pl
-rw-r----- 1 nagios nagios 5187 Sep 27 14:18 growguest.pl
-rw-r----- 1 nagios nagios 2033 Sep 27 14:18 NagiosXI-VMWare.sh
On VMWare server
Code: Select all
ESX3 CRITICAL - Error: Cannot complete login due to an incorrect user name or password.
Code: Select all
ESX3 CRITICAL - Server version unavailable at 'https://172.22.X.XXX:443/sdk/vimService.wsdl' at /usr/lib/perl5/5.8.8/VMware/VICommon.pm line 545.
Re: Trouble monitoring VMWare
I'm assuming it would cause a problem. Have you tried it with a username and pw with login permissions?
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Trouble monitoring VMWare
I haven't yet. I'm waiting to hear back from my contact on getting the proper permissions added. I'll update when that's cleared up.
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Trouble monitoring VMWare
This is still an outstanding problem...unfortunately.
I managed to get the vCenter server monitored, but I can't get any of the other servers monitored. The vCenter admin set up the domain account in vCenter with admin privileges. Any thoughts on where to go next?
P.S. I think there's a bug in either the check_esx3 plugin or the vmware wizard. When addinf a vmware device through the wizard, the resulting auth.txt file contains the input user in both the username and password fields. i.e. username=nagios password=nagios instead of username=nagios password=password
I managed to get the vCenter server monitored, but I can't get any of the other servers monitored. The vCenter admin set up the domain account in vCenter with admin privileges. Any thoughts on where to go next?
P.S. I think there's a bug in either the check_esx3 plugin or the vmware wizard. When addinf a vmware device through the wizard, the resulting auth.txt file contains the input user in both the username and password fields. i.e. username=nagios password=nagios instead of username=nagios password=password
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Trouble monitoring VMWare
Yes there was, found it in the wizard. Thanks for pointing it out.cwscribner wrote:P.S. I think there's a bug in either the check_esx3 plugin or the vmware wizard. When addinf a vmware device through the wizard, the resulting auth.txt file contains the input user in both the username and password fields. i.e. username=nagios password=nagios instead of username=nagios password=password
Updated wizard can be downloaded here
http://exchange.nagios.org/directory/Ad ... rd/details