summaryrefslogtreecommitdiff
path: root/MIBS/huawei/HUAWEI-SYSLOG-MIB
blob: 9a963201faf573194cbee717005bb5ebd32da107 (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
-- =================================================================
-- Copyright (C) 2003 by  HUAWEI TECHNOLOGIES. All rights reserved.
--
-- Description:The HUAWEI-SYSLOG-MIB DEFINITIONS provides information about system log
-- Reference:
-- Version: V1.0
-- History:
--     
-- =================================================================

    HUAWEI-SYSLOG-MIB DEFINITIONS ::= BEGIN
 
        IMPORTS
            huaweiUtility            
                FROM HUAWEI-MIB            
            Integer32, OBJECT-TYPE, MODULE-IDENTITY            
                FROM SNMPv2-SMI            
            RowStatus, TEXTUAL-CONVENTION            
                FROM SNMPv2-TC;
    
    
        syslogMIBObjects MODULE-IDENTITY
            LAST-UPDATED "200404240900Z"
            ORGANIZATION
                "Fix-Net Dept, Huawei Technologies Co.,Ltd."
            CONTACT-INFO
                "Floor 5, Block 4, R&D Building,
                Huawei Longgang Production Base,
                Shenzhen,  P.R.C.
                http://www.huawei.com
                Zip: 518129
                " 
            DESCRIPTION 
                "The MIB contains objects of system log."
            ::= { huaweiUtility 35 }
        
--
-- Node definitions
--
    
--  ==================================================================
-- 
-- ======================= definition begin =========================
-- 
-- ================================================================== 
    

    
        syslogEnableAdminStatus OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "
                The board supports the configuration of switch group of system log server.
                The configuration mode can be bit-domain setting, board is numbered 1 to 18, correspondingly to the bit of BIT1 to BIT18, 1 means enable, 0 means disable.     
                "
            ::= { syslogMIBObjects 1 }
        
    --  ============== syslogServerTable  define beginning ==============
        syslogServerTable OBJECT-TYPE
            SYNTAX SEQUENCE OF SyslogServerEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "
                The system log server table.
                "
            ::= { syslogMIBObjects 2 }
        
        syslogServerEntry OBJECT-TYPE
            SYNTAX SyslogServerEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "
                The entry of the system log server table.
                "
            INDEX {syslogServerIpAddress   }
            ::= { syslogServerTable 1 }
        
        SyslogServerEntry ::=
            SEQUENCE { 
                syslogServerIpAddress
                    Integer32,
                syslogPolicyGroupNameSelect
                    OCTET STRING,
                syslogServerRowStatus
                    RowStatus
             }

        syslogServerIpAddress OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "
                The IP address of system log server
                "
            ::= { syslogServerEntry 1 }
        
        syslogPolicyGroupNameSelect OBJECT-TYPE
            SYNTAX OCTET STRING(SIZE (0..31))
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "
                The name of policy group selected by the system log server, one server can only use one policy server group.
                "
            ::= { syslogServerEntry 2 }
        
        syslogServerRowStatus OBJECT-TYPE
            SYNTAX RowStatus
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "
                The row status, used to add and delete.
                "
            ::= { syslogServerEntry 4 }

    --  ============== syslogServerTable  define end ==============         
                
    --  ============== syslogPolicyGroupTable  define beginning ==============
        
        syslogPolicyGroupTable OBJECT-TYPE
            SYNTAX SEQUENCE OF SyslogPolicyGroupEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "The policy group control table."
            ::= { syslogMIBObjects 3 }
        
        syslogPolicyGroupEntry OBJECT-TYPE
            SYNTAX SyslogPolicyGroupEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "The entry of policy group control table."
            INDEX { syslogPolicyGroupName }
            ::= { syslogPolicyGroupTable 1 }
        
        SyslogPolicyGroupEntry ::=
            SEQUENCE { 
                syslogPolicyGroupName
                    OCTET STRING,
                syslogPolicyGroupRowStatus
                    RowStatus
             }

        syslogPolicyGroupName OBJECT-TYPE
            SYNTAX OCTET STRING(SIZE (0..31))
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "
                The name of policy group.
                "
            ::= { syslogPolicyGroupEntry 1 }
        
        syslogPolicyGroupRowStatus OBJECT-TYPE
            SYNTAX RowStatus
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "
                The row status of policy group, used to add and delete."
            ::= { syslogPolicyGroupEntry 2 }

    --  ============== syslogPolicyGroupTable  define end ==============         
                
    --  ============== syslogPolicyConfigTable  define beginning ==============
        
        syslogPolicyConfigTable OBJECT-TYPE
            SYNTAX SEQUENCE OF SyslogPolicyConfigEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "
                The system server policy config table.
                "
            ::= { syslogMIBObjects 4 }
        
        syslogPolicyConfigEntry OBJECT-TYPE
            SYNTAX SyslogPolicyConfigEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "
                The entry of system server policy config table."
            INDEX { syslogPolicyConfigIndex }
            ::= { syslogPolicyConfigTable 1 }
        
        SyslogPolicyConfigEntry ::=
            SEQUENCE { 
                syslogPolicyConfigIndex
                    Integer32,
                syslogPolicyDescr
                    OCTET STRING,
                syslogUserType
                    INTEGER,
                syslogPolicyBoard
                    BITS,
                syslogPolicyIsp
                    OCTET STRING,
                syslogPolicyType
                    INTEGER,
                syslogGroupChoice
                    OCTET STRING,
                syslogPolicyRowStatus
                    RowStatus
             }

        syslogPolicyConfigIndex OBJECT-TYPE
            SYNTAX Integer32 (1..1024)
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "
                The index of system log policy config.
                "
            ::= { syslogPolicyConfigEntry 1 }
        
        syslogPolicyDescr OBJECT-TYPE
            SYNTAX OCTET STRING (SIZE (0..31))
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "
                The description of policy.
                "
            ::= { syslogPolicyConfigEntry 2 }
        
        syslogUserType OBJECT-TYPE
            SYNTAX INTEGER
                {
                all(0),
                portal(1),
                ppp(2),
                l2static(3),
                l2dynamic(4),
                l3(5),
                l2tp(6),
                telnet(7),
                dot1x(101),
                wlan(102),
                others(200)
                }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "
                Filtrating the system log information of different user type.
                "
            ::= { syslogPolicyConfigEntry 3 }
        
        syslogPolicyBoard OBJECT-TYPE
            SYNTAX BITS
                {
                first(1),
                second(2),
                third(3),
                fouth(4),
                fifth(5),
                sixth(6),
                seventh(7),
                eighth(8),
                ninth(9),
                tenth(10),
                eleventh(11),
                twelfth(12),
                thirteenth(13),
                fourteenth(14),
                fifteenth(15),
                sixteenth(16),
                seventennth(17),
                eighteenth(18)
                }
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "
                The board which policy taking effect.
                "
            ::= { syslogPolicyConfigEntry 4 }
        
        syslogPolicyIsp OBJECT-TYPE
            SYNTAX OCTET STRING
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "
                The selection of ISP, the null character means tracing operation log of all ISP.
                More than one ISP can be separated by character ';', for example, if the policy can support 2 ISPs, it can express as ISP1; ISP2.
                "
            ::= { syslogPolicyConfigEntry 5 }
        
        syslogPolicyType OBJECT-TYPE
            SYNTAX INTEGER
                {
                all(1),
                userOperSyslog(2),
                callSyslog(3)
                }
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "
                The selection of system log filter type.
                "
            DEFVAL { 7 }
            ::= { syslogPolicyConfigEntry 6 }
        
        syslogGroupChoice OBJECT-TYPE
            SYNTAX OCTET STRING
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "
                The server group which the policy belongs to. 
                When one policy belongs to more than one policy server group, name of policy server group can be separated by character ';'.
                "
            ::= { syslogPolicyConfigEntry 7 }
        
        syslogPolicyRowStatus OBJECT-TYPE
            SYNTAX RowStatus
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "
                The row status, used to add and delete.
                "
            ::= { syslogPolicyConfigEntry 8 }

    --  ============== syslogPolicyConfigTable  define end ==============         
                
    --  ============== conformance information ==============
        hwSyslogConformance OBJECT IDENTIFIER ::= { syslogMIBObjects 100 }
        
        hwSyslogCompliances OBJECT IDENTIFIER ::= { hwSyslogConformance 1 }
        hwSyslogCompliance MODULE-COMPLIANCE
               STATUS      current
               DESCRIPTION
                   "The compliance statement for systems supporting 
                the this module."

               MODULE      -- this module
               MANDATORY-GROUPS    {hwSyslogAdminStatusObjectGroup, hwSyslogServerObjectGroup,
                                    hwSyslogPolicyGroupObjectGroup, hwSyslogPolicyConfigObjectGroup }  
                                               
              ::= { hwSyslogCompliances 1 }  
              
          
        --  ============== groups ==============  
        hwSyslogObjectGroups OBJECT IDENTIFIER ::= { hwSyslogConformance 2 } 
            
        hwSyslogAdminStatusObjectGroup OBJECT-GROUP
            OBJECTS { syslogEnableAdminStatus }
            STATUS current
            DESCRIPTION 
                "The system log administrate status group."
            ::= { hwSyslogObjectGroups 1 }

        hwSyslogServerObjectGroup OBJECT-GROUP
            OBJECTS { syslogServerIpAddress, syslogPolicyGroupNameSelect, syslogServerRowStatus }
            STATUS current
            DESCRIPTION 
                "The system log server group."
            ::= { hwSyslogObjectGroups 2 }
        
        hwSyslogPolicyGroupObjectGroup OBJECT-GROUP
            OBJECTS { syslogPolicyGroupName, syslogPolicyGroupRowStatus }
            STATUS current
            DESCRIPTION 
                "The system log policy group."
            ::= { hwSyslogObjectGroups 3 }
        
        hwSyslogPolicyConfigObjectGroup OBJECT-GROUP
            OBJECTS { syslogPolicyDescr, syslogUserType, syslogPolicyBoard,
                      syslogPolicyIsp, syslogPolicyType,syslogGroupChoice,
                      syslogPolicyRowStatus }
            STATUS current
            DESCRIPTION 
                "The system log policy config group."
            ::= { hwSyslogObjectGroups 4 }
        
            
            
        --  ============== conformance information define end ==============            
    
    END