Page 1 of 2
VMWare Wizard
Posted: Wed Mar 22, 2017 5:24 am
by garethwithers
Good Morning
We have recently tried to setup the VMWare wizard as per
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
We are trying to Monitor a guest VM on the VMware host using the vcenter details and can complete the entire wizard including selecting a guest vm without issues but once complete the only thing we see is the vcneter host address ping and none of the guest vm details.
Have played about with host and services within the ccm but nothing in there and tried to write configs again without any issues.
Any ideas where I could start to troubleshoot this?
Gareth
Re: VMWare Wizard
Posted: Wed Mar 22, 2017 12:21 pm
by mcapra
Can you share screenshots of each step of the wizard? Also the output of this command executed from the CLI of your Nagios XI machine:
Code: Select all
head /usr/local/nagiosxi/html/includes/configwizards/vmware/CHANGELOG.txt
Re: VMWare Wizard
Posted: Thu Mar 23, 2017 10:25 am
by garethwithers
Hi mcapra
Below is the output of the command:
Code: Select all
head /usr/local/nagiosxi/html/includes/configwizards/vmware/CHANGELOG.txt
1.6.9 - 07/18/2016
==================
- Detect User macros -LG
1.6.8 - 02/18/2016
==================
- Fixed jquery bug when selecting all checkboxes -LG
1.6.7 - 10/12/2015
==================
As regards the screenshots they all appear exactly as in the documentation and seem to complete successfully.
Will not get a chance until tomorrow to get these im afraid.
Regards
Gareth
Re: VMWare Wizard
Posted: Thu Mar 23, 2017 1:13 pm
by mcapra
Can you share the output of the following command:
Code: Select all
(date) && (php -r "echo gmdate('Y-m-d\TH:i:s\Z', time()) . PHP_EOL;") && (echo 'SELECT NOW();' | mysql -uroot -pnagiosxi)
Additionally, can you PM/Post a system profile? From the Nagios XI GUI, you can gather a profile via Admin -> System Profile -> Download Profile.
Re: VMWare Wizard
Posted: Fri Mar 24, 2017 6:33 am
by garethwithers
HI
Command output:
Code: Select all
Fri Mar 24 11:31:29 GMT 2017
2017-03-24T11:31:29Z
NOW()
2017-03-24 11:31:29
Profile is also attached for you.
Cheers
Re: VMWare Wizard
Posted: Fri Mar 24, 2017 2:09 pm
by lmiltchev
Can you run the following commands and show the output?
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -V
/usr/local/nagios/libexec/check_esx3.pl -H <client ip> -u <username> -p <password> -N "<Guest VM>" -l "CPU" -vvv
/usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/getguests.pl -H <client ip> -u <username> -p <password>
Re: VMWare Wizard
Posted: Mon Mar 27, 2017 3:29 am
by garethwithers
Morning
Below are the results of the commands:
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -V
check_esx3.pl 0.2.1
The other two commands fail with the wrong username and password I suspect its because the password has a $ in it and its stripping that off. I have tried using a variable (
https://assets.nagios.com/downloads/nag ... 1487346552) ie $USER11$ but still no joy.
I have done the obvious and tried to log in to the vcenter and getting access. as above when using the wizard through the GUI on setup I get the guest VM list and am able to complete the install fine just doesnt populate the checks.
Gareth
Re: VMWare Wizard
Posted: Mon Mar 27, 2017 1:29 pm
by avandemore
The other two commands fail with the wrong username and password I suspect its because the password has a $ in it and its stripping that off.
Does it work from the CLI? When run directly from the CLI, USER1 isn't involved.
Re: VMWare Wizard
Posted: Tue Mar 28, 2017 3:03 am
by garethwithers
I had read that about user not being used on the CLI so have tried using just the password but it has a $ in it and isnt taking anymore of the password which may explain why its failing but not why it works on the GUI
Re: VMWare Wizard
Posted: Tue Mar 28, 2017 1:15 pm
by avandemore
What happens if you put quotes around the password in the CLI?