Page 1 of 1

check_wmi plugin time-out

Posted: Mon Jan 06, 2014 3:57 pm
by ryan_terry
I have about 250 servers in my environment. I have about 15 hosts that use the check_wmi plugin to check service status on windows hosts. Several times a week (3-5 times) the plugin says it times out for about 2 minutes, then it responds again. I have this affects all hosts using check_wmi regardless of the user account or service being checked. I have verified that on the windows side nothing is going down, but for these brief periods it seems all WMI checks fail.

Any ideas?

Here is an example log entry:

Jan 6 09:50:31 xxxxxxxxx nagios: SERVICE ALERT: XXXXXXXXXXX;Sophos AntiVirus;UNKNOWN;SOFT;1;UNKNOWN - Plugin Timed out

Re: check_wmi plugin time-out

Posted: Mon Jan 06, 2014 4:04 pm
by slansing
This is to all of those WMI checked servers? Does anything happen with your active checks to these hosts such as a Host ping check?

Re: check_wmi plugin time-out

Posted: Mon Jan 06, 2014 4:39 pm
by ryan_terry
Correct, all WMI checks fail, but other checks such as ping are just fine. It happens to every host that has the check_wmi plugin configured.

Re: check_wmi plugin time-out

Posted: Mon Jan 06, 2014 5:25 pm
by sreinhardt
What level of access does your user account have that is performing these checks? Also if you are using a domain account you might need to use / instead of \, its a perl thing.

Re: check_wmi plugin time-out

Posted: Tue Jan 07, 2014 11:33 am
by ryan_terry
Administrator accounts. One is a domain accoutn and one is a local account. They work 99% of the time, just have spots a few times a week where they stop. Both accounts stop at the same time, regardless if they are local accounts or domain accounts.

Re: check_wmi plugin time-out

Posted: Tue Jan 07, 2014 11:52 am
by sreinhardt
OK so its an intermittent issue, that normally works fine. What timeout do you presently have set for those checks? It might help to share a password\user\hostname censored service and command definition.

Re: check_wmi plugin time-out

Posted: Tue Jan 07, 2014 11:52 am
by tmcdonald
Is there any pattern to the timeouts? A certain day of the week or hour of the day?