Edit Telnet Monitor API


This API allows you to edit the values configured in the Telnet monitor.

Syntax

https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=Telnet&resourceid=[RESOURCEID]&newdisplayname=[NEWDISPLAYNAME]&pollInterval=[pollInterval]&host=[HOST]&port=[PORT]&timeout=[TIMEOUT]

Supported HTTP methods: POST

Allowed roles: Administrator

Request Parameters

Field Description
apikey The key generated from the Generate API Key option in the Settings tab.
newdisplayname The new display name for the monitor. HTML encoding for special characters is required (Example: HTML encoding for & is &and " is ").
host IP Address or hostname of the host in which the Telnet service to be monitored is running.
pollInterval The interval at which the server needs to be polled. The default value is 5 minutes.
port The port of the Telnet service to be monitored.
resourceid The unique resource ID which can be found from AM_ManagedObject table in the database.
timeout The timeout value, in seconds.

Example Request

  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Telnet&resourceid=12345678&newdisplayname=Telnet&pollInterval=60&timeout=30
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Telnet&resourceid=12345678&newdisplayname=Telnet&pollInterval=60&timeout=30&host=localhost
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=Telnet&resourceid=12345678&newdisplayname=Telnet&pollInterval=60&timeout=30&host=localhost&port=8080