Select to view content in your preferred language

ArcGIS Monitor 2024.0.1 - 2 of 4 hosts not displaying CPU usage?

1415
12
Jump to solution
10-16-2024 09:32 AM
EricJohnson-HDR
Occasional Contributor

Fresh install of 2024.0.1 and have 3 hosts currently registered and the machine hosting Monitor.  2 are not getting/displaying the CPU metric.  I have removed/unregistered the one ArcGIS host and still no CPU data. All 4 hosts are reporting RAM usage.

Any thoughts?

Thanks

Edited to show proper version.

0 Kudos
1 Solution

Accepted Solutions
StevenB
Occasional Contributor

The single most important step is to add the user account that you used to install the ArcGIS Monitor Agent to the Performance Monitor Users groups. 

Click the windows start menu and type in lusrmgr.msc to open the Local Users and Groups > Groups > Performance Monitor Users and add in the domain account you used to install the monitor agent.

(My example below is using a local user account.)

Performance Monitor Group.png

I always instructor our clients to restart the ArcGIS Monitor Agent afterwards and this usually clears up most issues.

Setting the WMI cimv2 permissions and/or rebuilding the WMI repositories are only necessary as a final option.

View solution in original post

0 Kudos
12 Replies
StevenB
Occasional Contributor

Your issue sounds similar to another post.
See this Blog post with a possible solution.


I still find it necessary to perform many of the steps listed in our AGM 2023 Help when Registering Windows hosts (Making sure the pre-requisites on that page are met including the WMI cimv2 permissions).

I recommend following the workflow from AGM 2023 Help:

Remote Enable may no longer be necessary from the ArcGIS Monitor 2023 Help as we now have the Agents running locally.

FYI I've seen this issue where only Memory metrics were captured and although we followed the steps above we also needed to rebuild the WMI counters as mentioned by Andrew Sakowicz in this blog post.

EricJohnson-HDR
Occasional Contributor

Thanks I have gone through that part in adding account to the Performance Monitor users for all machines, but still not getting CPU data from one ArcGIS host.  Not worried about the Monitor host at this time. 

I can see the CPU data when running perfmon on the server that is not reporting to Monitor, so not sure if that still warrants the rebuilding of the counters?

Thanks

0 Kudos
EricJohnson-HDR
Occasional Contributor

So I made the changes to the WMI settings on the host that was not giving CPU data.  Then Monitor service would not restart on the host machine.  I ran a repair and now getting the CPU data on the one host.  

Curious as to why i only had to adjust the WMI perms on the one host?

All sorted for now, I think....  

Thanks.

0 Kudos
StevenB
Occasional Contributor

Did you also try following the steps to enable WMI cimv2 permissions on each of your hosts?


I've read that rebuilding the WMI Repository in non destructive but before performing those steps try running this command on your hosts.

You can check if the repository is damaged with the following command from the elevated Command Prompt (Start -> Search -> type "cmd" -> right-click and select Run as administrator):

winmgmt /verifyrepository

If the repository is not corrupted, a “WMI Repository is consistent” message will be returned.

More information can be found from Microsoft's Tech Community page.
WMI: Rebuilding the WMI Repository 
 

EricJohnson-HDR
Occasional Contributor

I only needed to do it on the one host, the other 2 worked after registering the agent.  The host with the drama is our oldest host, so possible there are some gremlins lurking.  Thanks.

I am adding the production boxes tonight and see if any or just the old one gives me grief again.  will report back tomorrow.

0 Kudos
EdgarWIparraguirre
Emerging Contributor

Thanks! It solved the issues I was facing. When dealing with many machines, an easy way to grant permissions to  root/cimv2 is to utilize the Set-WMINameSpaceSecurity.ps1 tool, to be found in https://github.com/grbray/PowerShell/blob/main/Windows/Set-WMINameSpaceSecurity.ps1

 

Mike_Tulis
Occasional Contributor

I got the same problem with 2 machines not reporting CPU utilization post upgrade from 2023.3.1 to 2024.0. All agents report RAM values.  I applied  WMI cimv2 permissions, and verified repositories on both machines (and server), but no luck fixing the issue.  

0 Kudos
EricJohnson-HDR
Occasional Contributor

What finally fixed it for me after setting WMI perms and added group to Performance Monitor users, was restarting the Monitor agent service on the problem machines.  

 

Hopefully that gets you sorted.

0 Kudos
StevenB
Occasional Contributor

The single most important step is to add the user account that you used to install the ArcGIS Monitor Agent to the Performance Monitor Users groups. 

Click the windows start menu and type in lusrmgr.msc to open the Local Users and Groups > Groups > Performance Monitor Users and add in the domain account you used to install the monitor agent.

(My example below is using a local user account.)

Performance Monitor Group.png

I always instructor our clients to restart the ArcGIS Monitor Agent afterwards and this usually clears up most issues.

Setting the WMI cimv2 permissions and/or rebuilding the WMI repositories are only necessary as a final option.

0 Kudos