This API allows you to edit the details of the service monitors.
By Display Name:
https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=Service Monitoring&displayname=[DISPLAYNAME]&newdisplayname=[DISPLAYNAME]&host=[SERVICEHOST]&port=[SERVICEPORT]&timeout=[TIMEOUT]&pollInterval=[pollInterval]&command=[COMMAND]&search=[SEARCH]
By Resource ID:
https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=Service Monitoring&resourceid=[RESOURCEID]&newdisplayname=[NEWDISPLAYNAME]&host=[SERVICEHOST]&port=[SERVICEPORT]&timeout=[TIMEOUT]&pollInterval=[pollInterval]&command=[COMMAND]&search=[SEARCH]
Supported HTTP methods: POST
Allowed roles: Administrator
| Field | Description |
|---|---|
| host | The hostname or IP Address of the machine on which the service is running. |
| port | The port number on which the service is running. |
| timeout | The timeout value of the monitored service, in seconds. |
| command | The command that will be executed after connecting to the port. |
| search | The string that has to be searched after executing the command |
| Other Common APIs |
https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&newdisplayname=zoho&host=servicehost&port=9090&timeout=10https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&command=GET / HTTP1.1&host=servicehost&port=9090&timeout=10https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&search=h&host=servicehost&port=9090&timeout=10https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&pollInterval=10&search=&command=GET/HTTP1.0&newdisplayname=zoho&host=servicehost&port=9090&timeout=10It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development