Guest host VM list not showing up in VM monitoring wizzard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Guest host VM list not showing up in VM monitoring wizza

Post by Box293 »

Those errors don't seem related to your problem.

Can you try running one of the checks at the CLI?

If you don't know how to do this then give us this information:

Open Core Configuration Manager
Monitoring > Services
Find the services for mpipe01
Click the Disk icon for one of them
Post that output here in a code block.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kbackman
Posts: 17
Joined: Wed Aug 27, 2014 10:43 am

Re: Guest host VM list not showing up in VM monitoring wizza

Post by kbackman »

Running as root, I get the following:

[[email protected] libexec]$ ./check_esx3.pl -H 10.60.97.25 -f /usr/local/nagiosxi/etc/components/vmware/vcenter_mlbam_net_auth.txt -N jetty01.c01.jmweb.sony.med3.prod -l NET
ESX3 CRITICAL - Error connecting to server at 'https://10.60.97.25/sdk/webService': Perhaps host is not a vCenter or ESX server

The VM it's attempting to connect to is running Version 5.5.0 Build 1945276.
kbackman
Posts: 17
Joined: Wed Aug 27, 2014 10:43 am

Re: Guest host VM list not showing up in VM monitoring wizza

Post by kbackman »

By VM I meant Vcenter version. Was pre coffee.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Guest host VM list not showing up in VM monitoring wizza

Post by lmiltchev »

What is the correct IP of the vCenter server - 10.4.100.67 or 10.60.97.25? Are the credentials stored in the "/usr/local/nagiosxi/etc/components/vmware/vcenter_mlbam_net_auth.txt" correct? Can you actually log in with these credentials into the vCenter?
Be sure to check out our Knowledgebase for helpful articles and solutions!
kbackman
Posts: 17
Joined: Wed Aug 27, 2014 10:43 am

Re: Guest host VM list not showing up in VM monitoring wizza

Post by kbackman »

Yes the user is the same one I've been using on older versions that worked.

RIght now I'm getting these errors for CPU usage, Input/Output Memory and Networking checks. Datastore, Services and VM status checks are working.

Was working with the wrong IP, here is the check using the correct Vcenter IP:

[[email protected] libexec]$ ./check_esx3.pl -H 10.5.35.33 -f /usr/local/nagiosxi/etc/components/vmware/vcenterha_mlbam_net_auth.txt -l CPU
ESX3 CRITICAL - HOST CPU Unknown error

./check_esx3.pl -H 10.5.35.33 -f /usr/local/nagiosxi/etc/components/vmware/vcenterha_mlbam_net_auth.txt -l VMFS
ESX3 OK - storages : datastore1=130289.00 MB (99.02%), ds1=1790655.00 MB (93.90%), ds2=8896199.00 MB (93.29%) | datastore1=130289.00MB;; ds1=1790655.00MB;; ds2=8896199.00MB;;
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Guest host VM list not showing up in VM monitoring wizza

Post by lmiltchev »

Can you increase the verbosity and show us the output?

Code: Select all

./check_esx3.pl -H 10.5.35.33 -f /usr/local/nagiosxi/etc/components/vmware/vcenterha_mlbam_net_auth.txt -l CPU -vvv
Be sure to check out our Knowledgebase for helpful articles and solutions!
kbackman
Posts: 17
Joined: Wed Aug 27, 2014 10:43 am

Re: Guest host VM list not showing up in VM monitoring wizza

Post by kbackman »

Seems to output the same error:

[[email protected] libexec]$ ./check_esx3.pl -H 10.5.35.33 -f /usr/local/nagiosxi/etc/components/vmware/vcenterha_mlbam_net_auth.txt -l CPU -vvv
[extra-opts] check_esx3.pl -H 10.5.35.33 -f /usr/local/nagiosxi/etc/components/vmware/vcenterha_mlbam_net_auth.txt -l CPU -vvv
ESX3 CRITICAL - HOST CPU Unknown error
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Guest host VM list not showing up in VM monitoring wizza

Post by tgriep »

I found a newer version of the check_esx3.pl check from the developer. I did a quick test and is seems to work without needing to do any other upgrades.
Just make a backup of the old script in case it doesn't work for you.

Here is the link to it.
https://github.com/shinken-monitoring/p ... er/libexec
Be sure to check out our Knowledgebase for helpful articles and solutions!
kbackman
Posts: 17
Joined: Wed Aug 27, 2014 10:43 am

Re: Guest host VM list not showing up in VM monitoring wizza

Post by kbackman »

Awesome, thanks. I'll test it and report back with the results.
kbackman
Posts: 17
Joined: Wed Aug 27, 2014 10:43 am

Re: Guest host VM list not showing up in VM monitoring wizza

Post by kbackman »

Looks like that did the trick, thanks for all your help.
Locked