summaryrefslogtreecommitdiff
path: root/MIBS/axis/AXIS-VIDEO-MIB
blob: 0111f9badcf5a04826ba3fa86980a9476568ec47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
AXIS-VIDEO-MIB DEFINITIONS ::= BEGIN

IMPORTS
    axis, products
        FROM AXIS-ROOT-MIB
    MODULE-COMPLIANCE, NOTIFICATION-GROUP, OBJECT-GROUP
        FROM SNMPv2-CONF            -- RFC 2580
    Integer32, MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE,
    Unsigned32
        FROM SNMPv2-SMI             -- RFC 2578
   SnmpAdminString
        FROM SNMP-FRAMEWORK-MIB;    -- RFC 3411

video MODULE-IDENTITY
    LAST-UPDATED "201609231218Z"
    ORGANIZATION
        "Axis Communications AB"
    CONTACT-INFO
        "Postal: Axis Communications AB
                 Emdalavagen 14
                 SE-223 69 Lund
                 Sweden
                 Phone: +46 (0)46 272 18 00
                 Fax:   +46 (0)46 13 61 30
                 E-Mail: info@axis.com
                 Web: www.axis.com"
    DESCRIPTION
        "Axis Video MIB. Includes HW resources, such as power
         supplies, and traps for notifying management stations when
         something fails."
    REVISION    "201609231218Z"
    DESCRIPTION
        "Updates in the compliance statement. Video products do not support all
        objects in general."
    REVISION    "201212121202Z"
    DESCRIPTION
        "Initial version."
    ::= { axis 4 }

--  Object identifiers: all video products return the videoBased OID
--- Note: video cannot be used, since it is used above.
videoBased OBJECT IDENTIFIER
    ::= { products 1 }

videoObjects OBJECT IDENTIFIER
    ::= { video 1 }

-- Power supplies
powerSupplyTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF PowerSupplyEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Table containing information about all the power supplies
         present in the device."
    ::= { videoObjects 1 }

powerSupplyEntry OBJECT-TYPE
    SYNTAX      PowerSupplyEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A power supply entry containing information about
         a specific power supply."
    INDEX       { powerSupplyType, powerSupplyId }
    ::= { powerSupplyTable 1 }

PowerSupplyEntry ::= SEQUENCE {
    powerSupplyType     INTEGER,
    powerSupplyId       Unsigned32,
    powerSupplyStatus   INTEGER
}

powerSupplyType OBJECT-TYPE
    SYNTAX      INTEGER { common(1), internal(2), external(3) }
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Indicates whether the power supply is mounted externally,
         e.g. in a rack, or internally."
    ::= { powerSupplyEntry 1 }

powerSupplyId OBJECT-TYPE
    SYNTAX      Unsigned32 (1..128)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Used to identify a power supply. The powerSupplyId is unique
         within the type, i.e. there can not be two external power
         supplies with the same powerSupplyId. There can, however, be one
         external and one internal that have the same powerSupplyId."
    ::= { powerSupplyEntry 2 }

