I have a multi-machine deployment and am attempting to register the monitor agent (2024.1.1) for the various enterprise (11.3) components. When attempting to register the agent, I am given the following error message:
[ error ] Cannot access ArcGIS Monitor agent: CLI commands require the agent to be running.
I have confirmed the agent is up and running on my portal and server machines and am able to reach the monitor server endpoint 30443/arcgis via web browser. I have also modified my pg_hba.config file to include the proper IP addresses for the various machines in my network. Any suggestions or advice is greatly appreciated.
Thank you,
Jeffrey Garcia
I have fixed this issue in the past by
#1. I granted permission to the gMSA or Domain Service account to the "C:\Program Files\ArcGIS\Monitor" folder
#2. Manually updated the file (C:\Program Files\ArcGIS\Monitor\Agent\bin\.env) to include the gMSA or Domain Service user AppData folder path.
Another issue can be Tim_White's post on pg.3 of this thread Re: Unable to Register Monitor Agent
"Powershell was missing from the PATH environment variable on that specific server"
Please also be aware of this AGM 2025.0.1 patch.
Based on where us poor souls can't even get the agent to start 😁 Monitor 2025 Agent service not starting on server
Maybe change the logging to see what comes up when the agent is started, these are @JeffMertzXcel instructions. I have just changed to the agent exe, bolded bit.
Something might appear that could help....
PS C:\Users\Administrator> cd \
PS C:\> cd esri
PS C:\esri> cd .\ArcGIS\Monitor\Server\bin\
PS C:\esri\ArcGIS\Monitor\Server\bin> $env:LOG_LEVEL='debug'
PS C:\esri\ArcGIS\Monitor\Server\bin> .\arcgis-monitor-agent.exe --serve
Also, just poking about, try running some of these to see what appears that may help....
Note, this is for a working 2024.1.1 agent,
arcgis-monitor-agent.exe -help
Hello!
I did what you suggested and these are the results:
Additionally, these are the contents of the file arcgis-monitor-agent-service.wrapper.log:
Hi Marcelo
Because the nslookup command failed, if you can try having your IT group create a Reverse DNS Lookup Zone and PTR Records for each of your servers. See if this fixes your problem.
You can test with the nslookup command and see if a PTR Record does not exists for your servers.
Hi Steven
These are the results:
Hi Marcelo
That IP does have a PTR record, is 10.0.0.4 the IP Address of the machine with the agent installed that does not have its config-store directory created?
You can run "ipconfig" in cmd prompt to confirm the ip address you can enter in the "nslookup" command.
For security purposes, don't include your FQDN's and ip addresses in the screenshots of this public forum.
Are you using a gMSA for your Monitor Agents?
Hi Steven!
Yes, 10.0.0.4 is the ip of the machine with the monitor-agent instaled:
All,
In ArcGIS Monitor 2025, we’ve identified a regression in the DNS lookup logic run in AM Server and AM Agent when they boot up. We’ve seen this manifest in certain environments with no DNS available or under certain DNS lookup/name resolution configurations.
We understand this is a critical issue and we are working on a fix to address this issue ASAP.
------------------------
@JeffGarcia - I realize you're using a different Monitor release, can you please try some of the suggestions posted by @StevenBeothy to help resolve your issue?
UPDATE:
The Monitor Dev team just finished work on the patch for BUG-000177693. It is now in final test certification and we expect it to be available by mid to late August.
The underlying cause is related to DNS resolution (e.g., nslookup command) on the network, which is assessed when the ArcGIS Monitor software loads. This can be an issue for network environments without DNS or, in some unique network configurations where these DNS resolution commands fail.
We apologize for the inconvenience and thank you for your patience.
Hope this helps,
UPDATE 2:
I've been informed by the release team that the ArcGIS Monitor 2025.0.1 patch was just published on MyEsri and is available for download now.
Hope this helps,