CPU/memory not working for WMI checks in windows servers
-
- Posts: 14
- Joined: Fri May 18, 2018 5:26 pm
CPU/memory not working for WMI checks in windows servers
I have setup basic monitoring for windows VM using WMI.
Eventualy the CPU/memory check stops responding and go to Unknown state. Going into the specific check and the VM i see that the machine is not having performance issues. Any idea what could be causing this problem?
MC
Eventualy the CPU/memory check stops responding and go to Unknown state. Going into the specific check and the VM i see that the machine is not having performance issues. Any idea what could be causing this problem?
MC
You do not have the required permissions to view the files attached to this post.
Re: CPU/memory not working for WMI checks in windows servers
Could you try increasing the timeout for these checks?
Possibly doing -t 30
Possibly doing -t 30
Code: Select all
-t TIMEOUT
specify the number of seconds before the plugin will timeout. Some WMI queries take longer than others and network links with high latency may also require you to increase this from the default value of 15
-
- Posts: 14
- Joined: Fri May 18, 2018 5:26 pm
Re: CPU/memory not working for WMI checks in windows servers
Thanks.
Could you tell me where this setting can be changed?
MC
Could you tell me where this setting can be changed?
MC
Re: CPU/memory not working for WMI checks in windows servers
You could add it into the check_wmi_plus.pl command located in --> XI Home Page--> click on Configure --> click on Core Config Manager (CCM) -->
On the left hand side click on Commands --> search for the check_xi_service_wmiplus command.
At the end of the command, you could add the -t 30 and save and then apply configuration.
Let the checks run and then let us know if it's still timing out.
On the left hand side click on Commands --> search for the check_xi_service_wmiplus command.
At the end of the command, you could add the -t 30 and save and then apply configuration.
Let the checks run and then let us know if it's still timing out.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 14
- Joined: Fri May 18, 2018 5:26 pm
Re: CPU/memory not working for WMI checks in windows servers
THanks. jUST made the change. How can i test if is running? What is the default value (before the change)?
MC
MC
Re: CPU/memory not working for WMI checks in windows servers
The default value was 15 seconds.
The way to test it, is to either force an immediate check on those CPU/memory services or just wait until XI actively checks those services.
Take a screenshot just like you did before of any changes.
The way to test it, is to either force an immediate check on those CPU/memory services or just wait until XI actively checks those services.
Take a screenshot just like you did before of any changes.
-
- Posts: 14
- Joined: Fri May 18, 2018 5:26 pm
Re: CPU/memory not working for WMI checks in windows servers
Thanks. I think it works now. I do get the error for some servers from time to time though. how do i modify an individual server?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CPU/memory not working for WMI checks in windows servers
Configure -> CCM -> Servicesmacarranza wrote:Thanks. I think it works now. I do get the error for some servers from time to time though. how do i modify an individual server?
Select the service to edit
make changes
Apply Configuration
-
- Posts: 14
- Joined: Fri May 18, 2018 5:26 pm
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CPU/memory not working for WMI checks in windows servers
Can we mark this resolved?