ESXI Host Plugin issue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

ESXI Host Plugin issue

Post by kwhogster »

ESXI 6.7 I have 8 ESXI hosts all run same check and all but work is working now. this is the error

Host: ESXI-11
Service: ESXI Network Check
Status: CRITICAL
Last check: 03-30-2020 16:16:04
Duration: 0d 21h 26m 31s
Attempt: 3/3
Status information: (Service check timed out after 240.01 seconds)


My checks The all run the same plugin but the network check fails all other checks are working

Code: Select all

define service {
        service_description     ESXI Network Check
        host_name               hostname
        check_command           check_esx3!xxxx!xxxxxxxx!net
        initial_state           u
        max_check_attempts      3
        notification_interval   1440
        check_interval          1440
        retry_interval          3
        active_checks_enabled   1
        check_period            24x7
        servicegroups           VMWarenet
        register                1
}
define service {
        service_description     ESXI CPU Check
        host_name               hostname
        check_command           check_esx3!xxxxxx!xxxxxxxxxx!cpu
        initial_state           u
        max_check_attempts      3
        notification_interval   1440
        check_interval          1440
        retry_interval          3
        active_checks_enabled   1
        check_period            24x7
        servicegroups           VMWarecpu
        register                1
}
define service {
        service_description     ESXI VMFS Check
        host_name               hostname
        check_command           check_esx3!xxxxxxxxxxxxxxx!vmfs
        initial_state           u
        max_check_attempts      3
        notification_interval   1440
        check_interval          1440
        retry_interval          3
        active_checks_enabled   1
        check_period            24x7
        servicegroups           VMWarevmfs
        register                1
}
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: ESXI Host Plugin issue

Post by Box293 »

Sometimes I've seen issues like this and the resolution is either:
  • Disconnect / Re-connect the host in vCentre
    Restart vCentre server
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: ESXI Host Plugin issue

Post by kwhogster »

Troy,

Do you mean vcenter vcsa? or just the ESXI host in question?

I do have the same exact check on other ESXI hosts and they are fine.

Even on this host I have the same check just with different tests CPU Memory VMFS etc. they all work only the Network check does not.

Thanks

Tom

Ps is the MSW still working? will it work with 6.7 of ESXI and vCenter?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: ESXI Host Plugin issue

Post by Box293 »

I've seen cases where you need to restart the entire vcsa however normally all checks for one host do not work.

Are you seeing any errors in the vCenter or ESXi host when the check fails?

MSW should still function fine with 6.7 of ESXI and vCenter?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kwhogster
Posts: 644
Joined: Wed Oct 14, 2015 6:51 pm
Location: Wood Ridge NJ USA
Contact:

Re: ESXI Host Plugin issue

Post by kwhogster »

Troy

I am running vcenter in HA mode so I have 3 VCSA appliances

Primary
Passive
Witness

Do you know which log to review on the esxi host

Currently I removed that check for now.

They all were recently upgraded to 6.7

Need to wait for next maint window if I want to restart them.

In an HA setup I would have to shutdown all three not sure why the VCSA would effect this check.

Thanks

Tom
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: ESXI Host Plugin issue

Post by Box293 »

On the ESXi host, using the vSphere web interface navigate to Monitor > Tasks and Events . Look here to see if any errors are logged.

Other than that I'm not entirely sure, if it's just this one ESXi host and the problem is not resolved after restarting and/or disconnecting/reconnecting the host then there must be something configuration wise on the ESXi/vCenter that needs diagnosing. Sometimes it can be quicker to re-provision the ESXi server from scratch as a simple configuration mistake might take longer to track down then just a fresh install.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked