ERROR
Attempts to register an ArcGIS Server component with ArcGIS Monitor using ArcGIS Monitor Agent fail when running the registration script. The following error message is returned:
Error: Error: POST:/arcgis//auth/token
The error occurs if the server URL is configured incorrectly in the registration script for ArcGIS Monitor Agent. For example, in the case below, an additional slash (/) is added after arcgis in the URL, which is invalid.
https://monitorserver.domain.com:30443/arcgis/
The default URL configuration is:
https://monitorserver.domain.com:30443/arcgis
To resolve the issue, edit the registration script used for ArcGIS Monitor Agent to remove the trailing slash (/) in the server URL.
Use the following command format to register an ArcGIS Server component with ArcGIS Monitor Agent:
<Monitor Agent installation location>\arcgis-monitor-agent.exe admin:system:register --server-url https://monitorserver.domain.com:30443/arcgis --username --password
Note: Port 30443 is the default HTTPS port for ArcGIS Monitor Server.
Refer to ArcGIS Monitor: Register Windows hosts for monitoring for more information on this.
Article ID: 000038271
Get help from ArcGIS experts
Start chatting now