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 |
|---|---|
|
Retrieves information about the SNMP master agent on the specified host. |
|
|
Retrieves the value of the next SNMP variable. |
|
|
Sets the value of the current SNMP variable. |
|
|
Navigates the NmsChassis MIB and displays information about the chassis and boards. |
|
|
Monitors a CompactPCI chassis for traps. |
|
|
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.