JBoss

Home  Previous  Next

JBoss is an open source Java EE-based application server implemented in Java. As the JBoss Application Server is 100% pure Java, it is interoperable with most operating systems that are capable of running a Java Virtual Machine (JVM); including Red Hat Enterprise Linux, SUSE Linux, Microsoft Windows, Sun Solaris, HP-UX, and others.

To monitor your JBoss AS within your PATROL environment, right-click the Monitored Application icon > KM Commands > New > Java MBean polling (JMX) and from the drop-down list, select the environment.

WIZ_JavaMBeanPolling_1JBossWelcome

Java MBean Polling Wizard (JBoss Environment) — Welcome Page

Step 1: Enter the server connection information and the additional information

WIZ_JavaMBeanPolling_2JBossConnectionInfo

Java MBean Polling Wizard (JBoss Environment) — Connection Information Page

JBoss connection information:

Host: Name of host server where the JBoss application server is installed
Port: JBoss port number. (1099 by default for JBoss 3.2.x, 4.x, 5.x, and 6.x, 9999 for JBoss 7.x). Can be modified

Additional information for JBoss  3.2.x, 4.x, and 5.x:

Initial context factory: org.jnp.interfaces.NamingContextFactory (by default). Can be modified
URL package prefixes: org.jboss.naming:org.jnp.interfaces (by default). Can be modified

Step 2: Enter the connection account credentials

WIZ_JavaMBeanPolling_3JBossCredentials

Java MBean Polling Wizard (JBoss Environment) — Connection Account Credentials Page

Connection account:
Principle: Enter the username
Credentials: Enter the password
Path to Java on the local server: Enter your java bin path and ensure that all the settings are correct. You can choose to execute additional JAR files by clicking the External JAR files button and enter the JAR files names and locations.
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

WIZ_JavaMBeanPolling_4JBossDomain

Java MBean Polling Wizard (JBoss Environment) — Domain Selection Page

1.Select the domain to monitor
2.Choose the key property selection mode. You can either choose to select a key property among a list of existing ones or type a regular expression for the key property name.
3.Click Next.

Step 4: Specify the key property

Depending on the option selected at the previous step, you will either have to select a key property among a list of existing ones or type a key property name (regular expression).

Step 5: Select the attribute

WIZ_JavaMBeanPolling_6JBossAttribute

Java MBean Polling Wizard (JBoss 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 for each attribute.

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.

WIZ_NumericValue_6Param

Java MBean Polling Wizard (JBoss Environment)  — Parameters Selection Page

Value: Reports the actual value collected upon data polling
Delta: Calculates the difference between values collected during two consecutive polling.
DeltaPerSecond: Reports the value resulting of the division of the Delta by the number of seconds elapsed between the collection times
Select the option Discard negative Delta values if you do not want negative values to be reported on the graph.
Use the Rescaling option to configure Monitoring Studio to rescale the value that is being extracted in order to have a more readable graph in the PATROL Console. The available rescaling options are:
No rescaling
Divide the value by a value that then gives you the reading in terms best suited to you
Multiply the extracted value by a constant factor
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

You arrive at the final step of the wizard that displays the object display name, ID and threshold options. For more information, refer to the section Configuring the Monitoring Studio Settings.

Click Finish. An icon for the monitored instance will appear in the Console bearing the name entered/displayed in the PATROL Label 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.

JBoss objects are instances of the SW_JMX class.


See Also

Java MBean Polling (JMX)

JOnAS

Numeric Value extraction

String Search

SW_JMX

WebLogic

WebSphere