Agents Administration - Tests

Default Parameters for MuleJmxMemTest This test continuously monitors the JVM heap usage of each Mule application/domain and reports the percentage of memory utilized and amount of the available free memory. This way, the test forewarns administrators on possible memory contentions before it causes Out of Memory errors which in turn can increase the CPU usage due to full garbage collection events, and turn the application unresponsive. This page depicts the default parameters that need to be configured for the MuleJmxMemTest. The TEST PERIOD list box helps the user to decide how often this test needs to be executed. To collect metrics from a Mule ESB, the eG agent monitoring that server should be configured to use JMX to connect to the JRE used by the server and pull out the metrics of interest. Specify the port at which the jmx listens for requests from remote hosts in JMX REMOTE PORT text box. Ensure that you specify the same port that you configured in the ${MULE_HOME}/conf/wrapper.conf of the target application. For more details, refer to Click here. By default, the JMX connector on the Mule ESB requires no authentication and security, in that case set the JMX USER and JMX PASSWORD parameters as none. If the JMX connector on the Mule ESB requires both authentication and security, then to enable the eG agent to use JMX, you need to configure the agent with the credentials of a user who is authorized to use JMX and has read only privileges. You can hence configure the JMX USER and JMX PASSWORD parameters with the credentials of a user with monitor role given in jmxremote.password and jmxremote.access files. To know the credentials of such a user, refer to Click here. Confirm the JMX PASSWORD you specify by retyping that password in the CONFIRM PASSWORD text box. The JNDINAME is a lookup name for connecting to the JMX connector. By default, this is jmxrmi. If you have registered the JMX connector in the RMI registry using a different lookup name, then you can change this default value to reflect the same. This test uses a JMX Provider to access the MBean attributes of the Mule ESB and collect metrics. Specify the package name of this JMX Provider in the JMX PROVIDER text box. By default, this is set to com.sun.jmx.remote.protocol. Specify the duration (in seconds) for which this test should wait for a response from the Mule ESB in the TIMEOUT text box. If there is no response from the server beyond the configured duration, the test will timeout. By default, this is set to 1000 seconds. Once the necessary values have been provided, clicking on the UPDATE button will register the changes made. 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.