State Manager Process Test

The State manager process is responsible for computing the current state of layers, tests, measures, and infrastructure elements (such as components, services, segments, zones, etc.), based on the metrics reported by the eG agent. Also, if agents are not able to run tests or report metrics, it is the responsibility of the State manager process to change the state of the 'entity' to Unknown and send Unknown mail alerts, if configured.  This test indicates whether/not the state manager process is overloaded by reporting how busy it is and its current queue size.

Target of the test : The eG Manager

Agent deploying the test : An internal/remote agent

Outputs of the test : One set of results for the eG manager being monitored.

Configurable parameters for the test
Parameter Description

Test period

How often should the test be executed .


The host for which the test is to be configured.


The port number at which the specified host listens.

JMX Remote Port

Here, specify the port at which the JMX listens for requests from remote hosts. In the <EG_MANAGER_INSTALL_DIR>\manager directory (on Windows; on Unix, this will be the /opt/egurkha/manager directory) of the eG manager, you will find a file. Set the port defined against the parameter of the file as the JMX Remote Port.

User, Password, and Confirm Password

By default, JMX requires no authentication or security. Therefore, the User, Password , and Confirm Password parameters are set to none by default.


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.

JMX Provider

This test uses a JMX Provider to access the MBean attributes of the eG manager and collect metrics. Specify the package name of this JMX Provider here. 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 eG manager. If there is no response from the eG manager beyond the configured duration, the test will timeout. By default, this is set to 240 seconds.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Statemanager queue

Indicates the current queue size of the state manager process.


A high value indicates that too many requests to the state manager are pending processing. A gradual, but consistent increase in the value of this measure could indicate a processing bottleneck.

Statemanager busy percent

Indicates how busy the state manager is currently.



A value close to 100% indicates that the state manager is too busy now, and may not have the bandwidth to attend to subsequent state requests. If the value of this measure remains high or consistently climbs up, it indicates that the state manager process is being overloaded.