ManageEngine® Applications Manager Chapter 10.7.7 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. |
displayname | The display name of the monitor. |
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 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 - Services |
AddMonitor API - Mail Servers |