We currently have ArcGIS Monitor 2023.3.1 installed and are starting to have issues with the Monitor agent not reporting data to the server. When looking at the processes, two of the arcgis-monitor.exe processes PID change every second. we have several servers that have this issue, so not an isolated issue. I have tried restarting the agent as well as the server but neither resolve this issue. I also noticed that the agm-logs.sqlite file in the config-store-agent was over 1GB in size. cleared the data in the file and restarted the agent service but that did not make any difference.
@Pat_Gallagher Below steps can be tried to isolate if the issue is with the agent.
1) Stop the monitor agent service
2) Take a BACKUP of the config-store-agent folder present within Appdata/Local folder of the account running the agent.
3) Rename the ESRI folder stored within Appdata/Local folder of the account running the agent.
4) This will reset the agent back to default state.
5) Start the Monitor agent and launch ArcGIS Monitor agent URL in browser.
6) Reconfigure/Re-register the agent to its existing agent name.
7) Test if the agent is able to supply data to the Monitor server.
Check if the above helps. I did observe an issue where the env file within the config-store-agent got corrupted due to a restart on the server during patching.