Edit Service Monitor API


This API allows you to edit the details of the service monitors.

Syntax

By Display Name:

https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=Service Monitoring&displayname=[DISPLAYNAME]&newdisplayname=[DISPLAYNAME]&pollInterval=[pollIn terval]&command=[COMMAND]&search=[SEARCH]

By Resource ID:

https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=Service Monitoring&resourceid=[RESOURCEID]&newdisplayname=[NEWDISPLAYNAME]&pollInterval=[poll Interval]&command=[COMMAND]&search=[SEARCH]

Supported HTTP methods: POST

Allowed roles: Administrator

Request Parameters

Field Description
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

Example Requests

  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&newdisplayname=zoho
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&command=GET / HTTP1.1
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&search=h
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Service Monitoring&resourceid=10000116&pollInterval=10&search=&command=GET/HTTP1.0&newdisplayname=zoho