Hi
Just want to ask assistance we are encountering when windows restart, an "unknown error" in wmi is encountered after restart during the weekend. Refer attached file for the debug output.
WMI Error after Windows Restart
WMI Error after Windows Restart
You do not have the required permissions to view the files attached to this post.
Re: WMI Error after Windows Restart
Simply put, the plugin's execution timed out. The default timeout for the check_wmi_plus plugin is 15 seconds.
You could start by increasing the timeout by leveraging the -t argument. Try cranking it up to 60 seconds and see if that produces a different result:
There's also this general purpose WMI troubleshooting document with some steps:
https://support.nagios.com/kb/article/n ... g-579.html
You might also try using the FQDN (it's complicated) for the address instead of the IP address. Sometimes with AD accounts used for authentication, Windows gets fussy if you're attempting to authenticate against the IP address rather than the domain.
You could start by increasing the timeout by leveraging the -t argument. Try cranking it up to 60 seconds and see if that produces a different result:
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl -H <address> -u <username> -p <password> -t 60 -m checkcpu -dhttps://support.nagios.com/kb/article/n ... g-579.html
You might also try using the FQDN (it's complicated) for the address instead of the IP address. Sometimes with AD accounts used for authentication, Windows gets fussy if you're attempting to authenticate against the IP address rather than the domain.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: WMI Error after Windows Restart
Thanks @mcapra!
As Matt mentioned, increase the timeout settings and let us know that resolves the issue for you.
As Matt mentioned, increase the timeout settings and let us know that resolves the issue for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: WMI Error after Windows Restart
@mcapra and @benjaminsmith
Thanks for your prompt response. Since this is only encountered during weekend when the server restart we will try this and let you know.
Thank you very much.
Thanks for your prompt response. Since this is only encountered during weekend when the server restart we will try this and let you know.
Thank you very much.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: WMI Error after Windows Restart
Sounds good!brezner wrote:@mcapra and @benjaminsmith
Thanks for your prompt response. Since this is only encountered during weekend when the server restart we will try this and let you know.
Thank you very much.