Page 1 of 2

CPU/memory not working for WMI checks in windows servers

Posted: Thu Jun 07, 2018 11:12 am
by macarranza
I have setup basic monitoring for windows VM using WMI.
Eventualy the CPU/memory check stops responding and go to Unknown state.
cpu.JPG
Going into the specific check and the VM i see that the machine is not having performance issues.
cpu2.JPG
Any idea what could be causing this problem?

MC

Re: CPU/memory not working for WMI checks in windows servers

Posted: Thu Jun 07, 2018 1:52 pm
by kyang
Could you try increasing the timeout for these checks?

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

Re: CPU/memory not working for WMI checks in windows servers

Posted: Thu Jun 07, 2018 5:15 pm
by macarranza
Thanks.
Could you tell me where this setting can be changed?
MC

Re: CPU/memory not working for WMI checks in windows servers

Posted: Fri Jun 08, 2018 9:34 am
by kyang
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.
wmi.PNG
Let the checks run and then let us know if it's still timing out.

Re: CPU/memory not working for WMI checks in windows servers

Posted: Fri Jun 08, 2018 3:00 pm
by macarranza
THanks. jUST made the change. How can i test if is running? What is the default value (before the change)?
MC

Re: CPU/memory not working for WMI checks in windows servers

Posted: Fri Jun 08, 2018 3:07 pm
by kyang
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.

Re: CPU/memory not working for WMI checks in windows servers

Posted: Tue Jun 12, 2018 3:41 pm
by macarranza
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?

Re: CPU/memory not working for WMI checks in windows servers

Posted: Tue Jun 12, 2018 4:02 pm
by scottwilkerson
macarranza 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?
Configure -> CCM -> Services
Select the service to edit
make changes
Apply Configuration

Re: CPU/memory not working for WMI checks in windows servers

Posted: Wed Jun 13, 2018 5:13 pm
by macarranza
Thanks!
MC

Re: CPU/memory not working for WMI checks in windows servers

Posted: Thu Jun 14, 2018 8:49 am
by scottwilkerson
Can we mark this resolved?