Schedule demo

Edit URL Monitor API


This API allows you to edit the values configured in the URL Monitors.

Syntax

https://[HOST]:[PORT]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=UrlMonitor&resourceid=[RESOURCEID]

Supported HTTP method: POST

Allowed roles: Administrator

Request Parameters

FieldDescription
apikeyThe Applications Manager key generated in the Settings -> REST API tab.
resourceIDThe resourceid of the URL monitor that you are going to edit.
displaynameThe display name of the HTTP-URL monitor.
urlThe HTTP/HTTPS URL address that you want to monitor.
checkForContentThe keyword for content matching. The URL monitoring searches the keyword in the content of the URL page to check the availability of the URL. This field is optional.
errorIfMatch

The keyword which when matches with the content in the URL must be notified of error .

Note: The search is case sensitive. Multiple keywords should be put within quotes. Otherwise, it will be treated as 'Any' one of the multiple keywords.
httpCondition

The condition/criteria of the Response Code with respect to the httpValue at which error should be notified. Possible values are:

  • LT - Lesser than httpValue
  • GT - Greater than httpValue
  • EQ - Equal to httpValue
  • NE - Not equal to httpValue
  • LE - Lesser than or Equal to
  • GE - Greater than or Equal to
httpValueThe threshold value with respect to which the httpCondition should be met.
pollIntervalThe polling interval for which Applications Manager updates the status of the monitor, in minutes.
requestParamsThe request parameters. For example, if you want to monitor a URL like http://appmanager:9090/showresource.do?haid=1&type=UrlMonitor&method=getMonitorForm, then provide "?haid=1&type=UrlMonitor&method=getMonitorForm" as request parameter.
timeoutThe timeout value of the monitored URL, in seconds.
urlMethod

Choose between the Post and Get method, which are the two types of Form method for any HTTP/HTTPS URL. Possible values are:

  • P - Post
  • G - Get
usernameThe username of the URL if it requires Basic/NTLM authentication.
passwordThe password of the URL if it requires Basic/NTLM authentication.
verifyError

Specify if want the monitor to immediately be scheduled to run again for verification, when an error is detected. Possible values are:

  • true - Verify the error.
  • false - Do not verify the error.
payloadSpecify the payload type for the POST form submission method using the following options: (F)ORM, (T)ext, (X)ML, (J)SON. Please use the corresponding values: F for Form, T for Text, X for XML, and J for JSON.
checkForContentThe content to be searched while performing the content check in the URL response.
Other Common APIs 

Sample Requests

  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=UrlMonitor&resourceid=10000657
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=UrlMonitor&displayname=APM-URL-Monitor
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=UrlMonitor&url= http://www.zohocorp.com
  • https://apm-prod-server:8443/AppManager/xml/EditMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&type=UrlMonitor&displayname=APM-URL-Monitor&httpCondition=GT&httpValue=200

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It 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

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally