VMWare Wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
garethwithers
Posts: 22
Joined: Tue Jan 17, 2017 6:50 am

VMWare Wizard

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: VMWare Wizard

Post 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
Former Nagios employee
https://www.mcapra.com/
garethwithers
Posts: 22
Joined: Tue Jan 17, 2017 6:50 am

Re: VMWare Wizard

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: VMWare Wizard

Post 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.
Former Nagios employee
https://www.mcapra.com/
garethwithers
Posts: 22
Joined: Tue Jan 17, 2017 6:50 am

Re: VMWare Wizard

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: VMWare Wizard

Post 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>
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

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: VMWare Wizard

Post 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.
Previous Nagios employee
garethwithers
Posts: 22
Joined: Tue Jan 17, 2017 6:50 am

Re: VMWare Wizard

Post 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
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: VMWare Wizard

Post by avandemore »

What happens if you put quotes around the password in the CLI?
Previous Nagios employee
Locked