Before you run the SNMP subagent, verify that the JAVA_HOME environment variable points to a JRE 1.4 installation, and that the SNMP master agent is running so that the SNMP subagent can connect to it—see “SNMP master agent”.
You can configure the SNMP subagent to start automatically when EAServer starts, but you must ensure that the SNMP master agent starts first. To set up the SNMP subagent to start automatically, select SnmpService on the EAServer Start Components tab—see “Services tab”. The SNMP subagent is implemented by SNMPAdaptor.
To set the JMX logging level, see “Log/Trace tab”.
jmx.admin role is required to run SNMP
subagent
To start or stop the SNMP subagent, you must be a member of
the jmx.admin role. When you run the commands
to start or stop the SNMP subagent, the system prompts you to enter
your user name and password, then validates your role membership.
Change to the bin directory.
On Windows, run:
start-agent.bat [-S <host>] [-P <RMI_port>] [-h]
On UNIX, run:
start-agent.sh [-S <host>] [-P <RMI_port>] [-h]
where the command line options are:
Option |
Description |
---|---|
-S host |
Specifies the EAServer host name. |
-P RMI_port |
Specifies the RMI registry service port number. |
-h |
Prints the list of start-up options. |
Change to the bin directory.
On Windows, run:
stop-agent.bat [-S <host>] [-P <RMI_port>] [-h]
On UNIX, run:
stop-agent.sh [-S <host>] [-P <RMI_port>] [-h]