summaryrefslogtreecommitdiff
path: root/MIBS/telco-systems/binos/PRVT-SYS-INFO-MIB
blob: cc371a788f173167c59064f76c2206b55bed218d (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
-- *********************************************************************
-- **
-- ** BATM Advanced Communications.
-- **
-- *********************************************************************
-- ** Filename:   PRVT-SYS-INFO-MIB.mib
-- *********************************************************************
-- (c) Copyright, 2003, BATM Advanced Communications.  All rights reserved.
--                             WARNING:
--
-- BY UTILIZING THIS FILE, YOU AGREE TO THE FOLLOWING:
--
-- This file is the property of BATM Advanced Communications and contains
-- proprietary and confidential information.  This file is made
-- available to authorized BATM customers on the express
-- condition that neither it, nor any of the information contained
-- therein, shall be disclosed to third parties or be used for any
-- purpose other than to replace, modify or upgrade firmware and/or
-- software components of BATM manufactured equipment within the
-- authorized customer's network, and that such transfer be
-- completed in accordance with the instructions provided by
-- BATM.  Any other use is strictly prohibited.
--
-- EXCEPT AS RESTRICTED BY LAW, OR AS PROVIDED IN BATM'S LIMITED
-- WARRANTY, THE SOFTWARE PROGRAMS CONTAINED IN THIS FILE ARE
-- PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES
-- OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
--
-- IN NO EVENT SHALL BATM BE LIABLE FOR ANY DAMAGES WHATSOEVER
-- INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
-- PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR
-- OTHER CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY
-- TO USE, THE SOFTWARE CONTAINED IN THIS FILE.
--
-- ----------------------------------------------------------------------------
--
PRVT-SYS-INFO-MIB DEFINITIONS ::= BEGIN

IMPORTS
        MODULE-IDENTITY, OBJECT-TYPE, Integer32, Unsigned32
                                             FROM SNMPv2-SMI
        DisplayString                        FROM SNMPv2-TC
               NOTIFICATION-TYPE
          FROM SNMPv2-SMI       
              
      MODULE-COMPLIANCE, NOTIFICATION-GROUP,
OBJECT-GROUP
FROM SNMPv2-CONF

   ipSwitch, prvt-products
	                                     FROM PRVT-SWITCH-MIB;  
-------------------------------------------------------------------------------
--     PRIVATE BRANCH  PRODUCTS
-------------------------------------------------------------------------------

    prvtSysInfMib MODULE-IDENTITY
        LAST-UPDATED    "200801010000Z"
        ORGANIZATION "BATM Advanced Communication"
        CONTACT-INFO
               "BATM/Telco Systems Support team
				Email: 
				For North America: techsupport@telco.com
				For North Europe: support@batm.de, info@batm.de
				For the rest of the world: techsupport@telco.com"
        DESCRIPTION
                "Information for system resources"
		
        -- revision history     
         REVISION     "200801010000Z"
     	 DESCRIPTION
		"Removed redefined OIDs in private vendor extension definitions."   
         REVISION     "200510050000Z"
     	 DESCRIPTION
		"Added new value task-pend(5) for taskStatus." 
    
         REVISION     "200502160000Z"
     	 DESCRIPTION
		"Fixed spelling errors and changed the contact info." 

        REVISION     "200312090000Z"
        DESCRIPTION
                "Add new notification taskSuspended."
        REVISION     "200305130000Z"
        DESCRIPTION
                "Initial version."
            ::= { software 2 }
    software        OBJECT IDENTIFIER ::= { prvt-products 111 }

    prvtSysInfNotifications OBJECT IDENTIFIER ::= { prvtSysInfMib 0 }
    prvtSysInfObjects       OBJECT IDENTIFIER ::= { prvtSysInfMib 1 }
    prvtSysInfConformance    OBJECT IDENTIFIER ::= { prvtSysInfMib 2 }

    sysMemory OBJECT IDENTIFIER ::= {prvtSysInfObjects 1}
    sysTask OBJECT IDENTIFIER   ::= { prvtSysInfObjects 2 }

--      Memory Group

--      This group provides the memory usage information of device.


    numBytesFree            OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " The number of bytes free in the system memory "
        ::= { sysMemory 1 }

    numBlocksFree           OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " The number of blocks free in the system memory "
        ::= { sysMemory 2 }

    avgBlockSizeFree        OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " The average block size that is free in the system memory "
        ::= { sysMemory 3 }

    maxBlockSizeFree        OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " The largest block size that is free in the memory "
        ::= { sysMemory 4 }

    numBytesAlloc           OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " The number of bytes of system memory that have been allocated by
                  tasks and system services "
        ::= { sysMemory 5 }

    numBlocksAlloc          OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " The number of blocks of system memory that have been allocated in
                  the system "
        ::= { sysMemory 6 }

    avgBlockSizeAlloc       OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " The average memory block size that has been allocated in the
                system "
        ::= { sysMemory 7 }



--      Task Group

--      This group provides access to the target's task table.
--      Tasks can be suspended, created, resumed and deleted.



    taskTable               OBJECT-TYPE
        SYNTAX          SEQUENCE OF TaskEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
                "Represents the OS task table. Each entry in this table
                 represents a task"
        ::= { sysTask 1 }

    taskEntry               OBJECT-TYPE
        SYNTAX          TaskEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
                " Each entry contains information with regards to a task in the
                system "
        INDEX           { taskId }
        ::= { taskTable 1 }

    TaskEntry ::=
        SEQUENCE {
                taskId
                        Integer32,
                taskName
                        DisplayString,
                taskPriority
                        Integer32,
                taskStatus
                        INTEGER,
                taskOptions
                        BITS,
                taskMain
                        DisplayString,
                taskStackPtr
                        Unsigned32,
                taskStackBase
                        Unsigned32,
                taskStackPos
                        Unsigned32,
                taskStackEnd
                        Unsigned32,
                taskStackSize
                        Unsigned32,
                taskStackSizeUsage
                        Unsigned32,
                taskStackMaxUsed
                        Unsigned32,
                taskStackFree
                        Unsigned32,
                taskErrorStatus
                        Integer32
        }

    taskId                  OBJECT-TYPE
        SYNTAX          Integer32(1..2147483647)
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " This is the task ID assigned by OS to a task in the
                  system."
        ::= { taskEntry 1 }

    taskName                OBJECT-TYPE
        SYNTAX          DisplayString
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                " This is the name of the task."
        ::= { taskEntry 2 }

    taskPriority            OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "The priority of the task.  This value can be
                 in the range from 0, the highest priority,
                 to 255, the lowest priority."
        ::= { taskEntry 3 }

    taskStatus              OBJECT-TYPE
        SYNTAX          INTEGER {
                                task-ready(1),      -- Task is ready to run.
                                task-suspended(2),  -- Task is suspended.
                                task-delay(3),      -- Task is delayed.
                                task-deleted(4),    -- Task is to be deleted.       
                                task-pend(5)        -- Task is pended on a semaphore
                        }
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This field specifies the current task status."
        ::= { taskEntry 4 }

    taskOptions             OBJECT-TYPE
        SYNTAX      BITS {
           task-supervisor-mode(0),
           task-unbreakable(1),
           task-dealloc-stack(2),
           task-fp-task(3),
           task-stdio(4),
           task-reserved-1(5),
           task-reserved-2(6),
           task-private-env(7),
           task-no-stack-fill(8)
       }
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "The option is toggled based on the current setting."
        ::= { taskEntry 5 }

    taskMain                OBJECT-TYPE
        SYNTAX          DisplayString
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the name of the entry function for the task."
        ::= { taskEntry 6 }

    taskStackPtr            OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the saved stack pointer for the task."
        ::= { taskEntry 7 }


    taskStackBase           OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the address of the bottom of the stack for the task."
        ::= { taskEntry 8 }

    taskStackPos            OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the effective top of the stack in the current task state."
        ::= { taskEntry 9 }

    taskStackEnd            OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the address of the top of the stack for the task."
        ::= { taskEntry 10 }

    taskStackSize           OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the actual size of the stack in bytes."
        ::= { taskEntry 11 }

    taskStackSizeUsage      OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "The number of bytes currently in use by the task from the stack."
        ::= { taskEntry 12 }

    taskStackMaxUsed        OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the maximum number of bytes that have been used by the task 
                from the stack."
        ::= { taskEntry 13 }

    taskStackFree           OBJECT-TYPE
        SYNTAX          Unsigned32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the number of bytes that are free currently in the task stack."
        ::= { taskEntry 14 }

    taskErrorStatus         OBJECT-TYPE
        SYNTAX          Integer32
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION
                "This is the most recent error status for this task."
        ::= { taskEntry 15 }
     
     -- Notifications for use by prvtSysInfMib

     taskSuspended NOTIFICATION-TYPE
         OBJECTS { taskName, taskId}
         STATUS  current
         DESCRIPTION
			"The taskSuspended notification indicates that the sending
			 agent senses that a task has been suspended."
	     ::= {prvtSysInfNotifications 1}

-- *******************************************************************
--  Conformance Information
-- *******************************************************************

    sysInfMIBGroups       OBJECT IDENTIFIER ::= { prvtSysInfConformance 2 }


    sysInfNotificationGroup NOTIFICATION-GROUP
    	NOTIFICATIONS {
    		taskSuspended
    	}
	STATUS current
     	DESCRIPTION
        	"Private system info Notification Group"
     ::= { sysInfMIBGroups 3 }
END