ManageEngine® Applications Manager


AddMonitor API - Cloud Apps

<< Prev

Home

Next >>

AddMonitor API - Cloud Apps

 

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

Amazon

Syntax:


http://[Host]:[Port]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]
&accessKey=[ACCESSKEY]&SecretAccessKey=[SECRETACCESSKEY]&displayname=[DISPLAYNAME]

 

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 Amazon
accessKey The Access Key Id of the AWS for accessing the AWS through the API.
SecretAccessKey The secret access key of the AWS.

Sample Request:


http://prod-server2:9098/AppManager/xml/AddMonitor?apikey=4c362569ccc528be78fafdcc2317bc5c
&type=Amazon&accessKey=19879sd&SecretAccessKey=2dhsoid&displayname=amazon monitor

Top


 

Windows Azure

Syntax:


http://[Host]:[Port]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=WindowsAzure&displayname=[displayName]&SubscriptionID=[SubscriptionID]&AccountName=[AccountName]&AccountKey=[AccountKey]&Timeout=[Timeout]

 

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 WindowsAzure
SubscriptionID

Enter your Windows Azure subscription ID.

(Note: Subscription ID can be obtained by signing into windows.azure.com using your windows live id. Then click Hosted Service and navigate to Storage & CDN, then to Storage Accounts).

AccountName Enter the Account Name of your Windows Azure Storage account.
AccountKey Enter the Account key of your Windows Azure Storage account.
Timeout Specify a Timeout interval in seconds.

Sample Request:


http://prod-server2:9098/AppManager/xml/AddMonitor?apikey=f664b86118740af22c6ac7af7f86c06f&type=WindowsAzure&displayname=azure&SubscriptionID=deepak-1470&AccountName=1888&AccountKey=deepak&Timeout=30



OpenStack

Syntax:

http://[HOST]:[PORT]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=OpenStack&displayname=[DISPLAY_NAME]&baseAuthURL=[IDENTITY_URL]&tenantName=[PROJECT_NAME]&username=[USENAME]&password=[PASSWORD]&isProxyRequired=[true/false]

Request Parameters:

The parameters involved in the API request are described below. Also, refer the list of common Request Parameters.


Field Description        
apikey Applications Manager API key (To get the API Key, go to AppManager > Admin > REST API)
displayname The display name of the OpenStack monitor
type The type of the monitor you want to add. For OpenStack, it should be "OpenStack"
baseAuthURL The Base Authentication URL for OpenStack. Eg: http://controller:5000
tenantName Project Name associated with User of OpenStack account
username
Username of OpenStack account
password
Password of OpenStack account
IsProxyRequired
true/false

Sample Request:

http://prod-server2:9098/AppManager/xml/AddMonitor?apikey=37e05e898e97f63b66aec9fbd10b9d3c&type=OpenStack&displayname=OpenStack_API&baseAuthURL=http://controller:5000&tenantName=Venus&username=admin&password=Abc@123&isProxyRequired=false

Error Handling:
4601 - The Authentication URL should not be empty.
4602 - The Tenant Name should not be empty.


Top

<< Prev

Home

Next >>

AddMonitor API - Application Servers

AddMonitor API - Custom Monitors