SNMP functionality  SNMP management console

Chapter 13: Using Systems Management

Net-SNMP master agent

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.

StepsStarting the Net-SNMP master agent on UNIX

  1. 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
    

StepsStarting the Net-SNMP master agent on Windows

  1. 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.

StepsStopping the Net-SNMP master agent on UNIX

  1. Change to the ROOT/bin directory, and enter:

    StopSybSNMP.sh
    

    You can also run this command from an MKS shell on Windows.

StepsStopping the Net-SNMP master agent on Windows

  1. Locate the process in the Task Manager, and click End Process.





Copyright © 2003. Sybase Inc. All rights reserved. SNMP management console

View this book as PDF