This release includes the Net-SNMP master agent, which is a public domain SNMP agent, freely obtainable from the Net-SNMP Web site. You can use your own Net-SNMP master agent if it is AgentX-enabled. The Net-SNMP master agent works with the SNMP protocols SNMPv1, SNMPv2, and SNMPv3.
If you use the Net-SNMP master agent that is included in this release, you can specify the ports it uses by supplying suitable arguments to the start-up script SybSNMP.sh or SybSNMP.bat, located in ROOT/bin. The default SNMP UDP port is 7776. The default port used by the AgentX protocol is 7777, and this is the port that the JMX agent connects to using its default configuration file.
Starting the Net-SNMP master agent on
UNIX
Change to the ROOT/bin directory, and enter:
SybSNMP.sh [-x <AgentX port] [-p <SNMP UDP port>]
You can also run this command from an MKS shell on Windows.For example:
SybSNMP.sh -x 1234 -p 161
To see more start-up options, enter:
SybSNMP.sh -h
Starting the Net-SNMP master agent on
Windows
Change to the ROOT\bin directory, and enter:
SybSNMP.bat [-x <AgentX port] [-p <SNMP UDP port>]
For example:
SybSNMP.bat -x 1234 -p 161
To see more start-up options, enter:
SybSNMP.bat -h
You can configure the Net-SNMP master agent to send SNMP traps to a number of designated trap receivers. To do this, edit the NETSNMPROOT/share/snmp/snmpd.conf file, and replace the host names and ports specified in the trapsink, trap2sink, and informsink directives.
See the Net-SNMP Web page for more information about Net-SNMP configuration.
Stopping the Net-SNMP master agent on
UNIX
Change to the ROOT/bin directory, and enter:
StopSybSNMP.sh
You can also run this command from an MKS shell on Windows.
Stopping the Net-SNMP master agent on
Windows
Locate the process in the Task Manager, and click End Process.
Copyright © 2003. Sybase Inc. All rights reserved. |
![]() |