# snmpHsMon

Demonstrates how to monitor a CompactPCI chassis, including how to receive traps when board status changes and how to remotely insert or extract a board.

#### Usage

snmpHsMon address

where:

Parameter | Description
--- | ---
address | Address or DNS name of a local or remote host running the SNMP agent about which to return information.

snmpHsMon is similar to the hsmon utility. For more information, see the NMS OAM System User's Manual.

#### Procedure

Complete the following steps to run snmpHsMon:

Step | Action
1 | From the command line, navigate to the \nms\ctaccess\demos\snmp\snmphsmon directory (or the /opt/nms/ctaccess/demos/snmp/snmphsmon directory under UNIX).
2 | Enter the following command: snmpHsMon

The following example shows how to run snmpHsMon:

>snmpHsMon.exe 10.1.20.46
SNMP Demonstration and Test Program V.3.0 Nov 15 1999
NMS Communications Corporation.
h Help r Refresh i<N> Insert e<N> Extract Q Quit
SEND A REQUEST FOR SYSTEM INFO TO: 10.1.20.46
System information:
System: Hardware: x86 Family 5 Model 4 Stepping 3 AT/AT COMPATIBLE - Software: Windows 2000
SysUpTime: 1 day 1:34:44.93
SysContact: Joe kILROY
Computer name: KILROY
Location: NMS
SEND A REQUEST FOR NMS BOARDS TO: 10.1.20.46
PCI bus
Board 0: AG_4040C_1TE Segment:1 Slot:10 Status:OffLine
Board 1: AG_4040C_2TE Segment:1 Slot:11 Status:OffLine
Board 3: AG_4040C_2TE Segment:1 Slot:15 Status:OffLine
Board 2: CG_6000C Segment:1 Slot:13 Status:OffLine
>
< 00:20:24 3 Board OnLinePending
< 00:20:24 1 Board OnLinePending
< 00:20:24 3 Board OnLine
< 00:20:24 1 Board OnLine
< 00:20:24 0 Board OnLinePending
< 00:20:24 0 Board OnLine
< 00:20:24 2 Board OnLinePending
< 00:20:24 1 Board OffLinePending
< 00:20:24 1 Board OffLine
< 00:20:24 2 Board OnLine
< 00:20:24 3 Board OffLinePending
< 00:20:24 3 Board OffLine
< 00:20:24 0 Board OffLinePending
< 00:20:24 0 Board OffLine
>q