Data formats
80-60100000-02
13–3
are controlled by the
ForwardTrapsToNms and ForwardTrapsToPcnc
settings in the [SNMP Link] section of PCNC.INI. If enabled, the traps
are produced irrespectively of the link from which they originated.
‘NMS’ format traps are intended for transmission to a higher-level
Network Management System (NMS), and are formatted as per the trap
definitions in the MIB file.
‘PCNC’ format traps are intended for transmission to another copy of
PCNC that has the
ReceiveTraps setting in the [SNMP Link] section of
its PCNC.INI enabled. This facility is provided for software development
and debugging purposes. See below for details of the ‘PCNC’ format.
13.2.2 Trap receipt format
PCNC can also receive alerts in SNMP traps from Cabletron devices on
a TCP/IP network. To enable this, set
ReceiveTraps=On in the [SNMP
Link] section of PCNC.INI.
These traps are generated by the hardware, and are defined by the
alertCabletronMessage trap entry in the MIB file supplied on the SNMP
extensions disk. The
alertDescription variable in this trap is a string
that is formatted in exactly the same way as alert messages received via
the Control and Remote Links. On receiving one of these traps, PCNC
extracts the alert string, and processes it exactly as it would process an
alert message received via a COM port.
13.2.3 Trap examples
Standard alert message:
00001-2: ALERT Channel status 3
‘NMS’ trap:
Enterprise:
1.3.6.1.4.1.233
Agent IP:
10.10.10.3
Generic:
6 (Enterprise Specific)
Specific:
1118
Variable Bindings:
1.3.6.1.4.1.233.1118.1: "KBU 64"
1.3.6.1.4.1.233.1118.2: 1
1.3.6.1.4.1.233.1118.3: 2
1.3.6.1.4.1.233.1118.4: "KBU in Munich, channel 2"
1.3.6.1.4.1.233.1118.5: 3