summaryrefslogtreecommitdiff
path: root/MIBS/bluecatnetworks/BCN-DHCPV4-MIB
blob: 0ccca9a0f823bfdfee5e41240e171099975ba2aa (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
-- Copyright 2017 BlueCat Networks. All rights reserved.
-- *****************************************************************
-- BCN-DHCPV4-MIB.mib:  BlueCat Networks DHCPv4 services
--
--
-- December 2010, Fabian Ischia
--
-- All rights reserved.
-- 
-- *****************************************************************

BCN-DHCPV4-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-IDENTITY,
    OBJECT-TYPE, Integer32, Unsigned32, Gauge32, IpAddress
        FROM SNMPv2-SMI
    DisplayString, MacAddress
        FROM SNMPv2-TC
    OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    BcnAlarmSeverity
        FROM BCN-TC-MIB
    bcnServices
        FROM BCN-SMI-MIB;

bcnDhcpv4MIB MODULE-IDENTITY
    LAST-UPDATED	"201012080000Z"
    ORGANIZATION	"BlueCat Networks"
    CONTACT-INFO
        "BlueCat Networks. Customer Care.

        North America
        Call: +1.866.491.2228
        Europe
        Call: +44.8081.011.306
        Other
        Call: +1.416.646.8433
        
        Email: support@bluecatnetworks.com"
    DESCRIPTION
        "This module provides status as well as statistical information
        about the DHCPv4 service."
    REVISION "201012080000Z"
    DESCRIPTION
        "Initial version of this MIB module."
    ::= { bcnDhcpv4 1 }

bcnDhcpv4 OBJECT IDENTIFIER  ::= { bcnServices 1 }

-- Organization

bcnDhcpv4Objects OBJECT IDENTIFIER 
    ::= { bcnDhcpv4 2 }

bcnDhcpv4Notification OBJECT IDENTIFIER 
    ::= { bcnDhcpv4 3 }

bcnDhcpv4Conformance OBJECT IDENTIFIER 
    ::= { bcnDhcpv4 4 }


-- Data objects

bcnDhcpv4ServiceStatus OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "General state of the DHCPv4 Service."
    ::= { bcnDhcpv4Objects 1 }

bcnDhcpv4SerOperState OBJECT-TYPE
    SYNTAX      INTEGER {
      running(1),
      notRunning(2),
      starting(3),
      stopping(4),
      fault(5)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Operational state of the Service. The possible states are:
        running(1)    The service is running normally.
        notRunning(2) The service is stopped either intentionally (i.e.:
                      the service is not supposed to run on this node) or
                      unintentionally (a problem has occurred).
        starting(3)   The service is in the process of starting, either
                      for the first time of after an event occurred.
        stopping(4)   The service is in the process of stopping. Stopping
                      a service might be necessary after a configuration
                      change.
        fault(5)      An error has been detected and the state is undefined.
        "
    ::= { bcnDhcpv4ServiceStatus 1 }

bcnDhcpv4FirstAlertIpAddr OBJECT-TYPE
    SYNTAX      IpAddress
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION "The IP address identifying either subnet or pool for which
        the available IPs have been exhausted."
    ::= { bcnDhcpv4ServiceStatus 2 }

bcnDhcpv4LeaseStatsSuccess OBJECT-TYPE
    SYNTAX      Gauge32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION "The number of successful DHCPv4 leases issued per second."
    ::= { bcnDhcpv4ServiceStatus 3 }

-- DHCP server statistics

bcnDhcpv4ServiceStatistics OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "General state of the DHCPv4 Service."
    ::= { bcnDhcpv4Objects 2 }


-- DHCP lease table

bcnDhcpv4LeaseTable OBJECT-TYPE
	SYNTAX SEQUENCE OF BcnDhcpv4LeaseEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "Current lease table."
	::= { bcnDhcpv4ServiceStatistics 1 }

bcnDhcpv4LeaseEntry OBJECT-TYPE
	SYNTAX BcnDhcpv4LeaseEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "A logical row in the bcnDhcpv4LeaseTable."
	INDEX { bcnDhcpv4LeaseIP }
	::= { bcnDhcpv4LeaseTable 1 }

BcnDhcpv4LeaseEntry ::= SEQUENCE {
	bcnDhcpv4LeaseIP              IpAddress,
	bcnDhcpv4LeaseStartTime       Unsigned32,
	bcnDhcpv4LeaseEndTime         Unsigned32,
	bcnDhcpv4LeaseTimeStamp       Unsigned32,
	bcnDhcpv4LeaseMacAddress      MacAddress,
	bcnDhcpv4LeaseHostname        DisplayString 
}
	
bcnDhcpv4LeaseIP OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "IP address of the lease."
	::= { bcnDhcpv4LeaseEntry 1 }

bcnDhcpv4LeaseStartTime OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "Start time of the lease."
	::= { bcnDhcpv4LeaseEntry 2 }

bcnDhcpv4LeaseEndTime OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "End time of the lease."
	::= { bcnDhcpv4LeaseEntry 3 }

bcnDhcpv4LeaseTimeStamp OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "When failover protocol is being used the timestamp will
        indicate the time the peer has either been told the lease expires,
        or the expiry time that the peer has acknowledged."
	::= { bcnDhcpv4LeaseEntry 4 }

bcnDhcpv4LeaseMacAddress OBJECT-TYPE
	SYNTAX MacAddress
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "The hardware address (MAC address) of this lease."
	::= { bcnDhcpv4LeaseEntry 5 }

bcnDhcpv4LeaseHostname OBJECT-TYPE
	SYNTAX DisplayString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "The client hostname of the lease."
	::= { bcnDhcpv4LeaseEntry 6 }

-- DHCP Subnet table

bcnDhcpv4SubnetTable OBJECT-TYPE
	SYNTAX SEQUENCE OF BcnDhcpv4SubnetEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "Current subnet table."
	::= { bcnDhcpv4ServiceStatistics 2 }

bcnDhcpv4SubnetEntry OBJECT-TYPE
	SYNTAX BcnDhcpv4SubnetEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "A logical row in the bcnDhcpv4SubnetTable."
	INDEX { bcnDhcpv4SubnetIP }
	::= { bcnDhcpv4SubnetTable 1 }

BcnDhcpv4SubnetEntry ::= SEQUENCE {
    bcnDhcpv4SubnetIP              IpAddress,
    bcnDhcpv4SubnetMask            IpAddress,
    bcnDhcpv4SubnetSize            Unsigned32,
    bcnDhcpv4SubnetFreeAddresses   Unsigned32,
    bcnDhcpv4SubnetLowThreshold    Unsigned32,
    bcnDhcpv4SubnetHighThreshold   Unsigned32
}
	
bcnDhcpv4SubnetIP OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "IP address of the subnet."
	::= { bcnDhcpv4SubnetEntry 1 }

bcnDhcpv4SubnetMask OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "IP mask of the subnet."
	::= { bcnDhcpv4SubnetEntry 2 }

bcnDhcpv4SubnetSize OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "Size of the subnet. The size of the subnet is calculated
      as the sum of the sizes of each pool defined within it. The pools
      are defined such that the fixed IPs are not contained within them."
	::= { bcnDhcpv4SubnetEntry 3 }

bcnDhcpv4SubnetFreeAddresses OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "The number of IPs addresses available in this subnet."
	::= { bcnDhcpv4SubnetEntry 4 }

bcnDhcpv4SubnetLowThreshold OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "Low threshold for available free addresses in this
        subnet.  If the value for available free addresses in this 
        subnet becomes equal to or less than this value, a 
        bcnDhcpv4SubnetLowNotif event is generated for this subnet.
        No more bcnDhcpv4SubnetLowNotif events will be generated for
        this subnet during this execution of the DHCPv4 server until
        the value for available free addresses has exceeded the value
        of bcnDhcpv4SubnetHighThreshold."
	::= { bcnDhcpv4SubnetEntry 5 }

bcnDhcpv4SubnetHighThreshold OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "High threshold for available free addresses in this
        subnet.  If a bcnDhcpv4SubnetLowNotif event was generated and
        the value for available free addresses in this subnet has
        exceeded this value, a bcnDhcpv4SubnetHighNotif event is 
        generated for this subnet.
        No more bcnDhcpv4SubnetHighNotif events will be generated for
        this subnet during this execution of the DHCPv4 server until
        another bcnDhcpv4SubnetLowNotif is generated."
	::= { bcnDhcpv4SubnetEntry 6 }

-- DHCP pool table 

bcnDhcpv4PoolTable OBJECT-TYPE
	SYNTAX SEQUENCE OF BcnDhcpv4PoolEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "Current pool table."
	::= { bcnDhcpv4ServiceStatistics 3 }

bcnDhcpv4PoolEntry OBJECT-TYPE
	SYNTAX BcnDhcpv4PoolEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "A logical row in the bcnDhcpv4PoolTable."
	INDEX { bcnDhcpv4PoolStartIP }
	::= { bcnDhcpv4PoolTable 1 }

BcnDhcpv4PoolEntry ::= SEQUENCE {
	bcnDhcpv4PoolStartIP          IpAddress,
	bcnDhcpv4PoolEndIP            IpAddress,
	bcnDhcpv4PoolSubnetIP         IpAddress,
	bcnDhcpv4PoolSize             Unsigned32,
	bcnDhcpv4PoolFreeAddresses    Unsigned32
}
	
bcnDhcpv4PoolStartIP OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "Start IP address of this pool."
	::= { bcnDhcpv4PoolEntry 1 }

bcnDhcpv4PoolEndIP OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "End IP address of this pool."
	::= { bcnDhcpv4PoolEntry 2 }

bcnDhcpv4PoolSubnetIP OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "Subnet IP address of the pool."
	::= { bcnDhcpv4PoolEntry 3 }

bcnDhcpv4PoolSize OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "The size of this pool."
	::= { bcnDhcpv4PoolEntry 4 }

bcnDhcpv4PoolFreeAddresses OBJECT-TYPE
	SYNTAX Unsigned32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "The number of IPs addresses available in this pool."
	::= { bcnDhcpv4PoolEntry 5 }


bcnDhcpv4FixedIPTable OBJECT-TYPE
	SYNTAX SEQUENCE OF BcnDhcpv4FixedIPEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "List of fixed IP addresses for this DHCPv4 server."
	::= { bcnDhcpv4ServiceStatistics 4 }

-- DHCP Fixed IP address table 

bcnDhcpv4FixedIPEntry OBJECT-TYPE
	SYNTAX BcnDhcpv4FixedIPEntry
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION "A logical row in the bcnDhcpv4FixedIPTable."
	INDEX { bcnDhcpv4FixedIP }
	::= { bcnDhcpv4FixedIPTable 1 }

BcnDhcpv4FixedIPEntry ::= SEQUENCE {
	bcnDhcpv4FixedIP IpAddress
	}

bcnDhcpv4FixedIP OBJECT-TYPE
	SYNTAX IpAddress
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION "One of the fixed IP addresses in the DHCPv4
        configuration."
	::= { bcnDhcpv4FixedIPEntry 1 }


-- Notification definitions

bcnDhcpv4NotificationEvents OBJECT IDENTIFIER 
    ::= { bcnDhcpv4Notification 0 }

bcnDhcpv4NotificationData OBJECT IDENTIFIER 
    ::= { bcnDhcpv4Notification 1 }

-- Notification data

bcnDhcpv4AlarmSeverity OBJECT-TYPE
    SYNTAX          BcnAlarmSeverity
    MAX-ACCESS      accessible-for-notify
    STATUS          current
    DESCRIPTION
        "Severity classification for the alarm."
    ::= { bcnDhcpv4NotificationData 1 }

bcnDhcpv4AlarmInfo OBJECT-TYPE
    SYNTAX          DisplayString
    MAX-ACCESS      accessible-for-notify
    STATUS          current
    DESCRIPTION
        "Descriptive information about the alarm event."
    ::= { bcnDhcpv4NotificationData 2 }

bcnDhcpv4FailOverState OBJECT-TYPE
    SYNTAX INTEGER {
            startup (1),
            normal (2),
            communicationsInterrupted (3),
            partnerDown (4),
            potentialConflict (5),
            recover (6),
            paused (7),
            shutdown (8),
            recoverDone (9),
            recoverWait (254)
          }
    MAX-ACCESS accessible-for-notify
    STATUS current
    DESCRIPTION "The state of DHCPv4 failover."
    ::= { bcnDhcpv4NotificationData 3 }

bcnDhcpv4SubnetAlertIpAddr OBJECT-TYPE
    SYNTAX      IpAddress
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION "The IP address identifying a subnet for which the 
        available IPs have been exhausted."
    ::= { bcnDhcpv4NotificationData 4 }

-- Notification events

bcnDhcpv4AlarmNotif NOTIFICATION-TYPE
    OBJECTS {   
                bcnDhcpv4SerOperState,
                bcnDhcpv4AlarmSeverity,
                bcnDhcpv4AlarmInfo
            }
    STATUS          current
    DESCRIPTION
        "A bcnDhcpv4AlarmNotif signifies that the DHCPv4 service has
        transitioned state or a particular event has been detected
        on the service."
   ::= { bcnDhcpv4NotificationEvents 1 }

bcnDhcpv4FailOverNotif NOTIFICATION-TYPE
    OBJECTS {
                bcnDhcpv4FailOverState
            }
    STATUS          current
    DESCRIPTION
        "A change of state has been detected on the DHCPv4 failover
         mechanism."
   ::= { bcnDhcpv4NotificationEvents 2 }

bcnDhcpv4SubnetLowNotif NOTIFICATION-TYPE
    OBJECTS {   
                bcnDhcpv4SubnetAlertIpAddr,
                bcnDhcpv4SubnetFreeAddresses,
                bcnDhcpv4SubnetLowThreshold
            }
    STATUS          current
    DESCRIPTION
        "This notification signifies that the number of available IPv4
        addresses for a particular subnet has fallen below the value
        of bcnDhcpv4SubnetLowThreshold for that subnet."
   ::= { bcnDhcpv4NotificationEvents 3 }

bcnDhcpv4SubnetHighNotif NOTIFICATION-TYPE
    OBJECTS {   
                bcnDhcpv4SubnetAlertIpAddr,
                bcnDhcpv4SubnetFreeAddresses,
                bcnDhcpv4SubnetHighThreshold
            }
    STATUS          current
    DESCRIPTION
        "This notification signifies that the number of available IPv4
        addresses for a particular subnet has risen above the value
        of bcnDhcpv4SubnetHighThreshold for that subnet."
   ::= { bcnDhcpv4NotificationEvents 4 }


-- Conformance

bcnDhcpv4ServiceCompliances OBJECT IDENTIFIER 
    ::= { bcnDhcpv4Conformance 1 }

bcnDhcpv4ServiceGroups OBJECT IDENTIFIER 
    ::= { bcnDhcpv4Conformance 2 }


bcnDhcpv4ServiceStatusGroup OBJECT-GROUP
    OBJECTS { 
          bcnDhcpv4SerOperState, 
          bcnDhcpv4FirstAlertIpAddr,
          bcnDhcpv4LeaseStatsSuccess
    }
    STATUS current
    DESCRIPTION "Status conformance."
    ::= { bcnDhcpv4ServiceGroups 1 }

bcnDhcpv4StatisticsGroup OBJECT-GROUP
    OBJECTS { 
--	bcnDhcpv4LeaseIP,
	bcnDhcpv4LeaseStartTime,
	bcnDhcpv4LeaseEndTime,
	bcnDhcpv4LeaseTimeStamp,
	bcnDhcpv4LeaseMacAddress,
	bcnDhcpv4LeaseHostname,

--	bcnDhcpv4SubnetIP,
	bcnDhcpv4SubnetMask,
	bcnDhcpv4SubnetSize,
	bcnDhcpv4SubnetFreeAddresses,
    bcnDhcpv4SubnetLowThreshold,
    bcnDhcpv4SubnetHighThreshold,

	bcnDhcpv4PoolSubnetIP,
--	bcnDhcpv4PoolStartIP,
	bcnDhcpv4PoolEndIP,
	bcnDhcpv4PoolSize,
	bcnDhcpv4PoolFreeAddresses,

    bcnDhcpv4FixedIP
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnDhcpv4ServiceGroups 2 }

bcnDhcpv4NotificationEventGroup NOTIFICATION-GROUP
    NOTIFICATIONS { 
          bcnDhcpv4AlarmNotif, 
          bcnDhcpv4FailOverNotif,
          bcnDhcpv4SubnetLowNotif,
          bcnDhcpv4SubnetHighNotif
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnDhcpv4ServiceGroups 3 }

bcnDhcpv4NotificationDataGroup OBJECT-GROUP
    OBJECTS { 
          bcnDhcpv4AlarmSeverity, 
          bcnDhcpv4AlarmInfo,
          bcnDhcpv4FailOverState,
          bcnDhcpv4SubnetAlertIpAddr
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnDhcpv4ServiceGroups 4 }


bcnDhcpv4StatusCompliance MODULE-COMPLIANCE
    STATUS current
    DESCRIPTION "Basic conformance"
    MODULE -- This module
    MANDATORY-GROUPS {
        bcnDhcpv4ServiceStatusGroup, bcnDhcpv4StatisticsGroup,
        bcnDhcpv4NotificationEventGroup, bcnDhcpv4NotificationDataGroup }
    ::= {bcnDhcpv4ServiceCompliances 1 }


END