|
JOnAs |
|
|
JOnAS is a leading edge Open Source implementation by OW2 of the Java EE specification.
To monitor your JOnAs application server within your PATROL environment, right-click the main Monitoring Studio icon > KM Commands > New > Java MBean polling (JMX). From the drop-down list, select the environment: JOnAs 4.x.
Java MBean Polling Wizard (JOnAs Environment) — Welcome Page Step 1: Enter the server connection information and the additional information
Java MBean Polling Wizard (JOnAs Environment) — Connection Information Page Host: Name of host server where the JOnAS application server is installed Port: Port number. (By default: 1099). This is linked to the protocol used. Can be modified Server name: Name given to Jonas application server Protocol: JRMP or IIOP. The protocol & the port number to be used is defined in the "carol.properties" file that can be found in %jonas_home%/conf Initial context factory: com.sun.jndi.rmi.registry.RegistryContextFactory (by default. Can be modified URL package prefixes: org.objectweb.jonas.naming (by default). Can be modified. Step 2: Enter the connection account credentials
Java MBean Polling Wizard (JOnAs Environment) — Connection Account Credentials Page Principle: Enter the username Credentials: Enter the password Path to Java on the local server: Enter your java home path and ensure that all the settings are correct. Connection timeout period: Default is set to 120 seconds; you can change this if you wish. When this timeout is reached, Monitor Studio considers the host to be unreachable and triggers an alert on the ExecutionStatus parameter. Click Next. If the credentials entered are correct, Monitoring Studio connects to the application server and presents a list of domains for you to select from. Step 3: Select the domain
Java MBean Polling Wizard (JOnAs Environment) — Domain Selection Page Select the domain to monitor and click Next. Step 4: Select the key property
Java MBean Polling Wizard (JOnAs Environment) — Key Property Page Select the key property to monitor from this domain and click Next. Step 5: Select the attribute
Java MBean Polling Wizard (JOnAs Environment) — Attribute Selection Page Select the attribute from the list and click Next. You can only select one attribute at a time. To monitor several attributes of the same key property, you are required to go through the wizard each time. Step 5a: Select parameters to collect When you select a numeric attribute (boolean, integer, number) at the previous step, an additional panel is displayed to allow you to select the parameters to collect.
Java MBean Polling Wizard (JOnAS Environment) — Parameters Selection Page
This can be useful if you extract numeric values in bytes but prefer to show a graph in megabytes. In such a case, you would divide the values by 1048576 (1024*1024). Step 6: Monitoring Studio settings
Java MBean Polling Wizard (JOnAs Environment) — Settings Page Object display name: Label displayed in the PATROL Console for this JonAS monitoring. Object internal identifier (ID): PATROL internal identifier. What thresholds do you want to set for the newly created instance? A drop-down list allows you to select the mode of setting alert thresholds:
Click Finish. An icon for the monitored instance will appear under the main Monitoring Studio icon bearing the name entered/displayed in the Object display name field; and at the next collect you will see values for the newly monitored object. You can add a string or numeric value search if you wish. JOnAS client objects are instances of the SW_JMX class. See Also |