-
Notifications
You must be signed in to change notification settings - Fork 0
/
hpicfDebugLog.mib
250 lines (219 loc) · 9.78 KB
/
hpicfDebugLog.mib
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
HP-ICF-DEBUGLOG-MIB DEFINITIONS ::= BEGIN
IMPORTS
hpicfDebugLog
FROM HP-ICF-OID
Integer32, MODULE-IDENTITY, OBJECT-TYPE
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString, TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF;
hpicfDebugLogMib MODULE-IDENTITY
LAST-UPDATED "200909220000Z" -- Sep 22, 2009
ORGANIZATION "HP Networking"
CONTACT-INFO "Hewlett Packard Company
8000 Foothills Blvd.
Roseville, CA 95747"
DESCRIPTION "The Debug MIB allows to enable / disable debug
logging for all debug message types. This
HP application enables / disables
debug log messages."
REVISION "200909220000Z" -- Sep 22, 2009
DESCRIPTION "Initial version of this MIB module."
::= { hpicfDebugLog 1 }
-- -------------------------------------------------------------
-- Textual Conventions
-- -------------------------------------------------------------
HpicfDebugDestType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "This value specifies the destination for the debug
log messages as described below.
syslog - Send debug messages to syslog server.
buffer - Print debug messages to a buffer in memory.
The destination type will be 'none' by default. The
destination for debug logging can be set to Syslog-
Server/Debug Buffer or a combination of these."
SYNTAX INTEGER
{
none (0),
syslog (1),
buffer (2)
}
HpicfDebugLogLevels ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "This textual convention enumerates the Log levels for
a debug message type such as SSH for debug logging."
SYNTAX INTEGER
{
quiet (0),
fatal (1),
error (2),
info (3),
verbose (4),
debug (5),
debug2 (6),
debug3 (7)
}
-- -------------------------------------------------------------
-- hpicfDebugLogMib - the main groups
-- -------------------------------------------------------------
hpicfDebugLogObjects OBJECT IDENTIFIER ::= { hpicfDebugLogMib 1 }
hpicfDebugLogConformance OBJECT IDENTIFIER ::= { hpicfDebugLogMib 2 }
-- -------------------------------------------------------------
-- debug log table
-- -------------------------------------------------------------
hpicfDebugLogControlTable OBJECT-TYPE
SYNTAX SEQUENCE OF HpicfDebugLogControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "This table contains one entry per debug message
type for debug logging configuration."
::= { hpicfDebugLogObjects 1 }
hpicfDebugLogControlEntry OBJECT-TYPE
SYNTAX HpicfDebugLogControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Debug logging configuration information for a
particular debug message type."
INDEX { hpicfDebugLogIndex }
::= { hpicfDebugLogControlTable 1 }
HpicfDebugLogControlEntry ::=
SEQUENCE {
hpicfDebugLogIndex Integer32,
hpicfDebugLogDescr DisplayString,
hpicfDebugLogContainedIn Integer32,
hpicfDebugLogStatus TruthValue
}
hpicfDebugLogIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An unique number that identifies the debug
message type for debug logging."
::= { hpicfDebugLogControlEntry 1 }
hpicfDebugLogDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "This object provides description for the debug
message type that can be enabled for
debug logging."
::= { hpicfDebugLogControlEntry 2 }
hpicfDebugLogContainedIn OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION "The value of hpicfDebugLogIndex for the
debug message type which 'contains' this debug
message type. Note that the set of
'containment' relationships define a
strict hierarchy."
::= { hpicfDebugLogControlEntry 3 }
hpicfDebugLogStatus OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION "This object determines the enable/disable
status of a debug message type for debug
logging."
::= { hpicfDebugLogControlEntry 4 }
-- -------------------------------------------------------------
-- debug log level scalar
-- -------------------------------------------------------------
hpicfDebugLogLevel OBJECT-TYPE
SYNTAX HpicfDebugLogLevels
MAX-ACCESS read-write
STATUS current
DESCRIPTION "The log level value for debug message type such
as SSH.This scalar takes syslog severity values
'fatal|error|info|verbose|debug|debug2|debug3'.
"
DEFVAL { info }
::= { hpicfDebugLogObjects 2 }
-- -------------------------------------------------------------
-- debug destination table
-- -------------------------------------------------------------
hpicfDebugDestControlTable OBJECT-TYPE
SYNTAX SEQUENCE OF HpicfDebugDestControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "This table contains one entry per debug
destination type i.e. Syslog/Buffer."
::= { hpicfDebugLogObjects 3 }
hpicfDebugDestControlEntry OBJECT-TYPE
SYNTAX HpicfDebugDestControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Debug logging configuration information for a
particular debug destination type."
INDEX { hpicfDebugDestIndex }
::= { hpicfDebugDestControlTable 1 }
HpicfDebugDestControlEntry ::=
SEQUENCE {
hpicfDebugDestIndex HpicfDebugDestType,
hpicfDebugDestStatus TruthValue
}
hpicfDebugDestIndex OBJECT-TYPE
SYNTAX HpicfDebugDestType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "The index that uniquely identifies each debug
destination type for debug logging."
::= { hpicfDebugDestControlEntry 1 }
hpicfDebugDestStatus OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION "This object determines the enable/disable status
of a particular debug destination type i.e.
Syslog Server/Buffer."
::= { hpicfDebugDestControlEntry 2 }
----------------------------------------------------------------
-- Conformance Information
----------------------------------------------------------------
hpicfDebugLogCompliances OBJECT IDENTIFIER ::=
{ hpicfDebugLogConformance 1 }
hpicfDebugLogGroups OBJECT IDENTIFIER ::=
{ hpicfDebugLogConformance 2 }
hpicfDebugDestGroups OBJECT IDENTIFIER ::=
{ hpicfDebugLogConformance 3 }
-- -------------------------------------------------------------
-- units of conformance
-- -------------------------------------------------------------
hpicfDebugLogGroup OBJECT-GROUP
OBJECTS {
hpicfDebugLogDescr,
hpicfDebugLogContainedIn,
hpicfDebugLogStatus,
hpicfDebugLogLevel
}
STATUS current
DESCRIPTION "A collection of objects representing the
configuration parameters for debug logging."
::= { hpicfDebugLogGroups 1}
hpicfDebugDestGroup OBJECT-GROUP
OBJECTS {
hpicfDebugDestStatus
}
STATUS current
DESCRIPTION "A collection of objects representing the
configuration parameters for debug destination.
"
::= { hpicfDebugDestGroups 1}
-- -------------------------------------------------------------
-- compliance statements
-- -------------------------------------------------------------
hpicfDebugLogCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for debug logging entities which
implement the DEBUGLOG-MIB with support for writable
objects. Such an implementation can be both monitored and
configured via SNMP."
MODULE -- this module
MANDATORY-GROUPS {
hpicfDebugLogGroup,
hpicfDebugDestGroup
}
::= { hpicfDebugLogCompliances 1 }
END