summaryrefslogtreecommitdiff
path: root/MIBS/ubiquoss/UBQS-SYSRSC-MIB
blob: 30ccd7a81e4e040373735f8dfa141f27fda82ed1 (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
--***************************************************************
-- UBQS-SYSRSC-MIB:  Ubiquoss System Resource MIB file
--
-- June 2009, Hyung Eun Park
--
-- Copyright (c) 2009 by Ubiquoss, Corp.
-- All rights reserved.   
-- 
-- *****************************************************************
--

UBQS-SYSRSC-MIB DEFINITIONS ::= BEGIN

IMPORTS
	OBJECT-TYPE
		FROM RFC-1212    
	TruthValue
        FROM SNMPv2-TC
 	ubiSystemMIB
 		FROM UBQS-SYSTEM-MIB;



-- ***********************************************************
-- ubiSysMIBObjects
-- ***********************************************************
 
ubiSystemMIBObjects  	OBJECT IDENTIFIER  		::= { ubiSystemMIB 1 }      

ubiSysRscCpu   		OBJECT IDENTIFIER 		::= { ubiSystemMIBObjects 3 }
ubiSysRscMemory   	OBJECT IDENTIFIER 		::= { ubiSystemMIBObjects 4 }


-- ***********************************************************
-- ubiSysRscCpu
-- ***********************************************************
    ubiCpuFiveSec  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "%"
       ACCESS      read-only
       STATUS      mandatory 
       DESCRIPTION
          "CPU busy percentage in the last 5 second
           period."
       ::= { ubiSysRscCpu 1 }

    ubiCpuOneMin  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "%"       
       ACCESS      read-only
       STATUS      mandatory 
       DESCRIPTION
          "CPU busy percentage in the last 1 minute
           period."
       ::= { ubiSysRscCpu 2 }
	
	ubiCpuFiveMin  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "%"
       ACCESS      read-only
       STATUS      mandatory 
       DESCRIPTION
          "CPU busy percentage in the last 5 minute
           period."
       ::= { ubiSysRscCpu 3 }       

	ubiCpuRisingThreshold  OBJECT-TYPE
       SYNTAX      Counter32 
     UNITS        "%"
       ACCESS      read-write
       STATUS      mandatory 
       DESCRIPTION
          "Rising threshold of CPU Usage."
       ::= { ubiSysRscCpu 4 }

    ubiCpuFallingThreshold  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "%"
       ACCESS      read-write
       STATUS      mandatory 
       DESCRIPTION
          "Falling threshold of CPU Usage."
       ::= { ubiSysRscCpu 5 }  
                             
   	ubiCpuLoadTimePeriod  OBJECT-TYPE
       SYNTAX      INTEGER
       {
       		fiveSec(1),
       		oneMin(2),
       		fiveMin(3)
       }
       ACCESS      read-write
       STATUS      mandatory 
       DESCRIPTION
          "CPU Load Time Period for notification."
       ::= { ubiSysRscCpu 6 }
      
       
 
-- ***********************************************************
-- ubiSysRscMemory
-- ***********************************************************   

    ubiMemoryAlloc  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "kbyte"
       ACCESS      read-only
       STATUS      mandatory 
       DESCRIPTION
          "Memory allocation usage."
       ::= { ubiSysRscMemory 1 }

    ubiMemoryFree  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "kbyte"
       ACCESS  	   read-only
       STATUS      mandatory 
       DESCRIPTION
          "Memory free usage."
       ::= { ubiSysRscMemory 2 }

    ubiMemoryTotal  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "kbyte"
       ACCESS      read-only
       STATUS      mandatory 
       DESCRIPTION
          "Total memory."
       ::= { ubiSysRscMemory 3 }  

    ubiMemoryFreePercentage  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "%"
       ACCESS  	   read-only
       STATUS      mandatory 
       DESCRIPTION
          "memoryUsageFreePercentage indicates available memory 
           allocation space in percentage."
       ::= { ubiSysRscMemory 4 }

    ubiMemoryThreshold  OBJECT-TYPE
       SYNTAX      Counter32
       UNITS        "%"  
       ACCESS  	   read-write
       STATUS      mandatory 
       DESCRIPTION
          "Threshold of the memory usage."
       ::= { ubiSysRscMemory 5 } 
 

-- ***********************************************************
-- ubiSysRscCpu
-- ***********************************************************

ubiSysRscNotificationEnables OBJECT IDENTIFIER ::= { ubiSystemMIBObjects 5 }       
           
	ubiSysRscEnableCpuNotification  OBJECT-TYPE
        SYNTAX      TruthValue
        MAX-ACCESS  read-write
        STATUS      current
        DESCRIPTION
               "This variable  indicates  whether  the  system
                produces the notification of cpu."
        DEFVAL { false }
        ::= { ubiSysRscNotificationEnables 1 }           
        
	ubiSysRscEnableMemoryNotification  OBJECT-TYPE
        SYNTAX      TruthValue
        MAX-ACCESS  read-write
        STATUS      current
        DESCRIPTION
               "This variable  indicates  whether  the  system
                produces the notification of memory."
        DEFVAL { false }
        ::= { ubiSysRscNotificationEnables 2 }
 

 
-- ***********************************************************
-- ubiSysRscMIBNotificationPrefix
-- ***********************************************************
 
-- the following two OBJECT IDENTIFIERS are used to define SNMPv2 Notifications
-- that are backward compatible with SNMPv1 Traps.
ubiSystemMIBNotificationPrefix 	OBJECT IDENTIFIER 	::= { ubiSystemMIB 2 }
ubiSystemMIBNotifications 		OBJECT IDENTIFIER 	::= { ubiSystemMIBNotificationPrefix 0 }
ubiSysRscMIBNotificationObjects OBJECT IDENTIFIER 	::= { ubiSystemMIBNotificationPrefix 1 }


	ubiSysRscCpuRisingNotification NOTIFICATION-TYPE      
     	OBJECTS {            
     			ubiCpuLoadTimePeriod,
                ubiCpuAlarmValue,
                ubiCpuRisingThreshold,
                ubiCpuAlarmState
             }

     	STATUS  current
     	DESCRIPTION     
                "A ubiSysRscCpuRisingNotification is sent if the 
                cpu utilization measured at a given testpoint is outside 
                the configured range for high threshold."
		::= { ubiSystemMIBNotifications 1 }

	ubiSysRscCpuFallingNotification NOTIFICATION-TYPE   
     	OBJECTS {        
     			ubiCpuLoadTimePeriod,
                ubiCpuAlarmValue,
                ubiCpuFallingThreshold,
                ubiCpuAlarmState
             }
     	STATUS  current
     	DESCRIPTION     
                "A ubiSysRscCpuFallingNotification is sent if the 
                cpu utilization measured at a given testpoint is outside 
                the configured range for low threshold."
		::= { ubiSystemMIBNotifications 2 }

	ubiSysRscMemoryRisingNotification NOTIFICATION-TYPE
     	OBJECTS {
                ubiMemoryFreePercentage,
                ubiMemoryThreshold
             }
     	STATUS  current
     	DESCRIPTION     
                "A ubiSysRscMemoryRisingNotification is sent if the 
                memory utilization measured at a given testpoint is outside 
                the configured range for threshold."
		::= { ubiSystemMIBNotifications 3 }

	ubiSysRscMemoryFallingNotification NOTIFICATION-TYPE
     	OBJECTS {
                ubiMemoryFreePercentage,
                ubiMemoryThreshold
             }
     	STATUS  current
     	DESCRIPTION     
                "A ubiSysRscMemoryFallingNotification is sent if the 
                memory utilization measured at a given testpoint is outside 
                the configured range for threshold."
		::= { ubiSystemMIBNotifications 4 }     
	
 
-- ***********************************************************
-- ubiSysRscMIBNotificationObjects
-- ***********************************************************
      
    ubiCpuAlarmValue       OBJECT-TYPE    
        SYNTAX      Counter32
       	UNITS        "%"
        MAX-ACCESS  accessible-for-notify
        STATUS      current
        DESCRIPTION
                "CPU usage for cpuLoadTimePeriod"
        ::= { ubiSysRscMIBNotificationObjects 1 } 

       
    ubiCpuAlarmState       OBJECT-TYPE
        SYNTAX      INTEGER
        {      
        	none(0),
           	high(1),
        	low(2)
        }
        MAX-ACCESS  accessible-for-notify
        STATUS      current
        DESCRIPTION
                "Alarm Severity: 
                 none(0), high(1), low(2)"
        ::= { ubiSysRscMIBNotificationObjects 2 } 
 END