Skip to main content

Appendix C - Gateway Monitoring (Parameters and Trap)

C.1 Gateway Parameters​

The gateway supports parameters to set Throughput and Host traffic matrix measurements. The type of parameters and the parameter and data pairs are as follows:

Throughput - Type = 3

      Parm.  Description             Control Data Word
----- ----------- -----------------

1 Start/Stop 0=Stop,1=Start
2 Collection Interval Time in 1 minute
ticks

Host Traffic Matrix - Type = 4

      Parm.  Description             Control Data Word
----- ----------- -----------------

1 Start/Stop 0=Stop,1=Start
2 Collection Interval Time in 1 minute
ticks
3 HTM Switch Control Include Control
Protocols

C.2 Message Type 1: Gateway Trap​

Description

When traps occur in the gateway they are buffered. At a fixed time interval (currently 10 seconds) the gateway will send any traps that are in the buffer to the monitoring center. The traps are sent as unsolicited messages.

A Gateway trap message has the following format:

       0             0 0             1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Gateway Version # |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Size of Trap Entry | ;First Trap
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Time of Trap |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Trap ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Process ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R0 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
(continued)

Gateway Trap Message (cont'd.)

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R5 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of this Trap |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
.
.
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Additional Trap reports |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

HMP FIELDS

System Type

Gateway = 4

Message Type

Gateway Trap Message = 1

Port Number

Unused

Control Flag

Unused

Password or Returned Sequence Number

Unused

Sequence Number

A 16 bit number incremented each time a trap message is sent so that the monitoring center can order the received trap messages and detect missed messages.

GATEWAY TRAP FIELDS

Gateway Version #

The software version number of the gateway sending the trap.

Trap Reports

The remainder of the trap message consists of the trap reports. Each consists of the following fields:

  • Size of Trap Entry: The size in 16-bit words of the trap entry, not including the size field.

  • Time of Trap: The time in (in 1/60 sec. ticks) at which the trap occurred.

  • Trap ID: The number of the trap which is used to identify the trap.

  • Process ID: The identifier of the process that executed the trap.

  • R0-R6: The registers of the machine at the occurrence of the trap.

  • Count of this Trap: The number of times that this trap occurred.