Select to view content in your preferred language

No data monitoring

276
4
01-14-2025 03:43 AM
VirgilioPalmi
Esri Contributor

Hello
inexplicably all the monitoring of my infrastructure has stopped.
I have performed some checks and I try to summarize below

- Monitor Server version: 2024.0.1
- Monitor agent version: 2024.0.1 on a vm updated 2024.0.2
- ArcGIS Enterprise: 11.3

from the ArcGIS Monitor home page I note no data available

VirgilioPalmi_0-1736854277821.png

So I checked how long it has been stopped, and I found out from the Retention Policy screen that it has been stopped since 11/30/24.
The DB shows no problems fortunately

VirgilioPalmi_1-1736854323990.png

In the Monitoring and Host section I find all the VMs in Critical and Connectivity anomaly (found 2 hours because I performed a server reboot to see if it resumed normal operation)

VirgilioPalmi_2-1736854510014.png

I went to check a host out of curiosity and ran some commands, it seems the agent has disconnected from the server.

VirgilioPalmi_3-1736854678271.png

I also checked the .env file in the config store folder, everything seems ok

VirgilioPalmi_5-1736854871278.png

 

on a VM I upgraded the agent, but unfortunately it did not reconnect.

What do you think it could be?
I would like to have your opinion before doing a clean install of all the agents.

ps: if I re-register, the server tells me it is already registered

Thank you

Virgilio

 

 

 

0 Kudos
4 Replies
GeoJosh
Esri Regular Contributor

Hi @VirgilioPalmi, when you are re-registering the agent, are you including the --agent-id flag? If the agent is already present in ArcGIS Monitor Server, then you need to include this flag, followed by the ID of the agent in question. You can find the agent ID by going to ArcGIS Monitor Server > Monitoring > Agents, and enabling the ID column:

GeoJosh_0-1736865987583.png

To re-register the agent, the command should look like this:

./arcgis-monitor-agent.exe admin:system:register --server-url https://agmserver:30443/arcgis --username admin --password MyPassword!1 --agent-id 2

Josh

Oiligriv
Frequent Contributor

Thanks it's working, but is there any explanation why the tracking stopped?

0 Kudos
GeoJosh
Esri Regular Contributor

Hi @Oiligriv,

Unfortunately I lack the context to know why the service stopped in the first place. A few suggestions:

  • ArcGIS Monitor Agent logs are located on the agent machine at this location by default: C:\Users\<username>\AppData\Local\ESRI\ArcGISMonitor\config-store-agent\logs\agm-logs.sqlite. You can use DB Browser for SQLite to open the logs database and see if any more detailed information was logged.
  • If this happens regularly, it might suggest a problem related to communication between agent and server. I recommend working with Esri Support in this case.
  • You can configure an alert in ArcGIS Monitor Server to let you know when an agent becomes disconnected. While not a solution to the problem, it would minimize the time that data is not being collected:

GeoJosh_0-1737034495775.png

 

Josh

WhitneyLoy
Regular Contributor

@VirgilioPalmi did you recently update the OS? I have run across this issue after updating my Monitor VM to Jan 25 windows server updates.

0 Kudos