1-- *****************************************************************
2-- Alarm MIB
3-- *****************************************************************
4
5SL-ALARM-MIB DEFINITIONS ::= BEGIN
6
7IMPORTS
8	MODULE-IDENTITY, OBJECT-TYPE,
9	NOTIFICATION-TYPE 			     	FROM SNMPv2-SMI
10	TEXTUAL-CONVENTION, DisplayString,
11	TruthValue, TimeStamp				FROM SNMPv2-TC
12	MODULE-COMPLIANCE, OBJECT-GROUP,
13	NOTIFICATION-GROUP                  FROM SNMPv2-CONF
14	InterfaceIndex		               	FROM IF-MIB
15	PerfCurrentCount, PerfIntervalCount,
16	PerfTotalCount                      FROM PerfHist-TC-MIB
17    slMain,slmTrapLogId				    FROM SL-MAIN-MIB;
18
19slAlarmMib MODULE-IDENTITY
20	LAST-UPDATED "0008280000Z"
21	ORGANIZATION "Smartoptics"
22	CONTACT-INFO
23		"D.Lutz@Smartoptics.com"
24	DESCRIPTION
25		"This MIB module describes the ALARMS."
26	::= { slMain 20 }
27
28SlAlarmType ::= TEXTUAL-CONVENTION
29       STATUS       current
30       DESCRIPTION
31       "The Alarms Types."
32       SYNTAX       INTEGER {
33-- SONET/SDH alarms
34            losSonetAlarm(1),   		-- Loss Of Signal (S)
35            lofSonetAlarm(2),   		-- Loss Of Frame (S)
36            lopSonetAlarm(3),   		-- Loss Of Pointer (P)
37            aisLineSonetAlarm(4),   	-- Alarm Indication Signal (L)
38            rfiLineSonetAlarm(5),   	-- Remote Failure Indication (L)
39            uneqSonetAlarm(6),  		-- Unequipped (P)
40            timLine(7),             	-- Trace Indication Mismatch (S)
41            slm(8),             		-- Signal Label Mismatch (P) - Defect
42			sd(9),              		-- Signal Degrade (SDH only)
43			sf(10),             		-- Signal Fail (SDH only)
44			hwfail(11),          		-- HW Fail
45            aisPathSonetAlarm(12),   	-- Alarm Indication Signal (P)
46            rfiPathSonetAlarm(13),   	-- Remote Failure Indication (P)
47            timPath(14),             	-- Trace Indication Mismatch (P)
48			uplinkTransmitMismatch(15), -- Transceiver mismatch or removed (deprecated)
49			uplinkClockSourceLol(16), 	-- Clock Source Loss of lock
50			aisVtSonetAlarm(21),		-- Alarm Indication Signal (V)
51			lopVtSonetAlarm(22),		-- Loss Of Pointer (V)
52			rfiVtSonetAlarm(23),		-- Remote Failure Indication (V)
53			timVt(24),					-- Trace Indication Mismatch (V)
54			slmVt(25),					-- Signal Label Mismatch (V)
55			uneqVtSonetAlarm(26),		-- Unequipped (V)
56			lomVt(27),					-- Loss of Multiframe (V)
57
58-- GFP/VCG alarms
59			vcgFarLossClientSignal(101),-- Far-end Loss of Client Signal
60			vcgFarLossClientSync(102),  -- Far-end Loss of Client Sync
61			vcgLossAlignment(103),		-- VCG Loss of Alignment
62			vcgLossMultiframe(104),		-- VCG Loss of Multiframe
63			vcgLossSequence(105), 		-- VCG Loss of Sequence
64			vcgGfpLossSync(106),   		-- GFP framer Loss of Sync
65			vcgFarGfpLossSync(107),   	-- Far-end GFP Loss of Sync
66			vcgBadGidMember(108), 		-- Bad GID of a VCAT member
67
68-- Provisioning alarms
69			provUnequipped(151),		-- Unprovisioned service
70			provMismatch(152),  		-- Mismatch provisioning
71
72-- Ethernet alarms
73			ethConfigTransmitFault(201),-- Optical GbE transceiver transmit fault (deprecated)
74			ethConfigLossOfSignal(202), -- Optical GbE transceiver signal detect failed
75			ethConfigLinkFail(203),     -- Mac Layer Link failed
76			ethConfigPcsLossSync(204),  -- PCS coding loss of sync
77
78-- Encryption alarms
79			encAisFault(221),			-- Encryption AIS
80			encRdiFault(222), 			-- Encryption RDI
81			encKeyExchangeFailed(223),	-- Encryption key exchange failed
82
83-- FC alarms
84			fcBxPortTransmitFault(301), -- Transceiver transmit fault (deprecated)
85			fcBxPortLossOfSignal(302),  -- Transceiver signal detect failed
86			fcBxPortNoLink(303),		-- No link established yet.
87			fcBxPortLossOfSync(304),	-- Loss of sync
88			fcBxPortTransmitMismatch(306), -- Transceiver mismatch or removed (deprecated)
89			fcBxPortPcsLossSync(307),   -- PCS coding loss of sync
90
91			fcipLinkNoLink(311),		-- No link established yet.
92			fcipLinkLossOfSync(312),	-- Loss of sync
93			fcipSntpFailure(313),		-- SNTP failure
94			fcipIpsecFailure(314),		-- IPSec failure
95			fcipFarLossOfClient(315),   -- The Far-End lost the FC link
96
97-- Escon alarms
98			esconPortTransmitFault(351), -- Transceiver transmit fault (deprecated)
99			esconPortLossOfSignal(352),  -- Transceiver signal detect failed
100			esconPortNoLink(353),		 -- No link established yet.
101			esconPortLossOfSync(354),	 -- Loss of sync
102
103-- EDFA alarms
104			edfaPumpTemperuture(401),   -- Pump temperatur is out-of-bound
105			edfaHwFail(403),            -- Pump HW failure
106			edfaRvcSignalDetect(404),   -- Loss of input signal
107			edfaRcvPower(406),          -- Rx Power is out-of-bound
108			edfaTemprature(407),        -- Edfa temperature is out-of-bound
109			edfaEyeSafty(408),		    -- Eye safety alarm (available only in eye-safety mode)
110			edafGainFlatness(409),	  	-- Gain flatness alarm
111			edfaXmtPower(410),          -- Tx Power is out-of-bound
112			edfaGain(411),              -- Edfa Gain is out-of-bound
113			edfaEol(412),               -- Pump End Of Life
114
115-- Muxponder alarms
116			muxAisPath(451) ,   		-- Muxponder AIS
117			muxLof(452),            	-- Muxponder LOF
118			muxRdi(453),            	-- Muxponder RDI
119			muxInbandFail(454),      	-- Muxponder Inband Fail
120			muxTempLicense(455),        -- Muxponder Temporary Licensed
121			muxNoLicense(456),         	-- Muxponder Not Licensed
122
123-- Optical Switch alarms
124			oswHwFail(470),            	-- The optical switch is defined in seep but not exist
125			oswLossOfSignal(471),       -- LOS is detected on the port of the optical switch
126			oswEdfaLossProp(472),
127
128-- DCM alarms
129			dcmTemp(475),            	-- The DCM tec temperature is too high
130			dcmTec(476),            	-- The DCM tec is out of range
131			dcmHwFault(477),            -- DCM EEPROM error
132
133-- Port alarms
134			loopback(501),            	-- The port is in loopback
135			apsForceActive(502),        -- Force Switch is active on this port
136			apsManualActive(503),       -- Manual Switch is active on this port
137
138-- CLU alarms
139			cluHoldoverState(602),		-- Clu is switched to holdover
140			cluFreerunState(603),		-- Clu is in free run state
141			cluBelowLevel(604),			-- Clock is below internal level
142			cluFail(606),				-- Clock fail
143			cluJittered(608),			-- Clock jittered
144
145-- WSS alarms
146			channelLowDegrade(621), 	-- OCM Power Level Parameter 2
147			channelHighDegrade(622), 	-- OCM Power Level Parameter 3
148			channelLowFail(623), 		-- OCM Power Level Parameter 4
149			channelHighFail(624), 		-- OCM Power Level Parameter 5
150			unequalizedOuputPower(625), -- Failed to equalize channels output power
151
152-- SFP Alarms
153			sfpTransmitFault(701),		-- sfp hardware problem
154			sfpRemoved(702),			-- spf is either removed or failed
155			sfpMuxWlMismatch(703),		-- wl of the sfp does not match the wls of the mux
156			sfpBitRateMismatch(704),	-- the sfp bit rate does not match the implied port rate
157			sfpLossOfLock(705),			-- retimer problem
158			sfpSfpWlMismatch(706),		-- two sfps with the same wave length in
159			sfpLossOfLight(707),		-- no signnal detection
160			sfpLaserEndOfLife(708),     -- laser end of life indication
161			sfpMuxSpacingMismatch(709),	-- spacing of the sfp does not match the spacing of the mux
162			sfpHardwareFault(710),		-- wrong sfp crc
163			sfpBlocked(711),			-- the sfp is blocked
164			sfpLossPropagation(712), 	-- shut laser due to a problem with the mate sfp
165			sfpUnknownType(713), 		-- unknown sfp type warning - doesn't shut the laser
166			sfpTxLossOfLock(714),		-- loss of lock on the tx CDR
167
168			sfpHighTemp(720),			-- internal temperature exceeds high alarm level.
169			sfpLowTemp(721),			-- internal temperature is below low alarm level.
170			sfpHighTxPower(726),		-- TX output power exceeds high alarm level.
171			sfpLowTxPower(727),			-- TX output power is below low alarm level.
172			sfpHighRxPower(728),		-- Received Power exceeds high alarm level.
173			sfpLowRxPower(729),			-- Received Power is below low alarm level.
174			sfpHighLaserTemp(730),		-- (15xy) laser TEC current exceeds high alarm level.
175			sfpLowLaserTemp(731),		-- (15xy) laser TEC current exceeds low alarm level.
176			sfpHighLaserWl(732),		-- (15xy) laser wavelength exceeds high alarm level.
177			sfpLowLaserWl(733),			-- (15xy) laser wavelength is below low alarm level.
178
179-- XFP Alarms
180			xfpTxNR(734),
181			xfpTxCdrNotLocked(735),
182			xfpRxNR(736),
183			xfpRxCdrNotLocked(737),
184
185-- OTN Alarms
186			otnFecExc(750),				-- FEC-EXC Trail Excessive Errors (Early FEC) > 10-4
187            otnFecDeg(751),				-- FEC-DEG Trail Degraded Errors (Early FEC) > 10-8
188			otnOtuDeg(752),				-- S-DEG Section- Degraded Performance. Based on SM BIP
189            otnOduDeg(753),				-- P-DEG Path- Degraded Performance. Based on PM BIP
190			otnLos(754),				-- LOS Loss of Signal
191			otnLof(755),				-- LOF Loss of Frame. OOF present for at least 3ms
192			otnLom(756),				-- LOM Loss of Multiframe; OOM present for at least 3ms
193			otuAis(757),				-- S-AIS Section-Alarm Indication Signal
194			otuBdi(758),				-- S-BDI Section-Backward Defect Indicator
195			otuTtim(759),				-- S-TTIM Section-Trail Trace Identifier Mismatch (SAPI/DAPI)
196			oduAis(780),				-- P-AIS Path-Alarm Indication Signal
197			oduOci(781),				-- P-OCI Path-Open Connection indicator
198			oduLck(782),				-- P-LCK Path-Locked. Path Locked active
199			oduBdi(783),				-- P-BDI Path-Backward Error indicator.
200			oduTtim(784),				-- P-TTIM Path-Trail Trace Identifier Mismatch (SAPI/DAPI)
201            oduPtm(785),				-- P-PTM Path Payload Type Mismatch
202			oduApsMismatch(786),		-- ODU Path APS Mismatch
203			otnOtuFail(787),			-- S-EXC Section- Excessive Errors. Based on SM BIP
204            otnOduFail(788),			-- P-EXC Path- Excessive Errors. Based on PM BIP
205
206
207-- NE alarms
208			entityRemoved(801), 		-- Card is removed from the slot
209			entityClockFail(803),		-- Clock Failure
210			entityHwTxFail(804),		-- HW or Tx failure
211			entitySwMismatch(806),		-- SW version mismatch detected
212			entitySwUpgrade(807),		-- Software Upgrade in progress
213			entitySwInvalidBank(808),	-- Software Bank is invalid
214			entityIpLanPending(820),	-- new LAN IP address is pending
215			entityIpOscPending(821),	-- new OSC IP address is pending
216			nePowerFault(902),			-- Power supply unit has failed
217			neFanFault(903),			-- Fan unit has failed
218			neLowVoltagePower(904),		-- The voltage of the Power Supply is too low
219			entitySwUpgradeFail(905),	-- SW Upgrade Failed
220			entityRadiusPrimFail(906),	-- Radius Primary Server failed
221			entityRadiusSecFail(907),	-- Radius Secondary Server failed
222			entityDbRestoreFail(908),	-- Database Restore Failed
223			entityDbRestoreInProgress(909),	-- Database Restore In Progress
224			entitySntpFail(910),		-- SNTP server failure
225
226-- Misc
227			dcActive(1001),	  			-- An alarm on the input dry contact
228			lcpDown(1002),	  			-- The LCP link is down
229			ncpDown(1003),	  			-- The NCP link is down
230			rtcFailure(1004)			-- RTC failure
231       }
232
233
234slAlarmConfig            OBJECT IDENTIFIER ::= { slAlarmMib 1 }
235slAlarmTraps             OBJECT IDENTIFIER ::= { slAlarmMib 2 }
236slAlarmTraps0             OBJECT IDENTIFIER ::= { slAlarmTraps 0 }
237
238--
239-- SL Alarms config Table
240--
241
242slAlarmConfigTable OBJECT-TYPE
243         SYNTAX  SEQUENCE OF SlAlarmConfigEntry
244         MAX-ACCESS  not-accessible
245         STATUS  current
246         DESCRIPTION
247             "This table contains objects to configure the SL Alarms."
248         ::= { slAlarmConfig 1 }
249
250slAlarmConfigEntry OBJECT-TYPE
251        SYNTAX  SlAlarmConfigEntry
252        MAX-ACCESS  not-accessible
253        STATUS  current
254        DESCRIPTION
255            "An entry exist for each type of alarm.
256             The entry describes the alarm properties."
257         INDEX   { slAlarmIfIndex, slAlarmType }
258         ::= { slAlarmConfigTable 1 }
259
260SlAlarmConfigEntry ::=
261              SEQUENCE {
262               slAlarmIfIndex              	InterfaceIndex,
263               slAlarmType            		SlAlarmType,
264               slAlarmSeverity             	INTEGER,
265               slAlarmServiceAffect     	TruthValue,
266               slAlarmTimeStamp				TimeStamp,
267               slAlarmAcknowledged			TruthValue,
268               slAlarmAckUser				DisplayString,
269               slAlarmText					DisplayString
270              }
271
272slAlarmIfIndex OBJECT-TYPE
273     SYNTAX    InterfaceIndex
274     MAX-ACCESS    read-only
275     STATUS    current
276     DESCRIPTION
277         "The corresponding interface index.
278         The interface type may be one of:
279         	- Sonet Line,
280         	- Sonet Path,
281         	- CLU
282         	- NE."
283     ::= { slAlarmConfigEntry 1 }
284
285slAlarmType OBJECT-TYPE
286     SYNTAX			SlAlarmType
287     MAX-ACCESS		read-only
288     STATUS			current
289     DESCRIPTION
290         "The alarm type."
291     ::= { slAlarmConfigEntry 2 }
292
293slAlarmSeverity OBJECT-TYPE
294       SYNTAX    	 INTEGER {
295       		noAlarm(0),
296       		critical(1),
297       		major(2),
298       		minor(3),
299       		cleared(4),
300       		notification(5)
301       }
302       MAX-ACCESS    read-only
303       STATUS        current
304       DESCRIPTION
305          "The alarm severity."
306        ::= { slAlarmConfigEntry 3 }
307
308slAlarmServiceAffect OBJECT-TYPE
309       SYNTAX    	 TruthValue
310       MAX-ACCESS    read-only
311       STATUS        current
312       DESCRIPTION
313          "The alarm service affecting Yes/No."
314        ::= { slAlarmConfigEntry 4 }
315
316slAlarmTimeStamp OBJECT-TYPE
317       SYNTAX    	 TimeStamp
318       MAX-ACCESS    read-only
319       STATUS        current
320       DESCRIPTION
321          "The calendar time of the alarm."
322        ::= { slAlarmConfigEntry 5 }
323
324slAlarmAcknowledged OBJECT-TYPE
325       SYNTAX    	 TruthValue
326       MAX-ACCESS    read-write
327       STATUS        current
328       DESCRIPTION
329          "Allow the NMS to acknowledge an active alarm."
330        ::= { slAlarmConfigEntry 6 }
331
332slAlarmAckUser OBJECT-TYPE
333       SYNTAX    	 DisplayString
334       MAX-ACCESS    read-write
335       STATUS        current
336       DESCRIPTION
337          "The name of the user that performed the Ack."
338        ::= { slAlarmConfigEntry 7 }
339
340slAlarmText OBJECT-TYPE
341       SYNTAX    	 DisplayString
342       MAX-ACCESS    read-only
343       STATUS        current
344       DESCRIPTION
345          "The alarm text."
346        ::= { slAlarmConfigEntry 8 }
347
348
349--
350-- SL ALARM TRAPS
351--
352
353slAlarmActive OBJECT-TYPE
354       SYNTAX    	 TruthValue
355       MAX-ACCESS    read-only
356       STATUS        current
357       DESCRIPTION
358          "The alarm is active Yes/No."
359        ::= { slAlarmTraps 1 }
360
361slAlarmTrap NOTIFICATION-TYPE
362       OBJECTS {slAlarmIfIndex,
363       			slAlarmType,
364       			slAlarmSeverity,
365       			slAlarmServiceAffect,
366       			slAlarmActive,
367       			slAlarmText,
368       			slAlarmTimeStamp,
369       			slmTrapLogId
370       }
371       STATUS  current
372       DESCRIPTION
373               "An slAlarmTrap notification is sent when an alarm occures."
374       ::= { slAlarmTraps 2 }
375
376
377slAlarmTrap0 NOTIFICATION-TYPE
378       OBJECTS {slAlarmIfIndex,
379       			slAlarmType,
380       			slAlarmSeverity,
381       			slAlarmServiceAffect,
382       			slAlarmActive,
383       			slAlarmText,
384       			slAlarmTimeStamp,
385       			slmTrapLogId
386       }
387       STATUS  current
388       DESCRIPTION
389               "An slAlarmTrap0 notification is sent when an alarm occures.
390                It is defined to support browsers that don't recognize RFC 2576."
391       ::= { slAlarmTraps0 2 }
392
393
394END
395
396
397
398