Table of Contents Index NMS Glossary Previous Page Next Page (Page 1 of 7 in this chapter) Version


Chapter 5

Demonstration Programs


5.1 SNMP Demonstration Programs
5.2 Using the SNMP Demonstration Programs
snmpget 149
snmpnext 151
snmpset 153
snmpChassScan 155
snmpHsMon 157
snmpTrunkLog 159

5.1 SNMP Demonstration ProgramsTop of Page

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

The following demonstration programs are provided:
Program

Description

snmpget

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

snmpnext

Gets 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 CPCI chassis for traps.

snmpTrunkLog

Shows the status of digital trunks.

You must start the CT Access server with ctdaemon.exe, and initialize the system hardware with oamsys before running the SNMP demonstration programs. For versions prior to CT Access 4.0, use agmon instead of oamsys.

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

5.2 Using the SNMP Demonstration ProgramsTop of Page

All demonstration programs are run by executing 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.

A description of each demonstration program follows.



Table of Contents Index NMS Glossary Previous Page Next Page (Page 1 of 7 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.