|
Default Parameters for JbEjbTest
The JbEjbTest monitors the EJBs deployed on the JBoss server. This page depicts the default
parameters that need to be configured for the JbEjbTest. If the JBoss server hosts a large number of EJBs, then managing the individual EJB would be quiet a challenge. Therefore, to enable administrators to manage EJBs easily, the eG system allows the configuration of EJB groups. The eG agent executing this test will then, by default, report measures for every group that is configured. To configure EJB groups, click on the Click here hyperlink in this page.
The default parameters associated with this test are as follows:
- The TEST PERIOD list box helps the user to decide how often this test needs to be executed.
This test can extract metrics from JBoss using either of the following mechanisms:
- By deploying the EgJBossAgent.sar and egjboss.war files on the target JBoss server;
- By contacting the Java runtime (JRE) of JBoss via JMX
To configure the test to use EgJBossAgent.sarand egjboss.war files, first, set the MEASUREMENT MODE to War File. Then, refer to the Configuring and Monitoring Application Servers document to know how to deploy these files on the target JBoss server.
On the other hand, if you want the test to use JMX instead, then first, select the JMX option. Then, follow the procedure detailed in the Configuring and Monitoring Application Servers document to configure the test to use JMX. By default, the JMX option is chosen here.
-
The JNDINAME parameter appears only if the MEASUREMENT MODE is set to JMX. The JNDINAME is a lookup name for connecting to the JMX connector. By default, this is jmxrmi. If you have resgistered the JMX connector in the RMI registery using a different lookup name, then you can change this default value to reflect the same.
The JMX REMOTE PORT parameter appers only if the MEASUREMENT MODE is set to JMX. Here, specify the port at which the JMX listens for requests from remote hosts. Ensure that you specify the same port that you configured in the catalina.sh (or catalina.bat file) file in the <CATALINA_HOME_DIR>/bin folder of the target JBoss server (refer to the Configuring and Monitoring Application Servers document for more details).
-
The JMX USER, JMX PASSWORD, and CONFIRM PASSWORD parameters appear only if the MEASUREMENT MODE is set to JMX. If JMX requires authentication only (but no security), then ensure that the JMX USER has the credentials of a user with read-write access to JMX. To know how to create this user, refer to the Configuring and Monitoring Application Servers document.
-
The URL parameter appears only if the MEASUREMENT MODE is set to War File. Specify the URL to be accessed to collect metrics pertaining to the JBoss server. By default, this test connects to a managed JBoss server and attempts to obtain the metrics of interest by accessing the local Mbeans of the server. Accordingly, by default, this parameter is set to http://<JBossServerIP>:<JbossServerPort>.
When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz” and $port will be changed to “80” when configuring a test.
|