Page 2 of 2

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Tue Oct 18, 2016 10:12 pm
by kwhogster
TGCS003 is on 10.2.8.10 host


TGKW005 is on 10.2.8.8 \host which is the new host I created and move over some of the VMs to which are all working

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Tue Oct 18, 2016 10:19 pm
by Box293
What is the output of this command on the vMA host?

Code: Select all

~/box293_check_vmware.pl --server 10.2.8.10 --check Guest_CPU_Usage --guest TGCS003

What is the output of this command on the Nagios Server?

Code: Select all

ps -ef | grep nagios.cfg | grep -v grep

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Tue Oct 18, 2016 10:30 pm
by kwhogster
Troy

From the VMA host

vi-admin@tgkw002:~> ~/box293_check_vmware.pl --server 10.2.8.10 --check Guest_CPU_Usage --guest TGCS003
UNKNOWN:Guest is powered OFF or is not accesible, cannot collect data! [Guest_CPU_Usage]
vi-admin@tgkw002:~>

That is the same on the Nagios Page I posted

The grep info


root@tgcs017:/usr/local/nagios/etc/objects# ps -ef | grep nagios.cfg | grep -v grep
nagios 18081 1 0 Oct16 ? 00:06:01 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 18089 18081 0 Oct16 ? 00:00:14 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root@tgcs017:/usr/local/nagios/etc/objects#

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Wed Oct 19, 2016 1:11 am
by Box293
The only thing I can suggest is rebooting the XI server 10.2.8.10.

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Sat Oct 22, 2016 4:23 pm
by kwhogster
Troy

That did it

After restarting the ESXi host the services came back as OK


Thanks

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Mon Oct 24, 2016 9:41 am
by dwhitfield
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Mon Oct 24, 2016 8:40 pm
by kwhogster
Yes all good

Re: UNKNOWN:Guest is powered OFF or is not accesible

Posted: Tue Oct 25, 2016 10:38 am
by dwhitfield
Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!