powerSupplyStatus OBJECT-TYPE
    SYNTAX      INTEGER { ok(1), failure(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The status of a power supply."
    ::= { powerSupplyEntry 3 }

--- Fans
fanTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF FanEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Table containing information about all the fans in the product."
    ::= { videoObjects 2 }

fanEntry OBJECT-TYPE
    SYNTAX      FanEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A fan entry contains information about a specific fan."
    INDEX       { fanType, fanId }
    ::= { fanTable 1 }

FanEntry ::= SEQUENCE {
    fanType     INTEGER,
    fanId       Unsigned32,
    fanStatus   INTEGER
}

fanType OBJECT-TYPE
    SYNTAX      INTEGER { common(1), housing(2), rack(3), cpu(4) }
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The type of the fan, i.e. where the fan is mounted."
    ::= { fanEntry 1 }

fanId OBJECT-TYPE
    SYNTAX      Unsigned32 (1..128)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Used, together with fanType, to identify a fan. The fanId is
         unique within the type, i.e. there can not be two fans with the
         same fanType and the same fanId."
    ::= { fanEntry 2 }

fanStatus OBJECT-TYPE
    SYNTAX      INTEGER { ok(1), failure(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The status of a fan."
    ::= { fanEntry 3 }

--- Temperature Sensors
tempSensorTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF TempSensorEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Table containing information about all the temperature
         sensors in the product."
    ::= { videoObjects 3 }

tempSensorEntry OBJECT-TYPE
    SYNTAX      TempSensorEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A temperature sensor entry contains information about a
         specific temperature sensor."
    INDEX       { tempSensorType, tempSensorId }
    ::= { tempSensorTable 1 }

TempSensorEntry ::= SEQUENCE {
    tempSensorType      INTEGER,
    tempSensorId        Unsigned32,
    tempSensorStatus    INTEGER,
    tempSensorValue     Integer32
}

tempSensorType OBJECT-TYPE
    SYNTAX      INTEGER { common(1), housing(2), rack(3), cpu(4) }
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The type of the temperature sensor, i.e. where it is mounted."
    ::= { tempSensorEntry 1 }

tempSensorId OBJECT-TYPE
    SYNTAX      Unsigned32 (1..128)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Used, together with tempSensorType, to identify a temperature
         sensor. The tempSensorId is unique within the type, i.e. there
         can not be two sensors with the same tempSensorType and the same
         tempSensorId."
    ::= { tempSensorEntry 2 }

tempSensorStatus OBJECT-TYPE
    SYNTAX      INTEGER { ok(1), failure(2), outOfBoundary(3) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The status of the temperature sensor."
    ::= { tempSensorEntry 3 }

tempSensorValue OBJECT-TYPE
    SYNTAX      Integer32 (-176..150)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The temperature measured by a specific temperature sensor.
         The temperature is given in degrees Celsius."
    ::= { tempSensorEntry 4 }

--- Physical video channels
videoChannelTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF VideoChannelEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A list of video channel information, one entry for each
         physical video channel."
    ::= { videoObjects 4 }

videoChannelEntry OBJECT-TYPE
    SYNTAX      VideoChannelEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A video channel entry contains information about a specific
         physical video channel."
    INDEX       { videoChannelId }
    ::= { videoChannelTable 1 }

VideoChannelEntry ::= SEQUENCE {
    videoChannelId      Unsigned32,
    videoSignalStatus   INTEGER
}

videoChannelId OBJECT-TYPE
    SYNTAX      Unsigned32 (1..8192)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Used to identify a physical video channel."
    ::= { videoChannelEntry 1 }

videoSignalStatus OBJECT-TYPE
    SYNTAX      INTEGER { signalOk(1), noSignal(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The status of the video signal for a channel."
    ::= { videoChannelEntry 2 }

--- Physical audio channels
audioChannelTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF AudioChannelEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A list of audio signal information, one entry for each
         physical audio channel."
    ::= { videoObjects 5 }

audioChannelEntry OBJECT-TYPE
    SYNTAX      AudioChannelEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An audio signal entry contains information about a specific
         physical audio signal."
    INDEX       { audioChannelId }
    ::= { audioChannelTable 1 }

AudioChannelEntry ::= SEQUENCE {
    audioChannelId      Unsigned32,
    audioSignalStatus   INTEGER
}

audioChannelId OBJECT-TYPE
    SYNTAX      Unsigned32 (1..8192)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Used to identify a physical audio channel."
    ::= { audioChannelEntry 1 }

audioSignalStatus OBJECT-TYPE
    SYNTAX      INTEGER { signalOk(1), noSignal(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The status of the audio signal for a channel."
    ::= { audioChannelEntry 2 }

--- Open Casing Detector
casingTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF CasingEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A list of casing status, one entry for each casing."
    ::= { videoObjects 6 }

casingEntry OBJECT-TYPE
    SYNTAX      CasingEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A casing entry contains information about a specific casing."
    INDEX       { casingId }
    ::= { casingTable 1 }

CasingEntry ::= SEQUENCE {
    casingId        Unsigned32,
    casingName      SnmpAdminString,
    casingStatus    INTEGER
}

casingId OBJECT-TYPE
    SYNTAX      Unsigned32 (1..32)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Used to identify a casing."
    ::= { casingEntry 1 }

casingName OBJECT-TYPE
    SYNTAX      SnmpAdminString (SIZE(0..32))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Used to identify a casing. If the original string is longer than the
         specified length then the middle of the string will be replaced by '..'
         in such a way that the length of the string becomes 32 characters
         anyway."
    ::= { casingEntry 2 }

casingStatus OBJECT-TYPE
    SYNTAX      INTEGER { closed(1), open(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The status of the casing."
    ::= { casingEntry 3 }

--- { videoObjects 7 }, reserved for PTZ

--- Storage
storageTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF StorageEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A list of storage media properties, one entry for each storage media."
    ::= { videoObjects 8 }

storageEntry OBJECT-TYPE
    SYNTAX      StorageEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A storage media contains information about a specific medium."
    INDEX       { storageId }
    ::= { storageTable 1 }

StorageEntry ::= SEQUENCE {
    storageId                  Unsigned32,
    storageName                SnmpAdminString,
    storageDisruptionDetected  INTEGER
}

storageId OBJECT-TYPE
    SYNTAX      Unsigned32 (1..128)
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Used to identify a storage."
    ::= { storageEntry 1 }

storageName OBJECT-TYPE
    SYNTAX      SnmpAdminString (SIZE(0..32))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Used to identify a storage medium. If the original string is longer
	 than the specified length then the middle of the string will be
	 replaced by '..' in such a way that the length of the string becomes 32
         characters anyway."
    ::= { storageEntry 2 }

storageDisruptionDetected OBJECT-TYPE
    SYNTAX      INTEGER { no(1), yes(2) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The status of the storage medium."
    ::= { storageEntry 3 }

--- { videoObjects 9 }, reserved for tampering

-- Objects used in Private Enterprise Traps
videoNotifications OBJECT IDENTIFIER
    ::= { video 2 }

videoNotificationPrefix OBJECT IDENTIFIER
    ::= { videoNotifications 0 }

alarmID OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "This object indentifies a certain alarm event in a unique way.
	This means that there cannot be any alarm event that has the same ID
	during a finite period of time."
    ::= { videoNotifications 1 }

alarmName OBJECT-TYPE
    SYNTAX      SnmpAdminString
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
	"A string that identifies which kind of alarm this is. During a certain
	time it is possible that alarms with the same name occur."
    ::= { videoNotifications 2 }

alarmText OBJECT-TYPE
    SYNTAX      SnmpAdminString
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "Detailed description of the alarm."
    ::= { videoNotifications 3 }

videoConformance OBJECT IDENTIFIER
    ::= { video 3 }

videoGroups OBJECT IDENTIFIER
    ::= { videoConformance 1 }

videoCompliances OBJECT IDENTIFIER
    ::= { videoConformance 2 }

alarmNew NOTIFICATION-TYPE
    OBJECTS     { alarmID, alarmName, alarmText }
    STATUS      current
    DESCRIPTION
        "This notification is sent when a new Alarm is
         generated that has a corresponding cleared state."
    ::= { videoNotificationPrefix 1 }

alarmCleared NOTIFICATION-TYPE
    OBJECTS     { alarmID, alarmName, alarmText }
    STATUS      current
    DESCRIPTION
        "This notification is generated when an alarm is
         cleared that was previous sent as a new Alarm."
    ::= { videoNotificationPrefix 2 }

alarmSingle NOTIFICATION-TYPE
    OBJECTS     { alarmID, alarmName, alarmText }
    STATUS      current
    DESCRIPTION
        "This notification is sent when a new Alarm is
         generated that has no corresponding cleared state."
    ::= { videoNotificationPrefix 3 }

-- Groups
videoObjectGroup OBJECT-GROUP
    OBJECTS     { powerSupplyStatus, fanStatus, tempSensorStatus,
                  tempSensorValue, videoSignalStatus, audioSignalStatus,
                  casingName, casingStatus, storageDisruptionDetected,
                  storageName, alarmID, alarmName, alarmText }
    STATUS      obsolete
    DESCRIPTION
        "A collection of video objects."
    ::= { videoGroups 1 }

videoNotificationGroup NOTIFICATION-GROUP
    NOTIFICATIONS { alarmNew, alarmCleared, alarmSingle }
    STATUS      current
    DESCRIPTION
        "A collection of video notifications."
    ::= { videoGroups 2 }

tempSensorGroup OBJECT-GROUP
    OBJECTS { tempSensorStatus, tempSensorValue }
    STATUS      current
    DESCRIPTION
        "Objects related to Axis temperature sensors."
    ::= { videoGroups 3 }

casingGroup OBJECT-GROUP
    OBJECTS { casingName, casingStatus }
    STATUS      current
    DESCRIPTION
        "Objects related to Axis casing."
    ::= { videoGroups 4 }

storageGroup OBJECT-GROUP
    OBJECTS { storageDisruptionDetected, storageName }
    STATUS      current
    DESCRIPTION
        "Objects related to Axis storage."
    ::= { videoGroups 5 }

-- Compliance Statements
videoComplianceRev2 MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION
        "The compliance statement for Axis video entities."

    MODULE      -- this module

        MANDATORY-GROUPS        { videoNotificationGroup }

        GROUP   powerSupplyStatus
        DESCRIPTION
              "This group is mandatory for all AXIS video products that have
              redundant power supply for backup, for which it is possible to
              check whether it is still working."

        GROUP   fanStatus
        DESCRIPTION
              "This group is mandatory for all AXIS video products that have
              fans, for which the state can be obtained."

        GROUP   tempSensorGroup
        DESCRIPTION
              "This group is mandatory for all AXIS video products that have
              temperature sensors, for which a state can be obtained."

        GROUP   videoSignalStatus
        DESCRIPTION
              "This group is mandatory for all AXIS video products that have
              video cameras connected for which it is possible to check the
              connection state. Typically this is an encoder product."

        GROUP   audioSignalStatus
        DESCRIPTION
              "This group is mandatory for all AXIS video products to which a
              a microphone can be connected, for which the state can be
              detected."

        GROUP   casingGroup
        DESCRIPTION
              "This group is mandatory for all AXIS video products that have
              a casing box, for which it is possible to check the status."

        GROUP   storageGroup
        DESCRIPTION
              "This group is mandatory for all AXIS video products that have a
              storage device connected and for which it is possible to check the
              state."

    ::= { videoCompliances 2 }

videoCompliance MODULE-COMPLIANCE
    STATUS      obsolete
    DESCRIPTION
        "The compliance statement in a previous version of this MIB for Axis
        video entities."

    MODULE      -- this module

        MANDATORY-GROUPS        { videoObjectGroup }

        GROUP   videoNotificationGroup
        DESCRIPTION
              "This group doesn't need to be supported."

    ::= { videoCompliances 1 }

END -- end of module AXIS-VIDEO-MIB.