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
check_wmi plugin time-out
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_wmi plugin time-out
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?
-
ryan_terry
- Posts: 4
- Joined: Mon Jan 06, 2014 1:05 pm
Re: check_wmi plugin time-out
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_wmi plugin time-out
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
ryan_terry
- Posts: 4
- Joined: Mon Jan 06, 2014 1:05 pm
Re: check_wmi plugin time-out
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_wmi plugin time-out
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: check_wmi plugin time-out
Is there any pattern to the timeouts? A certain day of the week or hour of the day?
Former Nagios employee