ManageEngine® Applications Manager


AddMonitor API - Mail Servers

<< Prev

Home

Next >>

AddMonitor API - Mail Servers

 

This section explains how to use the AddMonitor API to add monitors of the category type 'Mail Server'. The following monitors are supported:

Exchange Server

Syntax:


http://[Host]:[Port]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]&displayname=[DISPLAYNAME]
&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&version=[VERSION]

 

Request Parameters:

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 mail server you want to add. Value should be Exchange Server.
host The name of the host where the Exchange server is running.
port The port number where the Exchange server is running.
username The user name for the system in which Exchange server is running.
password The password for the system in which Exchange server is running.
version The Exchange server version. Supported versions are 2000, 2003, 2007, 2010 and 5.

Sample Request:


http://prod-server6:9090/AppManager/xml/AddMonitor?apikey=2712f158d675135e9b3d81d9efd533c0
&type=Exchange Server&displayname=apmexchange&host=emp-ex03&port=25&username=exchange\administrator&password=vembu&version=2003

Top

Mail Server

Syntax:


http://[Host]:[Port]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]&displayname=[DISPLAYNAME]
&host=[HOST]&port=[PORT]&username=[USERNAME]&password=[PASSWORD]&version=[VERSION]

 

Request Parameters:

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 Mail Server.
host The name of the host where the mail server is running.
port The SMTP port number
emailid An email id available in the mail server.
timeout The time out value in seconds.
mailMsg The message to appear in the subject of the email.

Sample Request:


http://prod-server5:9098/AppManager/xml/AddMonitor?apikey=4c362569ccc528be78fafdcc2317bc5c
&type=Mail Server&host=smtp&displayname=apmmail&port=25&emailid=myesura@zohocorp.com&timeout=15&mailMsg=Testing mail server.

Top


 

<< Prev

Home

Next >>

AddMonitor API - Java/Transaction

AddMonitor API - Middleware/Portal