forked from willamowius/gnugk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gnugk.mib
284 lines (241 loc) · 8.6 KB
/
gnugk.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
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
-- *****************************************************************
-- A MIB for the GNU Gatekeeper (GnuGk)
--
-- May 2019, Jan Willamowius
--
-- Copyright (c) 2008-2019 by Jan Willamowius, https://www.willamowius.com
-- All rights reserved.
-- *****************************************************************
--
GNU-GATEKEEPER-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, OBJECT-IDENTITY,
Unsigned32, Counter32, enterprises
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, NOTIFICATION-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF;
gnugkMIB MODULE-IDENTITY
LAST-UPDATED "201905230000Z"
ORGANIZATION "GNU Gatekeeper Project"
CONTACT-INFO
" Jan Willamowius
Web: https://www.gnugk.org
Email: [email protected]"
DESCRIPTION "SNMP MIB for the GNU Gatekeeper"
REVISION "201905230000Z"
DESCRIPTION "Draft"
::= { enterprises 27938 }
gnugkMIBObjects OBJECT IDENTIFIER ::= { gnugkMIB 11 }
gnugkTraps OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Traps for GnuGk MIB"
::= { gnugkMIBObjects 0 }
gnugkStatusObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Status objects"
::= { gnugkMIBObjects 1 }
gnugkTrapObjects OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Data objects for traps"
::= { gnugkMIBObjects 2 }
gnugkVersion OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..10))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "GnuGk version"
::= { gnugkStatusObjects 1 }
gnugkFeatures OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "GnuGk feature string"
::= { gnugkStatusObjects 2 }
gnugkRegistrations OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Number of endpoint registrations"
::= { gnugkStatusObjects 3 }
gnugkOngoingCalls OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Number of ongoing calls"
::= { gnugkStatusObjects 4 }
gnugkTracelevel OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Current GnuGk trace level"
::= { gnugkStatusObjects 5 }
gnugkCatchAllDestination OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Destination for the CatchAll routing policy"
::= { gnugkStatusObjects 6 }
gnugkTotalCalls OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Total calls since startup"
::= { gnugkStatusObjects 7 }
gnugkSuccessfulCalls OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Successful calls since startup"
::= { gnugkStatusObjects 8 }
gnugkBandwidthAllocated OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Total bandwidth allocated for all ongoing calls in kbps"
::= { gnugkStatusObjects 9 }
-- data objects for traps / notifications
gnugkTrapSeverity OBJECT-TYPE
SYNTAX INTEGER { error(1), warning(2), info(3) }
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Trap severity"
::= { gnugkTrapObjects 1 }
gnugkTrapGroup OBJECT-TYPE
SYNTAX INTEGER { general(1), network(2), database(3), accounting(4), authentication(5), configuration(6) }
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Trap group"
::= { gnugkTrapObjects 2 }
gnugkTrapDisplayString OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..255))
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION "Trap description for display"
::= { gnugkTrapObjects 3 }
-- traps / notifications
gnugkStarted NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "GnuGk was started"
::= { gnugkTraps 1 }
gnugkStopped NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "GnuGk was stopped"
::= { gnugkTraps 2 }
gnugkConfigReload NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "Configuration was reloaded"
::= { gnugkTraps 3 }
gnugkModuleFailed NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "The creation of an internal module failed"
::= { gnugkTraps 4 }
gnugkDatabaseError NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "Database operation failure"
::= { gnugkTraps 5 }
gnugkIOError NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "IO operation failure"
::= { gnugkTraps 6 }
gnugkGeneralError NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "General error"
::= { gnugkTraps 7 }
gnugkAuthenticationError NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "Authentication error"
::= { gnugkTraps 8 }
gnugkEncodingError NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "Message encoding/decoding error"
::= { gnugkTraps 9 }
gnugkNetworkError NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "Network error"
::= { gnugkTraps 10 }
gnugkNeighborError NOTIFICATION-TYPE
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION "Neighbor error"
::= { gnugkTraps 11 }
-- conformance
gnugkStatusConf OBJECT-GROUP
OBJECTS { gnugkVersion,
gnugkFeatures,
gnugkRegistrations,
gnugkOngoingCalls,
gnugkTracelevel,
gnugkCatchAllDestination,
gnugkTotalCalls,
gnugkSuccessfulCalls }
STATUS current
DESCRIPTION
"Conformance group for GnuGk MIB"
::= { gnugkMIBObjects 999 }
gnugkTrapObjectsConf OBJECT-GROUP
OBJECTS { gnugkTrapSeverity,
gnugkTrapGroup,
gnugkTrapDisplayString }
STATUS current
DESCRIPTION
"Conformance group for GnuGk MIB"
::= { gnugkMIBObjects 998 }
gnugkTrapsConf NOTIFICATION-GROUP
NOTIFICATIONS { gnugkStarted,
gnugkStopped,
gnugkConfigReload,
gnugkModuleFailed,
gnugkDatabaseError,
gnugkIOError,
gnugkGeneralError,
gnugkAuthenticationError,
gnugkEncodingError,
gnugkNetworkError,
gnugkNeighborError }
STATUS current
DESCRIPTION
"Conformance group for GnuGk MIB"
::= { gnugkMIBObjects 997 }
gnugkMIBConformance OBJECT IDENTIFIER ::= {gnugkMIB 5}
gnugkMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION "Compliance statement"
MODULE MANDATORY-GROUPS { gnugkStatusConf, gnugkTrapObjectsConf, gnugkTrapsConf }
::= {gnugkMIBConformance 1}
END