The Fore TA processes only Fore traps signalizing an operational state change in a network component (node, module, port) monitored by INMS. Besides updating its internal MIB, Gate generates alarms containing information about the received Fore trap and forwards them to the View components in the network. The mapped Gate alarms are displayed within the View component under the alarm category "Fore".
Let us consider trap number 1093 for instance. The Prolog rule must include control structures to handle the special case of switch model ASX-4000, in which a logical node can contain more than one physical board.
trap_mapping(N, 6, 1093 /*asxFabricDown*/,
[[boardIndex, Board] = Board,
[trapLogIndex,0] = _],
Events
) :-
% if switchModel == asx4000: can't report a board alarm
% since boards not modelled -> map trap to modules
switchModel(N, asx4000),
concat_atom(['Board number ', Board, ' down or hot-swapped'], Details),
% build list of alarms for all contained modules
setof(Mod, module2board(N, Board, Mod), Modules),
setof(nodeAlarm(N, physModule(N, M), 'Major', fabricDownTrapReceived,
physModule(N, M), Details, down),
member(M, Modules), Events), !
;
% if switchModel = asx4000 -> board == node.
not switchModel(N, asx4000),
Events = [nodeAlarm(N, physNode(N), 'Critical', fabricDownTrapReceived,
physNode(N), 'Physical node down or hot-swapped', down)],
!.
Table 6 lists the mapping between relevant Fore traps and the operational state of the respective components in the INMS network element model. Table 7 lists the mapping between relevant Fore traps and Gate alarms. The Reason and EventDetails fields in the Gate alarms correspond to the reason given in Table 6.
Event (Trap Nr.) | Object | OpState | Reason |
---|---|---|---|
asxSwLinkDown (0) | physPort | down | asxSwLinkDown TrapReceived |
asxSwLinkUp (1) | physPort | up | asxSwLinkUp TrapReceived |
asxHostLinkDown (2) | physPort | down | asxHostLinkDown TrapReceived |
asxHostLinkUp (3) | physPort | up | asxHostLinkUp TrapReceived |
asxNetModuleDown (4) | physModule | down | moduleDown TrapReceived |
asxNetModuleUp (5) | physModule | up | moduleUp TrapReceived |
asxPsInputDown (6) | physModule (PS) | down | powerSupplyDown TrapReceived |
asxPsInputUp (7) | physModule (PS) | up | powerSupplyUp TrapReceived |
asxPsOutputDown (9) | physModule (PS) | down | powerSupplyDown TrapReceived |
asxPsOutputUp (10) | physModule (PS) | up | powerSupplyUp TrapReceived |
asxFanBankDown (22) | physModule (Fan) | down | fanBankDown TrapReceived |
asxFanBankUp (23) | physModule (Fan) | up | fanBankUp TrapReceived |
asxLinkDown (28) | physPort | down | asxLinkDown TrapReceived |
asxLinkUp (29) | physPort | up | asxLinkUp TrapReceived |
asxTempSensorOverTemp (32) (depends on location of temperature sensor) | 297itemize physNode (enclosure) physModule (PS) itemize | 300itemize restricted restricted itemize | overTemp TrapReceived |
asxTempSensorRegularTemp (33) (see previous trap) | 303itemize physNode (enclosure) physModule (PS) itemize | 306itemize up up itemize | regularTemp TrapReceived |
asxFabricTemperatureOverTemp (34) (mapping depends on switch type) | 309itemize physNode physModule itemize | 312itemize restricted restricted itemize | overTemp TrapReceived |
Event (Trap Nr.) | Object | OpState | Reason |
---|---|---|---|
asxFabricTemperatureRegularTemp (35) (see previous trap) | 330itemize physNode physModule itemize | 333itemize up up itemize | regularTemp TrapReceived |
asxDualScpSyncFailure (1034) | physNode | up, but send 'Warning' alarm | dualScpSyncFail TrapReceived |
asxDualScpSwitchOver (1035) | physNode | restricted | dualScpSwitchOver TrapReceived |
asxDualScpHotSwap (1036) | physNode | up, but send 'Warning' alarm | dualScpHotSwap TrapReceived |
asxPsCurrentDown (1068) | physModule (PS) | down | psCurrentDown TrapReceived |
asxPsCurrentUp (1069) | physModule (PS) | up | psCurrentUp TrapReceived |
asxPs5VoltDown (1070) | physModule (PS) | down | ps5VoltDown TrapReceived |
asxPs5VoltUp (1071) | physModule (PS) | up | ps5VoltUp TrapReceived |
asxFabricDown (1093) (mapping depends on switch type) | 336itemize physNode physModule itemize | 339itemize down down itemize | fabricDown TrapReceived |
asxFabricUp (1094) (node might have been reconfigured) | physNode | unknown | starts node_autodiscovery |
ifLinkDown (2001) | physPort | down | linkDown TrapReceived |
ifLinkUp (2002) | physPort | up | linkUp TrapReceived |
Event (Trap Nr.) | Gate trap | Severity | Object |
---|---|---|---|
asxSwLinkDown (0) | gatePportTrap | Minor | physPort |
asxSwLinkUp (1) | gatePportTrap | Normal | physPort |
asxHostLinkDown (2) | gatePportTrap | Minor | physPort |
asxHostLinkUp (3) | gatePportTrap | Normal | physPort |
asxNetModuleDown (4) | gateModuleTrap | Major | physModule |
asxNetModuleUp (5) | gateModuleTrap | Normal | physModule |
asxPsInputDown (6) | gateModuleTrap | Major | physModule (PS) |
asxPsInputUp (7) | gateModuleTrap | Normal | physModule (PS) |
asxPsOutputDown (9) | gateModuleTrap | Major | physModule (PS) |
asxPsOutputUp (10) | gateModuleTrap | Normal | physModule (PS) |
asxFanBankDown (22) | gateModuleTrap | Major | physModule (Fan) |
asxFanBankUp (23) | gateModuleTrap | Normal | physModule (Fan) |
asxLinkDown (28) | gatePportTrap | Minor | physPort |
asxLinkUp (29) | gatePportTrap | Normal | physPort |
asxTempSensorOverTemp (32) (depends on location of temperature sensor) | 357itemize gateNode Trap gateModule Trap itemize | 360itemize Minor Warning itemize | 363itemize physNode (enclosure) physModule (PS) itemize |
asxTempSensorRegularTemp (33) (see previous trap) | 366itemize gateNode Trap gateModule Trap itemize | 369itemize Normal Normal itemize | 372itemize physNode (enclosure) physModule (PS) itemize |
asxFabricTemperatureOverTemp (34) (mapping depends on switch type) | 375itemize gateNode Trap gateModule Trap itemize | 378itemize Minor Minor itemize | 381itemize physNode physModule itemize |
asxFabricTemperatureRegularTemp (35) (see previous trap) | 384itemize gateNode Trap gateModule Trap itemize | 387itemize Normal Normal itemize | 390itemize physNode physModule itemize |
asxDualScpSyncFailure (1034) | gateNodeTrap | Warning | physNode |
asxDualScpSwitchOver (1035) | gateNodeTrap | Minor | physNode |
asxDualScpHotSwap (1036) | gateNodeTrap | Warning | physNode |
asxPsCurrentDown (1068) | gateModuleTrap | Major | physModule (PS) |
asxPsCurrentUp (1069) | gateModuleTrap | Warning | physModule (PS) |
Event (Trap Nr.) | Gate trap | Severity | Object |
---|---|---|---|
asxPs5VoltDown (1070) | gateModuleTrap | Major | physModule (PS) |
asxPs5VoltUp (1071) | gateModuleTrap | Normal | physModule (PS) |
asxFabricDown (1093) (mapping depends on switch type) | 408itemize gateNode Trap gateModule Trap itemize | 411itemize Critical Major itemize | 414itemize physNode physModule itemize |
asxFabricUp (1094) (node might have been reconfigured) | TA starts node_autodiscovery | unknown | physNode |
ifLinkDown (2001) | gatePportTrap | Minor | physPort |
ifLinkUp (2002) | gatePportTrap | Normal | physPort |