Using SNMP demonstration programs

The SNMP demonstration programs show how to use the NMS MIBs to provide information to a network administrator and how to get and set SNMP variables.

To run the demonstration programs, execute the program from the command line. Each demonstration program resides in its own directory under \nms\ctaccess\demos\snmp (or the /opt/nms/ctaccess/demos/snmp directory under UNIX), along with the source code and makefile.

The following demonstration programs are provided:

Program

Description

snmpGet

Retrieves information about the SNMP master agent on the specified host.

snmpNext

Retrieves the value of the next SNMP variable.

snmpSet

Sets the value of the current SNMP variable.

snmpChassScan

Navigates the NmsChassis MIB and displays information about the chassis and boards.

snmpHsMon

Monitors a CompactPCI chassis for traps.

snmpTrunkLog

Shows the status of digital trunks.

Start the Natural Access server with ctdaemon.exe and initialize the system hardware with oamsys before running the SNMP demonstration programs.

Note: snmpHsMon is the only demonstration program that supports board insertion and extraction.