ManageEngine® Applications Manager


Chapter 10.7.3 AddMonitor API - Java/Transaction

<< Prev

Home

Next >>

 

AddMonitor API - Java/Transaction

 

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

Java Runtime

Syntax:


http://[Host]:[Port]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]
&host=[HOST]&port=[PORT]&jndiurl=[JNDIURL]

 

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 Java Runtime.
host The name of the host where the monitor is running.
port The port number where the Java Runtime monitor is running.
jndiurl The JNDI name. The default value is jmxrmi.

Sample Request:


http://op-server5:9090/AppManager/xml/AddMonitor?apikey=4df5040d6db873dcdaf4359b259fd494
&type=Java Runtime&host=myesuraj&port=1099&jndiurl=/jmxrmi

Top

J2EE Web Transactions

Syntax:


http://[Host]:[Port]/AppManager/xml/AddMonitor?apikey=[APIKEY]&type=[TYPE]
&host=[HOST]&port=[PORT]&jndiurl=[JNDIURL]

 

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 J2EE Web Transactions
host The name of the host where the monitor is running.
port The port number where the J2EE Web Transaction monitor is running.

Sample Request:


http://prod-server4:9090/AppManager/xml/AddMonitor?apikey=90c166a4646e29315a57eca1d6b88858
&type=J2EE Web Transactions&host=app-xp2&port=55555

Top


<< Prev

Home

Next >>

AddMonitor API - ERP

AddMonitor API - Servers