WMI Error after Windows Restart

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sagesoft
Posts: 28
Joined: Wed Aug 30, 2017 10:12 pm

WMI Error after Windows Restart

Post by sagesoft »

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.
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: WMI Error after Windows Restart

Post by mcapra »

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:

Code: Select all

/usr/local/nagios/libexec/check_wmi_plus.pl -H <address> -u <username> -p <password> -t 60 -m checkcpu -d
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.
Former Nagios employee
https://www.mcapra.com/
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: WMI Error after Windows Restart

Post by benjaminsmith »

Thanks @mcapra!

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!
sagesoft
Posts: 28
Joined: Wed Aug 30, 2017 10:12 pm

Re: WMI Error after Windows Restart

Post by sagesoft »

@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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: WMI Error after Windows Restart

Post by scottwilkerson »

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.
Sounds good!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked