ManageEngine® Applications Manager AddMonitor API - Web Server/Services |
||
This section explains how to use the AddMonitor API to add monitors of the category type 'Web Server/Services'. The following monitors are supported:
The parameters involved in the API request are described below. Also, refer the list of common Request Parameters.
Field | Description |
---|---|
type | The type of the monitor you want to add. Value should be Apache Server. |
host | The name of the host where the Apache server is running. |
port | The port number where the Apache server is running. |
apacheauth | Denotes whether the Apache server is authenticated. Possible values are true and false. |
apacheUserName | The user name of the Apache server. This is required only if apacheauth value is true. |
apachepassword | The password of the Apache server. This is required only if apacheauth value is true. |
sslenabled | Indicates whether SSL is enabled. The value should be either on or off |
serverstatusurl | Indicates whether the Apache Server Status url can be modified. The value should be either true or false. |
apacheurl | The Apache server status url. Example: http://<host-name:portNumber>server-status?auto |
The parameters involved in the API request are described below. Also, refer the list of common Request Parameters.
Field | Description |
---|---|
type | The type of the monitor you want to add. Value should be IIS Server. |
host | The name of the host where the IIS is running. |
port | The port number where the IIS is running. |
The parameters involved in the API request are described below. Also, refer the list of common Request Parameters.
Field | Description |
---|---|
type | The type of the monitor you want to add. Value should be PHP. |
host | The name of the host where the PHP is running. |
port | The port number where the PHP is running. |
serverpath | The path to be used for connection. The default value is /phpstats.php |
The parameters involved in the API request are described below. Also, refer the list of common Request Parameters.
Field | Description |
---|---|
type | The type of the monitor you want to add. Value should be RBM. |
rbmagentID | The ID of the RBM agent. |
timeout | The timeout value in seconds. |
scriptname | The name of the web script. |
The parameters involved in the API request are described below. Also, refer the list of common Request Parameters.
Field | Description |
---|---|
type | The type of the monitor you want to add. Value should be UrlMonitor. |
displayname | Name of the monitor to be created. |
timeout | The timeout value in seconds. |
url | The HTTP / HTTPS URL address that you want to monitor. |
urlMethod | This method specifies how to send form-data. Value should be G / P for Get and Post respectively. |
httpCondition | Error Response Code condition. Value should be LT / GT / EQ / NE / LE / GE (default GT). |
httpValue | The response code number based on which the monitor will be shown as up or down (default 200). |
requestParams | Specify the request parameters(eg., username, password) with %0A as the delimiter. |
checkForContent | Keyword for content match. |
verifyError | Keyword for error verification. |
The parameters involved in the API request are described below. Also, refer the list of common Request Parameters.
Field | Description |
---|---|
type | The type of the monitor you want to add. Value should be Web Server. |
host | The name of the host where the web server is running. |
port | The port number where the web server is running. |
AddMonitor API - Virtualization |
Downtime Scheduler Operations |