Before you run the JMX agent, verify that the JAVA_HOME environment variable points to a JRE 1.4 installation, and that SybSNMP is running so that the agent can connect to it—see “SNMP master agent”.
Starting the JMX agent on UNIX
Change to the ROOT/bin directory, and enter:
SybAgent.sh [-F agent props] [-h] [-o log] [-v n]
Table 13-3 defines the command line options.
Option |
Description |
---|---|
-F path |
Specifies the location of the agent.props file, which contains the necesssary configuration to start the agent server. You can make a copy of agent.props, then change any of the settings; for example, to define a different class path, or to include other services. |
-h |
Prints the list of start-up options. |
-o log |
Specifies the name of the log file; the default is agent.log. |
-v n |
Writes the debugging messages identified by n to the log file identified by -o. Table 13-4 defines the possible values for n. |
Debugging level |
Generates these messages |
---|---|
0 |
FATAL |
1 |
ERROR |
2 |
WARN |
3 |
INFO |
4 |
DEBUG |
Starting the JMX agent on Windows
Change to the ROOT\bin directory, and enter:
SybAgent.bat [-F agent props] [-h] [-o log] [-v n]
where Table 13-3 defines the command line options.
Stopping the JMX agent on UNIX
Change to the ROOT/bin directory, and enter:
StopSybAgent.sh
Stopping the JMX agent on Windows
Change to the ROOT\bin directory, and enter:
StopSybAgent.bat
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |