VMWare Wizard
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
VMWare Wizard
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
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
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.txtFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: VMWare Wizard
Hi mcapra
Below is the output of the command:
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
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
==================
Will not get a chance until tomorrow to get these im afraid.
Regards
Gareth
Re: VMWare Wizard
Can you share the output of the following command:
Additionally, can you PM/Post a system profile? From the Nagios XI GUI, you can gather a profile via Admin -> System Profile -> Download Profile.
Code: Select all
(date) && (php -r "echo gmdate('Y-m-d\TH:i:s\Z', time()) . PHP_EOL;") && (echo 'SELECT NOW();' | mysql -uroot -pnagiosxi)Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: VMWare Wizard
HI
Command output:
Profile is also attached for you.
Cheers
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
Cheers
You do not have the required permissions to view the files attached to this post.
Re: VMWare Wizard
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>Be sure to check out our Knowledgebase for helpful articles and solutions!
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: VMWare Wizard
Morning
Below are the results of the commands:
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
Below are the results of the commands:
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -V
check_esx3.pl 0.2.1
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
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: VMWare Wizard
Does it work from the CLI? When run directly from the CLI, USER1 isn't involved.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.
Previous Nagios employee
-
garethwithers
- Posts: 22
- Joined: Tue Jan 17, 2017 6:50 am
Re: VMWare Wizard
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
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: VMWare Wizard
What happens if you put quotes around the password in the CLI?
Previous Nagios employee