summaryrefslogtreecommitdiff
path: root/MIBS/benuos/BENU-HOST-MIB
blob: bd8a0860f6f7e707303892026e55f007e83a3e3b (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
BENU-HOST-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
    Counter64,  Integer32, Unsigned32, OBJECT-IDENTITY, TimeTicks
    FROM SNMPv2-SMI
     DisplayString, TEXTUAL-CONVENTION
    FROM SNMPv2-TC
     benuPlatform
    FROM BENU-PLATFORM-MIB;


bHostMIB MODULE-IDENTITY
    LAST-UPDATED "201511030000Z" -- 03 Nov 2015
    ORGANIZATION "Benu Networks"
    CONTACT-INFO "Benu Networks Inc,
      300 Concord Road,
      Billerca MA 01821
      Email: support@benunets.com"
    DESCRIPTION
        "This mib module defines statistics for software 
        running entities.
        Copyright (C) 2001, 2008 by Benu Networks, Inc.
        All rights reserved."
    REVISION "201511030000Z" -- 03 Nov 2015
    DESCRIPTION "Changed bSysTotalMem, bSysMemUsed and bSysMemFree from CounterBasedGauge64 to Unsigned32"
    REVISION "201504280000Z" -- 28 April 2015
    DESCRIPTION "Improved the use of 64 Bit Gauge by replacing Unsigned64 with CounterBasedGauge64"
    REVISION "201504270000Z" -- 27 April 2015
    DESCRIPTION "Updated the description of bSWTaskRunStateTime"
    REVISION "201501050000Z" -- 05 Jan 2015
    DESCRIPTION "Updated notification assignments to comply with standards (RFC 2578)."
    REVISION "201501040000Z" -- 04 Jan 2015
    DESCRIPTION "Updated MIB file with change in MAX-ACCESS level for notification objects."
    REVISION "201412170000Z" -- 17 Dec 2014
    DESCRIPTION "updated MIB file with change in bHostNotifObjects"
    REVISION "201409220000Z" -- 22 Sep 2014
    DESCRIPTION "Changed bSWTaskRunStateTime from Unsigned32 to TimeTicks"
    REVISION "201403210000Z" -- 21 March 2014
    DESCRIPTION "Trap definitions are changed"
    REVISION "201305270000Z" -- 20 May 2013
    DESCRIPTION "Initial Version"

    ::= { benuPlatform 5 }

-- declare top-level MIB objects for each component

bHostMIBObjects  OBJECT-IDENTITY
   STATUS      current
   DESCRIPTION
      "MIB objects for Host related  statistics are defined in this branch."
   ::= { bHostMIB 1 }

bHostNotifObjects  OBJECT-IDENTITY
   STATUS      current
   DESCRIPTION
      "Notifications of Host related statistics are defined in this branch."
   ::= { bHostMIB 0 }

bHostNotifVariables  OBJECT-IDENTITY
   STATUS      current
   DESCRIPTION
       "MIB objects for Host notifications are defined in this branch."
   ::= {  bHostMIB 2 }

-- The Host Resources Running Software Performance table


bSWTaskInfoTable OBJECT-TYPE
    SYNTAX     SEQUENCE OF BSWTaskInfoEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
        "The (conceptual) table of running software
        performance metrics."
    ::= { bHostMIBObjects 1 }

bSWTaskInfoEntry OBJECT-TYPE
    SYNTAX     BSWTaskInfoEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
        "A (conceptual) entry containing software performance
        metrics. "
  INDEX {
      bSWTaskIndex
   }
    ::= { bSWTaskInfoTable 1 }

BSWTaskInfoEntry ::= SEQUENCE {
        bSWTaskIndex                           Integer32,
        bSWTaskName                            DisplayString,
        bSWTaskProcessID                       Unsigned32,
        bSWTaskLoadIntervalDuration            Unsigned32,
        bSWTaskRunStateTime                    TimeTicks,
        bSWTaskCPUUsage                        Unsigned32,
        bSWTaskAvgCPUUsage                     Unsigned32,
        bSWTaskMaxCPUUsage                     Unsigned32,
        bSWTaskCodeSegmentSize                 Unsigned32,
        bSWTaskDataSegmentSize                 Unsigned32,
        bSWTaskResidentPhyMem                  Unsigned32,
        bSWTaskVirtMemUsage                    Unsigned32,
        bSWTaskSharedMem                       Unsigned32,
        bSWTaskVirtMemPeakUsage                Unsigned32,
        bSWTaskAvgCPUUsageHighThreshold        Unsigned32,
        bSWTaskAvgCPUUsageLowThreshold         Unsigned32,
        bSWTaskCPUUsageLimit                   Unsigned32,
        bSWTaskRestartLimit                    Unsigned32,
        bSWTaskRestartability                  INTEGER,
        bSWTaskRestartCount                    Unsigned32
}

bSWTaskIndex  OBJECT-TYPE
   SYNTAX      Integer32
   MAX-ACCESS  not-accessible
   STATUS      current
   DESCRIPTION
       "Index of the software task entry in the table."
   ::= { bSWTaskInfoEntry 1 }

bSWTaskName  OBJECT-TYPE
   SYNTAX      DisplayString
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "The name  of the running software task."
   ::= { bSWTaskInfoEntry 2 }

bSWTaskProcessID  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "Indicates Process ID."
   ::= { bSWTaskInfoEntry 3 }

bSWTaskLoadIntervalDuration  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "Load interval duration in seconds."
   ::= { bSWTaskInfoEntry 4 }

bSWTaskRunStateTime  OBJECT-TYPE
   SYNTAX      TimeTicks
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "The amount of  CPU time used by the process since it is started.
        Value will be in hundredths of a second"
   ::= { bSWTaskInfoEntry 5 }

bSWTaskCPUUsage  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "CPU usage of the task in the last 1 sec interval duration.
        The task share of the elapsed time as a percentage of total CPU 
        time is recorded for one second.
        Unit is percentage. Range is from 0 to maxcore*100 "
   ::= { bSWTaskInfoEntry 6 }

bSWTaskAvgCPUUsage  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "Average  CPU usage of the task in the last load interval duration.
        The task share of the elapsed time as a percentage of total CPU 
        time is recorded for every one second.These one second samples are
        averaged over a period of load interval.After every one second, older
        one sec sample will be discarded and new sample will be added to the 
        set . After addition of a new sample value , average over one second
        samples in a interval  will be done. 
        Unit is percentage. Range is from 0 to maxcore*100 "
   ::= { bSWTaskInfoEntry 7 }

bSWTaskMaxCPUUsage  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "Maximum  CPU usage of the task in the last load interval duration.
        The task share of the elapsed time as a percentage of total CPU 
        time is recorded for every one second. The maximum of these one 
        second samples is calculated over a period of load interval duration. 
        This counter enable to detect the spikes in cpu usage .
        After every one second, older one sec sample will be discarded and 
        new sample will be added to the set . After addition of new sample 
        value , maximum value over one second intervals in a interval 
        duration will be calculated . 
        Unit is percentage. Range is from 0 to maxcore*100 "
   ::= { bSWTaskInfoEntry 8 }

bSWTaskCodeSegmentSize  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "Code segment size of the process.
        Units kilo-bytes"
   ::= { bSWTaskInfoEntry 9 }

bSWTaskDataSegmentSize  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "Data segment  size of the process.
        Units kilo-bytes"
   ::= { bSWTaskInfoEntry 10 }


bSWTaskResidentPhyMem  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "The non-swapped physical memory a task has used.
        Units kilo-bytes"
   ::= { bSWTaskInfoEntry 11 }

bSWTaskVirtMemUsage  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "The  total  amount  of virtual memory used by the task.
        Units kilo-bytes"
   ::= { bSWTaskInfoEntry 12 }

bSWTaskSharedMem  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "The amount of shared memory used by a task. 
        Units kilo-bytes"
   ::= { bSWTaskInfoEntry 13 }

bSWTaskVirtMemPeakUsage  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "The peak usage of total  amount  of virtual memory used 
	by the task.
        Units kilo-bytes"
   ::= { bSWTaskInfoEntry 14 }


bSWTaskAvgCPUUsageHighThreshold  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The high threshold for average cpu utilization of a task  
        in a load interval.  If a bSWTaskAvgCPUUsageLow event has
        been generated ( or  no bSWTaskAvgCPUUsageHigh was
        generated previously ) for this task, and the value for
        average cpu utilization  has exceeded the value of
        bSWTaskAvgCPUUsageHighThreshold, then a
        bSWTaskAvgCPUUsageHigh event will be generated.  No more
        bSWTaskAvgCPUUsageHigh events will be generated for this
        task  until the value for average cpu utilization becomes equal to 
        or less than the value of bSWTaskAvgCPUUsageLowThreshold.
         Unit is percentage. Range is from 0 to bSWTaskCPUUsageLimit "
   ::= { bSWTaskInfoEntry 15 }

bSWTaskAvgCPUUsageLowThreshold  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The low threshold for avaerage cpu utilization of a task  
        in a load interval.  If a bSWTaskAvgCPUUsageHigh event has
        been generated ( or  no bSWTaskAvgCPUUsageLow was
        generated previously ) for this task, and the value for
        average cpu utilization  has fallen below the value of
        bSWTaskAvgCPUUsageLowThreshold, then a
        bSWTaskAvgCPUUsageLow event will be generated.  No more
        bSWTaskAvgCPUUsageLow events will be generated for this
        task  until the value for average cpu utilization exceeds  
        the value of bSWTaskAvgCPUUsageHighThreshold.
        Unit is percentage. Range is from 0 to bSWTaskAvgCPUUsageHighThreshold "
   ::= { bSWTaskInfoEntry 16 }

bSWTaskCPUUsageLimit  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The limit on cpu usage of the process.When cpu usage of a 
         process reaches this limit , process would be killed and 
         bSWTaskDied notification will be sent. The reason in this 
         notification would be cpuUsageLimitReached .
         Unit is percentage. Range is from 0 to maxcore*100 "
   ::= { bSWTaskInfoEntry 17 }

bSWTaskRestartLimit  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The limit on restart of the process.When bSWTaskRestartCount
         of a process reaches this limit , process would not be restarted
         and bSWTaskRestartLimitReached notification will be  sent" 
   ::= { bSWTaskInfoEntry 18 }

bSWTaskRestartability  OBJECT-TYPE
   SYNTAX      INTEGER {
                    yes(1),
                    no(2)
               }
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
       "This indicates whether a process is enabled or not for 
        restart. If enabled the process in context respawns after
        it has crashed/stopped."
   ::= { bSWTaskInfoEntry 19 }

bSWTaskRestartCount  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "This indicates the number of times the process has
        respawned/restarted." 
   ::= { bSWTaskInfoEntry 20 }

-- System level objects

bSysTotalMem  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "Total Usable RAM, kilobytes"
   ::= { bHostMIBObjects 2 }

bSysMemUsed  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The amount of physical RAM, in kilobytes, used by the system."
   ::= { bHostMIBObjects 3 }

bSysMemFree  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The amount of physical RAM, in kilobytes, left unused by the system."
   ::= { bHostMIBObjects 4 }

bSysTotalCPUUtilAvailable  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The total CPU utilization available across all CPU cores.
         The value is maxcores * 100 percentage."
   ::= { bHostMIBObjects 5 }

bSysAvgCPUUtil15Sec  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The average CPU utilization across all CPU cores
         in the last 15 seconds.
         This value is updated for every bCPUMonInterval seconds.
         Units is percentage . Range is from 0 to  100 ."
   ::= { bHostMIBObjects 6 }


bSysAvgCPUUtil1Min  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The average CPU utilization across all CPU cores
         in the last one minute.
         This value is updated for every bCPUMonInterval seconds.
         Units is percentage . Range is from 0 to  100 ."
   ::= { bHostMIBObjects 7 }


bSysAvgCPUUtil5Min  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  read-only
   STATUS      current
   DESCRIPTION
        "The average CPU utilization across all CPU cores
         in the last five minutes.
         This value is updated for every bCPUMonInterval seconds.
         Units is percentage . Range is from 0 to  100 ."
   ::= { bHostMIBObjects 8 }

bCPUMonInterval OBJECT-TYPE
    SYNTAX          Unsigned32
    UNITS           "seconds"
    MAX-ACCESS      read-only
    STATUS          current
    DESCRIPTION
        "CPU usage sampling interval. The value of this
        object in seconds indicates the how often the 
        CPU utilization is calculated and monitored across all cores.
        This value for this will be configured by the CLI." 
   ::= { bHostMIBObjects 9 }

-- Host MIB notifications 

bSWTaskDiedReason  OBJECT-TYPE
   SYNTAX      INTEGER {
                    cpuUsageLimitReached(1),
                    unKnown(2)
               }
   MAX-ACCESS  accessible-for-notify 
   STATUS      current
   DESCRIPTION
        "This indicates the reason for process kill"
   ::= { bHostNotifVariables 1 }

bSWProcessName  OBJECT-TYPE
   SYNTAX      DisplayString
   MAX-ACCESS  accessible-for-notify 
   STATUS      current
   DESCRIPTION
       "The name  of the running software task."
   ::= { bHostNotifVariables 2 }

bSWProcessID  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  accessible-for-notify
   STATUS      current
   DESCRIPTION
       "Indicates Process ID."
   ::= { bHostNotifVariables 3 }

bSWProcessAvgCPUUsageLowThreshold  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  accessible-for-notify
   STATUS      current
   DESCRIPTION
        "The low threshold for avaerage cpu utilization of a task
        in a load interval.  If a bSWTaskAvgCPUUsageHigh event has
        been generated ( or  no bSWTaskAvgCPUUsageLow was
        generated previously ) for this task, and the value for
        average cpu utilization  has fallen below the value of
        bSWTaskAvgCPUUsageLowThreshold, then a
        bSWTaskAvgCPUUsageLow event will be generated.  No more
        bSWTaskAvgCPUUsageLow events will be generated for this
        task  until the value for average cpu utilization exceeds
        the value of bSWTaskAvgCPUUsageHighThreshold.
        Unit is percentage. Range is from 0 to bSWTaskAvgCPUUsageHighThreshold "
   ::= { bHostNotifVariables 4 }

bSWProcessAvgCPUUsageHighThreshold  OBJECT-TYPE
   SYNTAX      Unsigned32
   MAX-ACCESS  accessible-for-notify
   STATUS      current
   DESCRIPTION
        "The high threshold for average cpu utilization of a task
        in a load interval.  If a bSWTaskAvgCPUUsageLow event has
        been generated ( or  no bSWTaskAvgCPUUsageHigh was
        generated previously ) for this task, and the value for
        average cpu utilization  has exceeded the value of
        bSWTaskAvgCPUUsageHighThreshold, then a
        bSWTaskAvgCPUUsageHigh event will be generated.  No more
        bSWTaskAvgCPUUsageHigh events will be generated for this
        task  until the value for average cpu utilization becomes equal to
        or less than the value of bSWTaskAvgCPUUsageLowThreshold.
         Unit is percentage. Range is from 0 to bSWTaskCPUUsageLimit "
   ::= { bHostNotifVariables 5 }


bSWTaskAvgCPUUsageLow  NOTIFICATION-TYPE
    OBJECTS         {
                        bSWProcessName,
                        bSWProcessID,
                        bSWProcessAvgCPUUsageLowThreshold
                    }
    STATUS          current
    DESCRIPTION
        "This notification signifies that the average cpu utilization
        in a load interval is cleared , meaning that it
        has fallen below the  value of bSWTaskAvgCPUUsageLowThreshold
        for that task bSWTaskName."
    ::= { bHostNotifObjects 1 }

bSWTaskAvgCPUUsageHigh  NOTIFICATION-TYPE
    OBJECTS         {
                        bSWProcessName,
                        bSWProcessID,
                        bSWProcessAvgCPUUsageHighThreshold 
                    }
    STATUS          current
    DESCRIPTION
        "This notification signifies that the average cpu utilization
        in a load interval has risen above the  value of 
        bSWTaskAvgCPUUsageHighThreshold for that task bSWTaskName."
    ::= { bHostNotifObjects 2 }

bSWTaskDied  NOTIFICATION-TYPE
    OBJECTS         {
                        bSWProcessName,
                        bSWProcessID,
                        bSWTaskDiedReason
                    }
    STATUS          current
    DESCRIPTION
        "This notification signifies that the process has died.
         This notification will also be sent if the process 
	 manager kills a process because of reaching cpu usage limit
         or process crashed/terminated"
    ::= { bHostNotifObjects 3 }

bSWTaskRestartLimitReached  NOTIFICATION-TYPE
    OBJECTS         {
                        bSWProcessName,
                        bSWProcessID
                    }
    STATUS          current
    DESCRIPTION
        "This notification signifies that the process has reached maximum
         restarts and all the attempts to restart the process has failed."
    ::= { bHostNotifObjects 4 }

END