telemetry-snmp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/rspec.yml +44 -0
  3. data/.github/workflows/rubocop.yml +28 -0
  4. data/.github/workflows/sourcehawk-scan.yml +20 -0
  5. data/.gitignore +14 -0
  6. data/.rspec +4 -0
  7. data/.rubocop.yml +26 -0
  8. data/CHANGELOG.md +4 -0
  9. data/CODE_OF_CONDUCT.md +75 -0
  10. data/CONTRIBUTING.md +54 -0
  11. data/Gemfile +10 -0
  12. data/INDIVIDUAL_CONTRIBUTOR_LICENSE.md +30 -0
  13. data/LICENSE +201 -0
  14. data/NOTICE.txt +9 -0
  15. data/README.md +54 -0
  16. data/attribution.txt +1 -0
  17. data/config.ru +15 -0
  18. data/exe/snmp_collector +55 -0
  19. data/lib/telemetry/snmp.rb +23 -0
  20. data/lib/telemetry/snmp/api.rb +55 -0
  21. data/lib/telemetry/snmp/auth.rb +54 -0
  22. data/lib/telemetry/snmp/auth/defaults.rb +41 -0
  23. data/lib/telemetry/snmp/client.rb +104 -0
  24. data/lib/telemetry/snmp/controllers/device_creds.rb +105 -0
  25. data/lib/telemetry/snmp/controllers/devices.rb +94 -0
  26. data/lib/telemetry/snmp/controllers/oid_groups.rb +71 -0
  27. data/lib/telemetry/snmp/controllers/oids.rb +80 -0
  28. data/lib/telemetry/snmp/controllers/users.rb +81 -0
  29. data/lib/telemetry/snmp/controllers/walks.rb +89 -0
  30. data/lib/telemetry/snmp/data.rb +69 -0
  31. data/lib/telemetry/snmp/data/default_opts.rb +73 -0
  32. data/lib/telemetry/snmp/data/migrations/001_device_creds.rb +19 -0
  33. data/lib/telemetry/snmp/data/migrations/002_create_devices_table.rb +31 -0
  34. data/lib/telemetry/snmp/data/migrations/003_create_oids_tables.rb +16 -0
  35. data/lib/telemetry/snmp/data/migrations/004_create_oid_groups.rb +15 -0
  36. data/lib/telemetry/snmp/data/migrations/005_create_oids_oid_groups.rb +17 -0
  37. data/lib/telemetry/snmp/data/migrations/006_device_to_oid_group.rb +15 -0
  38. data/lib/telemetry/snmp/data/migrations/007_create_users.rb +20 -0
  39. data/lib/telemetry/snmp/data/migrations/008_create_walks_table.rb +14 -0
  40. data/lib/telemetry/snmp/data/migrations/009_create_tag_name_column.rb +7 -0
  41. data/lib/telemetry/snmp/data/migrations/010_create_user_audit_table.rb +18 -0
  42. data/lib/telemetry/snmp/data/models/device.rb +11 -0
  43. data/lib/telemetry/snmp/data/models/device_cred.rb +11 -0
  44. data/lib/telemetry/snmp/data/models/oid.rb +10 -0
  45. data/lib/telemetry/snmp/data/models/oid_group.rb +10 -0
  46. data/lib/telemetry/snmp/data/models/oid_oid_groups.rb +10 -0
  47. data/lib/telemetry/snmp/data/models/oid_walk.rb +10 -0
  48. data/lib/telemetry/snmp/data/models/user.rb +10 -0
  49. data/lib/telemetry/snmp/data/models/user_audit_log.rb +19 -0
  50. data/lib/telemetry/snmp/mibs/AGENTX-MIB.txt +527 -0
  51. data/lib/telemetry/snmp/mibs/AIRPORT-BASESTATION-3-MIB.txt +461 -0
  52. data/lib/telemetry/snmp/mibs/BRIDGE-MIB.txt +1472 -0
  53. data/lib/telemetry/snmp/mibs/DISMAN-EVENT-MIB.txt +1882 -0
  54. data/lib/telemetry/snmp/mibs/DISMAN-SCHEDULE-MIB.txt +699 -0
  55. data/lib/telemetry/snmp/mibs/DISMAN-SCRIPT-MIB.txt +1764 -0
  56. data/lib/telemetry/snmp/mibs/EtherLike-MIB.txt +1862 -0
  57. data/lib/telemetry/snmp/mibs/HCNUM-TC.txt +118 -0
  58. data/lib/telemetry/snmp/mibs/HOST-RESOURCES-MIB.txt +1540 -0
  59. data/lib/telemetry/snmp/mibs/HOST-RESOURCES-TYPES.txt +389 -0
  60. data/lib/telemetry/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt +123 -0
  61. data/lib/telemetry/snmp/mibs/IANA-LANGUAGE-MIB.txt +123 -0
  62. data/lib/telemetry/snmp/mibs/IANA-RTPROTO-MIB.txt +91 -0
  63. data/lib/telemetry/snmp/mibs/IANAifType-MIB.txt +619 -0
  64. data/lib/telemetry/snmp/mibs/IF-INVERTED-STACK-MIB.txt +149 -0
  65. data/lib/telemetry/snmp/mibs/IF-MIB.txt +1814 -0
  66. data/lib/telemetry/snmp/mibs/INET-ADDRESS-MIB.txt +402 -0
  67. data/lib/telemetry/snmp/mibs/IP-FORWARD-MIB.txt +1277 -0
  68. data/lib/telemetry/snmp/mibs/IP-MIB.txt +4993 -0
  69. data/lib/telemetry/snmp/mibs/IPV6-FLOW-LABEL-MIB.txt +58 -0
  70. data/lib/telemetry/snmp/mibs/IPV6-ICMP-MIB.txt +529 -0
  71. data/lib/telemetry/snmp/mibs/IPV6-MIB.txt +1443 -0
  72. data/lib/telemetry/snmp/mibs/IPV6-TC.txt +67 -0
  73. data/lib/telemetry/snmp/mibs/IPV6-TCP-MIB.txt +211 -0
  74. data/lib/telemetry/snmp/mibs/IPV6-UDP-MIB.txt +141 -0
  75. data/lib/telemetry/snmp/mibs/NET-SNMP-AGENT-MIB.txt +554 -0
  76. data/lib/telemetry/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt +285 -0
  77. data/lib/telemetry/snmp/mibs/NET-SNMP-EXTEND-MIB.txt +325 -0
  78. data/lib/telemetry/snmp/mibs/NET-SNMP-MIB.txt +67 -0
  79. data/lib/telemetry/snmp/mibs/NET-SNMP-PASS-MIB.txt +124 -0
  80. data/lib/telemetry/snmp/mibs/NET-SNMP-TC.txt +128 -0
  81. data/lib/telemetry/snmp/mibs/NET-SNMP-VACM-MIB.txt +154 -0
  82. data/lib/telemetry/snmp/mibs/NOTIFICATION-LOG-MIB.txt +753 -0
  83. data/lib/telemetry/snmp/mibs/PAN-COMMON-MIB.md5 +1 -0
  84. data/lib/telemetry/snmp/mibs/PAN-COMMON-MIB.my +2293 -0
  85. data/lib/telemetry/snmp/mibs/PAN-ENTITY-EXT-MIB.md5 +1 -0
  86. data/lib/telemetry/snmp/mibs/PAN-ENTITY-EXT-MIB.my +293 -0
  87. data/lib/telemetry/snmp/mibs/PAN-GLOBAL-REG-MIB.md5 +1 -0
  88. data/lib/telemetry/snmp/mibs/PAN-GLOBAL-REG-MIB.my +84 -0
  89. data/lib/telemetry/snmp/mibs/PAN-GLOBAL-TC-MIB.md5 +1 -0
  90. data/lib/telemetry/snmp/mibs/PAN-GLOBAL-TC-MIB.my +68 -0
  91. data/lib/telemetry/snmp/mibs/PAN-LC-MIB.md5 +1 -0
  92. data/lib/telemetry/snmp/mibs/PAN-LC-MIB.my +204 -0
  93. data/lib/telemetry/snmp/mibs/PAN-PRODUCT-MIB.md5 +1 -0
  94. data/lib/telemetry/snmp/mibs/PAN-PRODUCT-MIB.my +305 -0
  95. data/lib/telemetry/snmp/mibs/PAN-TRAPS.md5 +1 -0
  96. data/lib/telemetry/snmp/mibs/PAN-TRAPS.my +7809 -0
  97. data/lib/telemetry/snmp/mibs/RFC-1215.txt +38 -0
  98. data/lib/telemetry/snmp/mibs/RFC1155-SMI.txt +119 -0
  99. data/lib/telemetry/snmp/mibs/RFC1213-MIB.txt +2613 -0
  100. data/lib/telemetry/snmp/mibs/RMON-MIB.txt +3980 -0
  101. data/lib/telemetry/snmp/mibs/SCTP-MIB.txt +1342 -0
  102. data/lib/telemetry/snmp/mibs/SMUX-MIB.txt +160 -0
  103. data/lib/telemetry/snmp/mibs/SNMP-COMMUNITY-MIB.txt +429 -0
  104. data/lib/telemetry/snmp/mibs/SNMP-FRAMEWORK-MIB.txt +526 -0
  105. data/lib/telemetry/snmp/mibs/SNMP-MPD-MIB.txt +145 -0
  106. data/lib/telemetry/snmp/mibs/SNMP-NOTIFICATION-MIB.txt +589 -0
  107. data/lib/telemetry/snmp/mibs/SNMP-PROXY-MIB.txt +294 -0
  108. data/lib/telemetry/snmp/mibs/SNMP-TARGET-MIB.txt +660 -0
  109. data/lib/telemetry/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt +912 -0
  110. data/lib/telemetry/snmp/mibs/SNMP-USM-AES-MIB.txt +62 -0
  111. data/lib/telemetry/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.txt +532 -0
  112. data/lib/telemetry/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt +830 -0
  113. data/lib/telemetry/snmp/mibs/SNMPv2-CONF.txt +322 -0
  114. data/lib/telemetry/snmp/mibs/SNMPv2-MIB.txt +854 -0
  115. data/lib/telemetry/snmp/mibs/SNMPv2-SMI.txt +344 -0
  116. data/lib/telemetry/snmp/mibs/SNMPv2-TC.txt +772 -0
  117. data/lib/telemetry/snmp/mibs/SNMPv2-TM.txt +176 -0
  118. data/lib/telemetry/snmp/mibs/TCP-MIB.txt +785 -0
  119. data/lib/telemetry/snmp/mibs/TRANSPORT-ADDRESS-MIB.txt +421 -0
  120. data/lib/telemetry/snmp/mibs/TUNNEL-MIB.txt +738 -0
  121. data/lib/telemetry/snmp/mibs/UCD-DEMO-MIB.txt +74 -0
  122. data/lib/telemetry/snmp/mibs/UCD-DISKIO-MIB.txt +171 -0
  123. data/lib/telemetry/snmp/mibs/UCD-DLMOD-MIB.txt +124 -0
  124. data/lib/telemetry/snmp/mibs/UCD-IPFWACC-MIB.txt +327 -0
  125. data/lib/telemetry/snmp/mibs/UCD-SNMP-MIB.txt +1712 -0
  126. data/lib/telemetry/snmp/mibs/UDP-MIB.txt +549 -0
  127. data/lib/telemetry/snmp/publisher.rb +130 -0
  128. data/lib/telemetry/snmp/version.rb +7 -0
  129. data/sourcehawk.yml +4 -0
  130. data/telemetry-snmp.gemspec +48 -0
  131. metadata +456 -0
@@ -0,0 +1,1712 @@
1
+ UCD-SNMP-MIB DEFINITIONS ::= BEGIN
2
+
3
+ -- Design notes:
4
+ --
5
+ -- The design of this mib may seem unusual in parts, as it was
6
+ -- designed for ease of numerical management routines.
7
+ --
8
+ -- In that light, most sub-sections of this mib have four common
9
+ -- numerical oid consistencies:
10
+ --
11
+ -- 2021.ID.1 : an integer index value. In scalers, this is always
12
+ -- of value 1. In tables it is a row index.
13
+ -- 2021.ID.2 : a name of the script, process, etc. that this row represents.
14
+ -- 2021.ID.100 : An error flag indicating if an error is present on
15
+ -- that row (a threshold value was crossed, etc).
16
+ -- 2021.ID.101 : An error string describing why the error flag is non-0.
17
+ --
18
+ -- These conventions enable managers to easy examine portions of the
19
+ -- mib by setting the ID to the sub-section they are interested in
20
+ -- monitoring, and then scanning the .100 value to check for an
21
+ -- error(s), and get a more specific error message from .101 for the
22
+ -- named check found in .2.
23
+ --
24
+ -- Row numbers between 2 and 100 are sub-section specific.
25
+ --
26
+ -- Mib sections utilizing the above conventions:
27
+ -- Tables: procTable, execTable, diskTable, loadTable
28
+ -- Scalers: memory, snmperrs
29
+
30
+
31
+ IMPORTS
32
+ OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY,
33
+ Integer32, Opaque, enterprises, Counter32, Unsigned32
34
+ FROM SNMPv2-SMI
35
+
36
+ TEXTUAL-CONVENTION, DisplayString, TruthValue
37
+ FROM SNMPv2-TC;
38
+
39
+ ucdavis MODULE-IDENTITY
40
+ LAST-UPDATED "200901190000Z"
41
+ ORGANIZATION "University of California, Davis"
42
+ CONTACT-INFO
43
+ "This mib is no longer being maintained by the University of
44
+ California and is now in life-support-mode and being
45
+ maintained by the net-snmp project. The best place to write
46
+ for public questions about the net-snmp-coders mailing list
47
+ at net-snmp-coders@lists.sourceforge.net.
48
+
49
+ postal: Wes Hardaker
50
+ P.O. Box 382
51
+ Davis CA 95617
52
+
53
+ email: net-snmp-coders@lists.sourceforge.net
54
+ "
55
+ DESCRIPTION
56
+ "This file defines the private UCD SNMP MIB extensions."
57
+
58
+ REVISION "200901190000Z"
59
+ DESCRIPTION
60
+ "New 64-bit objects for monitoring large disk usage"
61
+
62
+ REVISION "200611220000Z"
63
+ DESCRIPTION
64
+ "Clarify behaviour of objects in the memory & systemStats groups
65
+ (including updated versions of malnamed mem*Text objects).
66
+ Define suitable TCs to describe error reporting/fix behaviour."
67
+
68
+ REVISION "200404070000Z"
69
+ DESCRIPTION
70
+ "Added ssCpuRawSoftIRQ for Linux (2.6) and forgotten raw swap counters."
71
+
72
+ REVISION "200209050000Z"
73
+ DESCRIPTION
74
+ "Deprecate the non-raw objects."
75
+
76
+ REVISION "200109200000Z"
77
+ DESCRIPTION
78
+ "Group to monitor log files"
79
+
80
+ REVISION "200101170000Z"
81
+ DESCRIPTION
82
+ "Added raw CPU and IO counters."
83
+
84
+ REVISION "9912090000Z"
85
+ DESCRIPTION
86
+ "SMIv2 version converted from older MIB definitions."
87
+ ::= { enterprises 2021 }
88
+
89
+ -- Current UCD core mib table entries:
90
+ -- prTable OBJECT IDENTIFIER ::= { ucdavis 2 }
91
+ -- memory OBJECT IDENTIFIER ::= { ucdavis 4 }
92
+ -- extTable OBJECT IDENTIFIER ::= { ucdavis 8 }
93
+ -- diskTable OBJECT IDENTIFIER ::= { ucdavis 9 }
94
+ -- loadTable OBJECT IDENTIFIER ::= { ucdavis 10 }
95
+ -- systemStats OBJECT IDENTIFIER ::= { ucdavis 11 }
96
+ -- ucdDemoMIB OBJECT IDENTIFIER ::= { ucdavis 14 } - UCD-DEMO-MIB
97
+ -- fileTable OBJECT IDENTIFIER ::= { ucdavis 15 }
98
+ -- logMatch OBJECT IDENTIFIER ::= { ucdavis 16 }
99
+ -- version OBJECT IDENTIFIER ::= { ucdavis 100 }
100
+ -- snmperrs OBJECT IDENTIFIER ::= { ucdavis 101 }
101
+ -- mibRegistryTable OBJECT IDENTIFIER ::= { ucdavis 102 }
102
+
103
+ -- Older mib table entries that were changed to new locations above:
104
+ -- processes OBJECT IDENTIFIER ::= { ucdavis 1 }
105
+ -- exec OBJECT IDENTIFIER ::= { ucdavis 3 }
106
+ -- disk OBJECT IDENTIFIER ::= { ucdavis 6 }
107
+ -- load OBJECT IDENTIFIER ::= { ucdavis 7 }
108
+
109
+ -- Never implemented and removed from the mib:
110
+ -- lockd OBJECT IDENTIFIER ::= { ucdavis 5 }
111
+
112
+ -- Branches for registering other UCD MIB modules:
113
+ ucdInternal OBJECT IDENTIFIER ::= { ucdavis 12 }
114
+ ucdExperimental OBJECT IDENTIFIER ::= { ucdavis 13 }
115
+
116
+ -- OID values assigned in the ucdExperimental branch:
117
+ -- ucdIpFwAccMIB OBJECT IDENTIFIER ::= { ucdExperimental 1 } - UCD-IPFWACC-MIB
118
+ -- ucdIpFilter OBJECT IDENTIFIER ::= { ucdExperimental 2 } - UCD-IPFILTER-MIB
119
+ -- wavelan OBJECT IDENTIFIER ::= { ucdExperimental 3 } - WL-MIB
120
+ -- ucdDlmodMIB OBJECT IDENTIFIER ::= { ucdExperimental 14 } - UCD-DLMOD-MIB
121
+ -- ucdDiskIOMIB OBJECT IDENTIFIER ::= { ucdExperimental 15 } - UCD-DISKIO-MIB
122
+ -- lmSensors OBJECT IDENTIFIER ::= { ucdExperimental 16 } - LM-SENSORS-MIB
123
+
124
+
125
+ -- These are the old returned values of the agent type.
126
+ -- originally returned to: .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0
127
+ -- Current versions of the agent return an equivalent OID from the netSnmpAgentOIDs
128
+ -- tree (defined in NET-SNMP-TC), which includes values for some additional O/Ss
129
+
130
+ ucdSnmpAgent OBJECT IDENTIFIER ::= { ucdavis 250 }
131
+ hpux9 OBJECT IDENTIFIER ::= { ucdSnmpAgent 1 }
132
+ sunos4 OBJECT IDENTIFIER ::= { ucdSnmpAgent 2 }
133
+ solaris OBJECT IDENTIFIER ::= { ucdSnmpAgent 3 }
134
+ osf OBJECT IDENTIFIER ::= { ucdSnmpAgent 4 }
135
+ ultrix OBJECT IDENTIFIER ::= { ucdSnmpAgent 5 }
136
+ hpux10 OBJECT IDENTIFIER ::= { ucdSnmpAgent 6 }
137
+ netbsd1 OBJECT IDENTIFIER ::= { ucdSnmpAgent 7 }
138
+ freebsd OBJECT IDENTIFIER ::= { ucdSnmpAgent 8 }
139
+ irix OBJECT IDENTIFIER ::= { ucdSnmpAgent 9 }
140
+ linux OBJECT IDENTIFIER ::= { ucdSnmpAgent 10 }
141
+ bsdi OBJECT IDENTIFIER ::= { ucdSnmpAgent 11 }
142
+ openbsd OBJECT IDENTIFIER ::= { ucdSnmpAgent 12 }
143
+ win32 OBJECT IDENTIFIER ::= { ucdSnmpAgent 13 } -- unlucky
144
+ hpux11 OBJECT IDENTIFIER ::= { ucdSnmpAgent 14 }
145
+ aix OBJECT IDENTIFIER ::= { ucdSnmpAgent 15 }
146
+ macosx OBJECT IDENTIFIER ::= { ucdSnmpAgent 16 }
147
+ dragonfly OBJECT IDENTIFIER ::= { ucdSnmpAgent 17 }
148
+ unknown OBJECT IDENTIFIER ::= { ucdSnmpAgent 255 }
149
+
150
+
151
+ --
152
+ -- Define the Float Textual Convention
153
+ -- This definition was written by David Perkins.
154
+ --
155
+
156
+ Float ::= TEXTUAL-CONVENTION
157
+ STATUS current
158
+ DESCRIPTION
159
+ "A single precision floating-point number. The semantics
160
+ and encoding are identical for type 'single' defined in
161
+ IEEE Standard for Binary Floating-Point,
162
+ ANSI/IEEE Std 754-1985.
163
+ The value is restricted to the BER serialization of
164
+ the following ASN.1 type:
165
+ FLOATTYPE ::= [120] IMPLICIT FloatType
166
+ (note: the value 120 is the sum of '30'h and '48'h)
167
+ The BER serialization of the length for values of
168
+ this type must use the definite length, short
169
+ encoding form.
170
+
171
+ For example, the BER serialization of value 123
172
+ of type FLOATTYPE is '9f780442f60000'h. (The tag
173
+ is '9f78'h; the length is '04'h; and the value is
174
+ '42f60000'h.) The BER serialization of value
175
+ '9f780442f60000'h of data type Opaque is
176
+ '44079f780442f60000'h. (The tag is '44'h; the length
177
+ is '07'h; and the value is '9f780442f60000'h."
178
+ SYNTAX Opaque (SIZE (7))
179
+
180
+ UCDErrorFlag ::= TEXTUAL-CONVENTION
181
+ STATUS current
182
+ DESCRIPTION
183
+ "Represents a possible error condition"
184
+ SYNTAX INTEGER { noError(0), error(1) }
185
+
186
+ UCDErrorFix ::= TEXTUAL-CONVENTION
187
+ STATUS current
188
+ DESCRIPTION
189
+ "Represents a 'push-button' object, to invoke a suitable
190
+ configured action. Will always return 0 when read."
191
+ SYNTAX INTEGER { noError(0), runFix(1) }
192
+
193
+ --
194
+ -- Process table checks
195
+ --
196
+
197
+ prTable OBJECT-TYPE
198
+ SYNTAX SEQUENCE OF PrEntry
199
+ MAX-ACCESS not-accessible
200
+ STATUS current
201
+ DESCRIPTION
202
+ "A table containing information on running
203
+ programs/daemons configured for monitoring in the
204
+ snmpd.conf file of the agent. Processes violating the
205
+ number of running processes required by the agent's
206
+ configuration file are flagged with numerical and
207
+ textual errors."
208
+ ::= { ucdavis 2 }
209
+
210
+ prEntry OBJECT-TYPE
211
+ SYNTAX PrEntry
212
+ MAX-ACCESS not-accessible
213
+ STATUS current
214
+ DESCRIPTION
215
+ "An entry containing a process and its statistics."
216
+ INDEX { prIndex }
217
+ ::= { prTable 1 }
218
+
219
+ PrEntry ::= SEQUENCE {
220
+ prIndex Integer32,
221
+ prNames DisplayString,
222
+ prMin Integer32,
223
+ prMax Integer32,
224
+ prCount Integer32,
225
+ prErrorFlag UCDErrorFlag,
226
+ prErrMessage DisplayString,
227
+ prErrFix UCDErrorFix,
228
+ prErrFixCmd DisplayString
229
+ }
230
+
231
+ prIndex OBJECT-TYPE
232
+ SYNTAX Integer32 (0..65535)
233
+ MAX-ACCESS read-only
234
+ STATUS current
235
+ DESCRIPTION
236
+ "Reference Index for each observed process."
237
+ ::= { prEntry 1 }
238
+
239
+ prNames OBJECT-TYPE
240
+ SYNTAX DisplayString
241
+ MAX-ACCESS read-only
242
+ STATUS current
243
+ DESCRIPTION
244
+ "The process name we're counting/checking on."
245
+ ::= { prEntry 2 }
246
+
247
+ prMin OBJECT-TYPE
248
+ SYNTAX Integer32
249
+ MAX-ACCESS read-only
250
+ STATUS current
251
+ DESCRIPTION
252
+ "The minimum number of processes that should be
253
+ running. An error flag is generated if the number of
254
+ running processes is < the minimum."
255
+ ::= { prEntry 3 }
256
+
257
+ prMax OBJECT-TYPE
258
+ SYNTAX Integer32
259
+ MAX-ACCESS read-only
260
+ STATUS current
261
+ DESCRIPTION
262
+ "The maximum number of processes that should be
263
+ running. An error flag is generated if the number of
264
+ running processes is > the maximum."
265
+ ::= { prEntry 4 }
266
+
267
+ prCount OBJECT-TYPE
268
+ SYNTAX Integer32
269
+ MAX-ACCESS read-only
270
+ STATUS current
271
+ DESCRIPTION
272
+ "The number of current processes running with the name
273
+ in question."
274
+ ::= { prEntry 5 }
275
+
276
+ prErrorFlag OBJECT-TYPE
277
+ SYNTAX UCDErrorFlag
278
+ MAX-ACCESS read-only
279
+ STATUS current
280
+ DESCRIPTION
281
+ "A Error flag to indicate trouble with a process. It
282
+ goes to 1 if there is an error, 0 if no error."
283
+ ::= { prEntry 100 }
284
+
285
+ prErrMessage OBJECT-TYPE
286
+ SYNTAX DisplayString
287
+ MAX-ACCESS read-only
288
+ STATUS current
289
+ DESCRIPTION
290
+ "An error message describing the problem (if one exists)."
291
+ ::= { prEntry 101 }
292
+
293
+ prErrFix OBJECT-TYPE
294
+ SYNTAX UCDErrorFix
295
+ MAX-ACCESS read-write
296
+ STATUS current
297
+ DESCRIPTION
298
+ "Setting this to one will try to fix the problem if
299
+ the agent has been configured with a script to call
300
+ to attempt to fix problems automatically using remote
301
+ snmp operations."
302
+ ::= { prEntry 102 }
303
+
304
+ prErrFixCmd OBJECT-TYPE
305
+ SYNTAX DisplayString
306
+ MAX-ACCESS read-only
307
+ STATUS current
308
+ DESCRIPTION
309
+ "The command that gets run when the prErrFix column is
310
+ set to 1."
311
+ ::= { prEntry 103 }
312
+
313
+
314
+
315
+ extTable OBJECT-TYPE
316
+ SYNTAX SEQUENCE OF ExtEntry
317
+ MAX-ACCESS not-accessible
318
+ STATUS current
319
+ DESCRIPTION
320
+ "A table of extensible commands returning output and
321
+ result codes. These commands are configured via the
322
+ agent's snmpd.conf file."
323
+ ::= { ucdavis 8 }
324
+
325
+ extEntry OBJECT-TYPE
326
+ SYNTAX ExtEntry
327
+ MAX-ACCESS not-accessible
328
+ STATUS current
329
+ DESCRIPTION
330
+ "An entry containing an extensible script/program and its output."
331
+ INDEX { extIndex }
332
+ ::= { extTable 1 }
333
+
334
+ ExtEntry ::= SEQUENCE {
335
+ extIndex Integer32,
336
+ extNames DisplayString,
337
+ extCommand DisplayString,
338
+ extResult Integer32,
339
+ extOutput DisplayString,
340
+ extErrFix UCDErrorFix,
341
+ extErrFixCmd DisplayString
342
+ }
343
+
344
+ extIndex OBJECT-TYPE
345
+ SYNTAX Integer32 (0..65535)
346
+ MAX-ACCESS read-only
347
+ STATUS current
348
+ DESCRIPTION
349
+ "Reference Index for extensible scripts. Simply an
350
+ integer row number."
351
+ ::= { extEntry 1 }
352
+
353
+ extNames OBJECT-TYPE
354
+ SYNTAX DisplayString
355
+ MAX-ACCESS read-only
356
+ STATUS current
357
+ DESCRIPTION
358
+ "A Short, one name description of the extensible command."
359
+ ::= { extEntry 2 }
360
+
361
+ extCommand OBJECT-TYPE
362
+ SYNTAX DisplayString
363
+ MAX-ACCESS read-only
364
+ STATUS current
365
+ DESCRIPTION
366
+ "The command line to be executed."
367
+ ::= { extEntry 3 }
368
+
369
+ extResult OBJECT-TYPE
370
+ SYNTAX Integer32
371
+ MAX-ACCESS read-only
372
+ STATUS current
373
+ DESCRIPTION
374
+ "The result code (exit status) from the executed command."
375
+ ::= { extEntry 100 }
376
+
377
+ extOutput OBJECT-TYPE
378
+ SYNTAX DisplayString
379
+ MAX-ACCESS read-only
380
+ STATUS current
381
+ DESCRIPTION
382
+ "The first line of output of the executed command."
383
+ ::= { extEntry 101 }
384
+
385
+ extErrFix OBJECT-TYPE
386
+ SYNTAX UCDErrorFix
387
+ MAX-ACCESS read-write
388
+ STATUS current
389
+ DESCRIPTION
390
+ "Setting this to one will try to fix the problem if
391
+ the agent has been configured with a script to call
392
+ to attempt to fix problems automatically using remote
393
+ snmp operations."
394
+ ::= { extEntry 102 }
395
+
396
+ extErrFixCmd OBJECT-TYPE
397
+ SYNTAX DisplayString
398
+ MAX-ACCESS read-only
399
+ STATUS current
400
+ DESCRIPTION
401
+ "The command that gets run when the extErrFix column is
402
+ set to 1."
403
+ ::= { extEntry 103 }
404
+
405
+ --
406
+ -- Memory usage/watch reporting.
407
+ -- Not supported on all systems!
408
+ -- See agent/mibgroup/ucd_snmp.h to see if its loaded for your architecture.
409
+ --
410
+ memory OBJECT IDENTIFIER ::= { ucdavis 4 }
411
+
412
+ memIndex OBJECT-TYPE
413
+ SYNTAX Integer32
414
+ MAX-ACCESS read-only
415
+ STATUS current
416
+ DESCRIPTION
417
+ "Bogus Index. This should always return the integer 0."
418
+ ::= { memory 1 }
419
+
420
+ memErrorName OBJECT-TYPE
421
+ SYNTAX DisplayString
422
+ MAX-ACCESS read-only
423
+ STATUS current
424
+ DESCRIPTION
425
+ "Bogus Name. This should always return the string 'swap'."
426
+ ::= { memory 2 }
427
+
428
+ memTotalSwap OBJECT-TYPE
429
+ SYNTAX Integer32
430
+ UNITS "kB"
431
+ MAX-ACCESS read-only
432
+ STATUS current
433
+ DESCRIPTION
434
+ "The total amount of swap space configured for this host."
435
+ ::= { memory 3 }
436
+
437
+ memAvailSwap OBJECT-TYPE
438
+ SYNTAX Integer32
439
+ UNITS "kB"
440
+ MAX-ACCESS read-only
441
+ STATUS current
442
+ DESCRIPTION
443
+ "The amount of swap space currently unused or available."
444
+ ::= { memory 4 }
445
+
446
+ memTotalReal OBJECT-TYPE
447
+ SYNTAX Integer32
448
+ UNITS "kB"
449
+ MAX-ACCESS read-only
450
+ STATUS current
451
+ DESCRIPTION
452
+ "The total amount of real/physical memory installed
453
+ on this host."
454
+ ::= { memory 5 }
455
+
456
+ memAvailReal OBJECT-TYPE
457
+ SYNTAX Integer32
458
+ UNITS "kB"
459
+ MAX-ACCESS read-only
460
+ STATUS current
461
+ DESCRIPTION
462
+ "The amount of real/physical memory currently unused
463
+ or available."
464
+ ::= { memory 6 }
465
+
466
+ memTotalSwapTXT OBJECT-TYPE
467
+ SYNTAX Integer32
468
+ UNITS "kB"
469
+ MAX-ACCESS read-only
470
+ STATUS current
471
+ DESCRIPTION
472
+ "The total amount of swap space or virtual memory allocated
473
+ for text pages on this host.
474
+
475
+ This object will not be implemented on hosts where the
476
+ underlying operating system does not distinguish text
477
+ pages from other uses of swap space or virtual memory."
478
+ ::= { memory 7 }
479
+
480
+ memAvailSwapTXT OBJECT-TYPE
481
+ SYNTAX Integer32
482
+ UNITS "kB"
483
+ MAX-ACCESS read-only
484
+ STATUS deprecated
485
+ DESCRIPTION
486
+ "The amount of swap space or virtual memory currently
487
+ being used by text pages on this host.
488
+
489
+ This object will not be implemented on hosts where the
490
+ underlying operating system does not distinguish text
491
+ pages from other uses of swap space or virtual memory.
492
+
493
+ Note that (despite the name), this value reports the
494
+ amount used, rather than the amount free or available
495
+ for use. For clarity, this object is being deprecated
496
+ in favour of 'memUsedSwapTXT(16)."
497
+ ::= { memory 8 }
498
+
499
+ memTotalRealTXT OBJECT-TYPE
500
+ SYNTAX Integer32
501
+ UNITS "kB"
502
+ MAX-ACCESS read-only
503
+ STATUS current
504
+ DESCRIPTION
505
+ "The total amount of real/physical memory allocated
506
+ for text pages on this host.
507
+
508
+ This object will not be implemented on hosts where the
509
+ underlying operating system does not distinguish text
510
+ pages from other uses of physical memory."
511
+ ::= { memory 9 }
512
+
513
+ memAvailRealTXT OBJECT-TYPE
514
+ SYNTAX Integer32
515
+ UNITS "kB"
516
+ MAX-ACCESS read-only
517
+ STATUS deprecated
518
+ DESCRIPTION
519
+ "The amount of real/physical memory currently being
520
+ used by text pages on this host.
521
+
522
+ This object will not be implemented on hosts where the
523
+ underlying operating system does not distinguish text
524
+ pages from other uses of physical memory.
525
+
526
+ Note that (despite the name), this value reports the
527
+ amount used, rather than the amount free or available
528
+ for use. For clarity, this object is being deprecated
529
+ in favour of 'memUsedRealTXT(17)."
530
+ ::= { memory 10 }
531
+
532
+ memTotalFree OBJECT-TYPE
533
+ SYNTAX Integer32
534
+ UNITS "kB"
535
+ MAX-ACCESS read-only
536
+ STATUS current
537
+ DESCRIPTION
538
+ "The total amount of memory free or available for use on
539
+ this host. This value typically covers both real memory
540
+ and swap space or virtual memory."
541
+ ::= { memory 11 }
542
+
543
+ memMinimumSwap OBJECT-TYPE
544
+ SYNTAX Integer32
545
+ UNITS "kB"
546
+ MAX-ACCESS read-only
547
+ STATUS current
548
+ DESCRIPTION
549
+ "The minimum amount of swap space expected to be kept
550
+ free or available during normal operation of this host.
551
+
552
+ If this value (as reported by 'memAvailSwap(4)') falls
553
+ below the specified level, then 'memSwapError(100)' will
554
+ be set to 1 and an error message made available via
555
+ 'memSwapErrorMsg(101)'."
556
+ ::= { memory 12 }
557
+
558
+ memShared OBJECT-TYPE
559
+ SYNTAX Integer32
560
+ UNITS "kB"
561
+ MAX-ACCESS read-only
562
+ STATUS current
563
+ DESCRIPTION
564
+ "The total amount of real or virtual memory currently
565
+ allocated for use as shared memory.
566
+
567
+ This object will not be implemented on hosts where the
568
+ underlying operating system does not explicitly identify
569
+ memory as specifically reserved for this purpose."
570
+ ::= { memory 13 }
571
+
572
+ memBuffer OBJECT-TYPE
573
+ SYNTAX Integer32
574
+ UNITS "kB"
575
+ MAX-ACCESS read-only
576
+ STATUS current
577
+ DESCRIPTION
578
+ "The total amount of real or virtual memory currently
579
+ allocated for use as memory buffers.
580
+
581
+ This object will not be implemented on hosts where the
582
+ underlying operating system does not explicitly identify
583
+ memory as specifically reserved for this purpose."
584
+ ::= { memory 14 }
585
+
586
+ memCached OBJECT-TYPE
587
+ SYNTAX Integer32
588
+ UNITS "kB"
589
+ MAX-ACCESS read-only
590
+ STATUS current
591
+ DESCRIPTION
592
+ "The total amount of real or virtual memory currently
593
+ allocated for use as cached memory.
594
+
595
+ This object will not be implemented on hosts where the
596
+ underlying operating system does not explicitly identify
597
+ memory as specifically reserved for this purpose."
598
+ ::= { memory 15 }
599
+
600
+ memUsedSwapTXT OBJECT-TYPE
601
+ SYNTAX Integer32
602
+ UNITS "kB"
603
+ MAX-ACCESS read-only
604
+ STATUS current
605
+ DESCRIPTION
606
+ "The amount of swap space or virtual memory currently
607
+ being used by text pages on this host.
608
+
609
+ This object will not be implemented on hosts where the
610
+ underlying operating system does not distinguish text
611
+ pages from other uses of swap space or virtual memory."
612
+ ::= { memory 16 }
613
+
614
+ memUsedRealTXT OBJECT-TYPE
615
+ SYNTAX Integer32
616
+ UNITS "kB"
617
+ MAX-ACCESS read-only
618
+ STATUS current
619
+ DESCRIPTION
620
+ "The amount of real/physical memory currently being
621
+ used by text pages on this host.
622
+
623
+ This object will not be implemented on hosts where the
624
+ underlying operating system does not distinguish text
625
+ pages from other uses of physical memory."
626
+ ::= { memory 17 }
627
+
628
+ memSwapError OBJECT-TYPE
629
+ SYNTAX UCDErrorFlag
630
+ MAX-ACCESS read-only
631
+ STATUS current
632
+ DESCRIPTION
633
+ "Indicates whether the amount of available swap space
634
+ (as reported by 'memAvailSwap(4)'), is less than the
635
+ desired minimum (specified by 'memMinimumSwap(12)')."
636
+ ::= { memory 100 }
637
+
638
+ memSwapErrorMsg OBJECT-TYPE
639
+ SYNTAX DisplayString
640
+ MAX-ACCESS read-only
641
+ STATUS current
642
+ DESCRIPTION
643
+ "Describes whether the amount of available swap space
644
+ (as reported by 'memAvailSwap(4)'), is less than the
645
+ desired minimum (specified by 'memMinimumSwap(12)')."
646
+ ::= { memory 101 }
647
+
648
+
649
+ dskTable OBJECT-TYPE
650
+ SYNTAX SEQUENCE OF DskEntry
651
+ MAX-ACCESS not-accessible
652
+ STATUS current
653
+ DESCRIPTION
654
+ "Disk watching information. Partions to be watched
655
+ are configured by the snmpd.conf file of the agent."
656
+ ::= { ucdavis 9 }
657
+
658
+ dskEntry OBJECT-TYPE
659
+ SYNTAX DskEntry
660
+ MAX-ACCESS not-accessible
661
+ STATUS current
662
+ DESCRIPTION
663
+ "An entry containing a disk and its statistics."
664
+ INDEX { dskIndex }
665
+ ::= { dskTable 1 }
666
+
667
+ DskEntry ::= SEQUENCE {
668
+ dskIndex Integer32,
669
+ dskPath DisplayString,
670
+ dskDevice DisplayString,
671
+ dskMinimum Integer32,
672
+ dskMinPercent Integer32,
673
+ dskTotal Integer32,
674
+ dskAvail Integer32,
675
+ dskUsed Integer32,
676
+ dskPercent Integer32,
677
+ dskPercentNode Integer32,
678
+ dskErrorFlag UCDErrorFlag,
679
+ dskErrorMsg DisplayString,
680
+ dskTotalLow Unsigned32,
681
+ dskTotalHigh Unsigned32,
682
+ dskAvailLow Unsigned32,
683
+ dskAvailHigh Unsigned32,
684
+ dskUsedLow Unsigned32,
685
+ dskUsedHigh Unsigned32
686
+ }
687
+
688
+ dskIndex OBJECT-TYPE
689
+ SYNTAX Integer32 (0..65535)
690
+ MAX-ACCESS read-only
691
+ STATUS current
692
+ DESCRIPTION
693
+ "Integer reference number (row number) for the disk mib."
694
+ ::= { dskEntry 1 }
695
+
696
+ dskPath OBJECT-TYPE
697
+ SYNTAX DisplayString
698
+ MAX-ACCESS read-only
699
+ STATUS current
700
+ DESCRIPTION
701
+ "Path where the disk is mounted."
702
+ ::= { dskEntry 2 }
703
+
704
+ dskDevice OBJECT-TYPE
705
+ SYNTAX DisplayString
706
+ MAX-ACCESS read-only
707
+ STATUS current
708
+ DESCRIPTION
709
+ "Path of the device for the partition"
710
+ ::= { dskEntry 3 }
711
+
712
+ dskMinimum OBJECT-TYPE
713
+ SYNTAX Integer32
714
+ MAX-ACCESS read-only
715
+ STATUS current
716
+ DESCRIPTION
717
+ "Minimum space required on the disk (in kBytes) before the
718
+ errors are triggered. Either this or dskMinPercent is
719
+ configured via the agent's snmpd.conf file."
720
+ ::= { dskEntry 4 }
721
+
722
+ dskMinPercent OBJECT-TYPE
723
+ SYNTAX Integer32
724
+ MAX-ACCESS read-only
725
+ STATUS current
726
+ DESCRIPTION
727
+ "Percentage of minimum space required on the disk before the
728
+ errors are triggered. Either this or dskMinimum is
729
+ configured via the agent's snmpd.conf file."
730
+ ::= { dskEntry 5 }
731
+
732
+ dskTotal OBJECT-TYPE
733
+ SYNTAX Integer32
734
+ MAX-ACCESS read-only
735
+ STATUS current
736
+ DESCRIPTION
737
+ "Total size of the disk/partion (kBytes).
738
+ For large disks (>2Tb), this value will
739
+ latch at INT32_MAX (2147483647)."
740
+ ::= { dskEntry 6 }
741
+
742
+ dskAvail OBJECT-TYPE
743
+ SYNTAX Integer32
744
+ MAX-ACCESS read-only
745
+ STATUS current
746
+ DESCRIPTION
747
+ "Available space on the disk.
748
+ For large lightly-used disks (>2Tb), this
749
+ value will latch at INT32_MAX (2147483647)."
750
+ ::= { dskEntry 7 }
751
+
752
+ dskUsed OBJECT-TYPE
753
+ SYNTAX Integer32
754
+ MAX-ACCESS read-only
755
+ STATUS current
756
+ DESCRIPTION
757
+ "Used space on the disk.
758
+ For large heavily-used disks (>2Tb), this
759
+ value will latch at INT32_MAX (2147483647)."
760
+ ::= { dskEntry 8 }
761
+
762
+ dskPercent OBJECT-TYPE
763
+ SYNTAX Integer32
764
+ MAX-ACCESS read-only
765
+ STATUS current
766
+ DESCRIPTION
767
+ "Percentage of space used on disk"
768
+ ::= { dskEntry 9 }
769
+
770
+ dskPercentNode OBJECT-TYPE
771
+ SYNTAX Integer32
772
+ MAX-ACCESS read-only
773
+ STATUS current
774
+ DESCRIPTION
775
+ "Percentage of inodes used on disk"
776
+ ::= { dskEntry 10 }
777
+
778
+ dskTotalLow OBJECT-TYPE
779
+ SYNTAX Unsigned32
780
+ MAX-ACCESS read-only
781
+ STATUS current
782
+ DESCRIPTION
783
+ "Total size of the disk/partion (kBytes).
784
+ Together with dskTotalHigh composes 64-bit number."
785
+ ::= { dskEntry 11 }
786
+
787
+ dskTotalHigh OBJECT-TYPE
788
+ SYNTAX Unsigned32
789
+ MAX-ACCESS read-only
790
+ STATUS current
791
+ DESCRIPTION
792
+ "Total size of the disk/partion (kBytes).
793
+ Together with dskTotalLow composes 64-bit number."
794
+ ::= { dskEntry 12 }
795
+
796
+ dskAvailLow OBJECT-TYPE
797
+ SYNTAX Unsigned32
798
+ MAX-ACCESS read-only
799
+ STATUS current
800
+ DESCRIPTION
801
+ "Available space on the disk (kBytes).
802
+ Together with dskAvailHigh composes 64-bit number."
803
+ ::= { dskEntry 13 }
804
+
805
+ dskAvailHigh OBJECT-TYPE
806
+ SYNTAX Unsigned32
807
+ MAX-ACCESS read-only
808
+ STATUS current
809
+ DESCRIPTION
810
+ "Available space on the disk (kBytes).
811
+ Together with dskAvailLow composes 64-bit number."
812
+ ::= { dskEntry 14 }
813
+
814
+ dskUsedLow OBJECT-TYPE
815
+ SYNTAX Unsigned32
816
+ MAX-ACCESS read-only
817
+ STATUS current
818
+ DESCRIPTION
819
+ "Used space on the disk (kBytes).
820
+ Together with dskUsedHigh composes 64-bit number."
821
+ ::= { dskEntry 15 }
822
+
823
+ dskUsedHigh OBJECT-TYPE
824
+ SYNTAX Unsigned32
825
+ MAX-ACCESS read-only
826
+ STATUS current
827
+ DESCRIPTION
828
+ "Used space on the disk (kBytes).
829
+ Together with dskUsedLow composes 64-bit number."
830
+ ::= { dskEntry 16 }
831
+
832
+ dskErrorFlag OBJECT-TYPE
833
+ SYNTAX UCDErrorFlag
834
+ MAX-ACCESS read-only
835
+ STATUS current
836
+ DESCRIPTION
837
+ "Error flag signaling that the disk or partition is under
838
+ the minimum required space configured for it."
839
+ ::= { dskEntry 100 }
840
+
841
+ dskErrorMsg OBJECT-TYPE
842
+ SYNTAX DisplayString
843
+ MAX-ACCESS read-only
844
+ STATUS current
845
+ DESCRIPTION
846
+ "A text description providing a warning and the space left
847
+ on the disk."
848
+ ::= { dskEntry 101 }
849
+
850
+ laTable OBJECT-TYPE
851
+ SYNTAX SEQUENCE OF LaEntry
852
+ MAX-ACCESS not-accessible
853
+ STATUS current
854
+ DESCRIPTION
855
+ "Load average information."
856
+ ::= { ucdavis 10 }
857
+
858
+ laEntry OBJECT-TYPE
859
+ SYNTAX LaEntry
860
+ MAX-ACCESS not-accessible
861
+ STATUS current
862
+ DESCRIPTION
863
+ "An entry containing a load average and its values."
864
+ INDEX { laIndex }
865
+ ::= { laTable 1 }
866
+
867
+ LaEntry ::= SEQUENCE {
868
+ laIndex Integer32,
869
+ laNames DisplayString,
870
+ laLoad DisplayString,
871
+ laConfig DisplayString,
872
+ laLoadInt Integer32,
873
+ laLoadFloat Float,
874
+ laErrorFlag UCDErrorFlag,
875
+ laErrMessage DisplayString
876
+ }
877
+
878
+ laIndex OBJECT-TYPE
879
+ SYNTAX Integer32 (0..3)
880
+ MAX-ACCESS read-only
881
+ STATUS current
882
+ DESCRIPTION
883
+ "reference index/row number for each observed loadave."
884
+ ::= { laEntry 1 }
885
+
886
+ laNames OBJECT-TYPE
887
+ SYNTAX DisplayString
888
+ MAX-ACCESS read-only
889
+ STATUS current
890
+ DESCRIPTION
891
+ "The list of loadave names we're watching."
892
+ ::= { laEntry 2 }
893
+
894
+ laLoad OBJECT-TYPE
895
+ SYNTAX DisplayString
896
+ MAX-ACCESS read-only
897
+ STATUS current
898
+ DESCRIPTION
899
+ "The 1,5 and 15 minute load averages (one per row)."
900
+ ::= { laEntry 3 }
901
+
902
+ laConfig OBJECT-TYPE
903
+ SYNTAX DisplayString
904
+ MAX-ACCESS read-write
905
+ STATUS current
906
+ DESCRIPTION
907
+ "The watch point for load-averages to signal an
908
+ error. If the load averages rises above this value,
909
+ the laErrorFlag below is set."
910
+ ::= { laEntry 4 }
911
+
912
+ laLoadInt OBJECT-TYPE
913
+ SYNTAX Integer32
914
+ MAX-ACCESS read-only
915
+ STATUS current
916
+ DESCRIPTION
917
+ "The 1,5 and 15 minute load averages as an integer.
918
+ This is computed by taking the floating point
919
+ loadaverage value and multiplying by 100, then
920
+ converting the value to an integer."
921
+ ::= { laEntry 5 }
922
+
923
+ laLoadFloat OBJECT-TYPE
924
+ SYNTAX Float
925
+ MAX-ACCESS read-only
926
+ STATUS current
927
+ DESCRIPTION
928
+ "The 1,5 and 15 minute load averages as an opaquely
929
+ wrapped floating point number."
930
+ ::= { laEntry 6 }
931
+
932
+ laErrorFlag OBJECT-TYPE
933
+ SYNTAX UCDErrorFlag
934
+ MAX-ACCESS read-only
935
+ STATUS current
936
+ DESCRIPTION
937
+ "A Error flag to indicate the load-average has crossed
938
+ its threshold value defined in the snmpd.conf file.
939
+ It is set to 1 if the threshold is crossed, 0 otherwise."
940
+ ::= { laEntry 100 }
941
+
942
+ laErrMessage OBJECT-TYPE
943
+ SYNTAX DisplayString
944
+ MAX-ACCESS read-only
945
+ STATUS current
946
+ DESCRIPTION
947
+ "An error message describing the load-average and its
948
+ surpased watch-point value."
949
+ ::= { laEntry 101 }
950
+
951
+
952
+ version OBJECT IDENTIFIER ::= { ucdavis 100 }
953
+
954
+ versionIndex OBJECT-TYPE
955
+ SYNTAX Integer32
956
+ MAX-ACCESS read-only
957
+ STATUS current
958
+ DESCRIPTION
959
+ "Index to mib (always 0)"
960
+ ::= { version 1 }
961
+
962
+ versionTag OBJECT-TYPE
963
+ SYNTAX DisplayString
964
+ MAX-ACCESS read-only
965
+ STATUS current
966
+ DESCRIPTION
967
+ "CVS tag keyword"
968
+ ::= { version 2 }
969
+
970
+ versionDate OBJECT-TYPE
971
+ SYNTAX DisplayString
972
+ MAX-ACCESS read-only
973
+ STATUS current
974
+ DESCRIPTION
975
+ "Date string from RCS keyword"
976
+ ::= { version 3 }
977
+
978
+ versionCDate OBJECT-TYPE
979
+ SYNTAX DisplayString
980
+ MAX-ACCESS read-only
981
+ STATUS current
982
+ DESCRIPTION
983
+ "Date string from ctime() "
984
+ ::= { version 4 }
985
+
986
+ versionIdent OBJECT-TYPE
987
+ SYNTAX DisplayString
988
+ MAX-ACCESS read-only
989
+ STATUS current
990
+ DESCRIPTION
991
+ "Id string from RCS keyword"
992
+ ::= { version 5 }
993
+
994
+ versionConfigureOptions OBJECT-TYPE
995
+ SYNTAX DisplayString
996
+ MAX-ACCESS read-only
997
+ STATUS current
998
+ DESCRIPTION
999
+ "Options passed to the configure script when this agent was built."
1000
+ ::= { version 6 }
1001
+
1002
+ versionClearCache OBJECT-TYPE
1003
+ SYNTAX Integer32
1004
+ MAX-ACCESS read-write
1005
+ STATUS current
1006
+ DESCRIPTION
1007
+ "Set to 1 to clear the exec cache, if enabled"
1008
+ ::= { version 10 }
1009
+
1010
+ versionUpdateConfig OBJECT-TYPE
1011
+ SYNTAX Integer32
1012
+ MAX-ACCESS read-write
1013
+ STATUS current
1014
+ DESCRIPTION
1015
+ "Set to 1 to read-read the config file(s)."
1016
+ ::= { version 11 }
1017
+
1018
+ versionRestartAgent OBJECT-TYPE
1019
+ SYNTAX Integer32
1020
+ MAX-ACCESS read-write
1021
+ STATUS current
1022
+ DESCRIPTION
1023
+ "Set to 1 to restart the agent."
1024
+ ::= { version 12 }
1025
+
1026
+ versionSavePersistentData OBJECT-TYPE
1027
+ SYNTAX Integer32
1028
+ MAX-ACCESS read-write
1029
+ STATUS current
1030
+ DESCRIPTION
1031
+ "Set to 1 to force the agent to save it's persistent data immediately."
1032
+ ::= { version 13 }
1033
+
1034
+ versionDoDebugging OBJECT-TYPE
1035
+ SYNTAX Integer32
1036
+ MAX-ACCESS read-write
1037
+ STATUS current
1038
+ DESCRIPTION
1039
+ "Set to 1 to turn debugging statements on in the agent or 0
1040
+ to turn it off."
1041
+ ::= { version 20 }
1042
+
1043
+
1044
+ snmperrs OBJECT IDENTIFIER ::= { ucdavis 101 }
1045
+
1046
+ snmperrIndex OBJECT-TYPE
1047
+ SYNTAX Integer32
1048
+ MAX-ACCESS read-only
1049
+ STATUS current
1050
+ DESCRIPTION
1051
+ "Bogus Index for snmperrs (always 0)."
1052
+ ::= { snmperrs 1 }
1053
+
1054
+ snmperrNames OBJECT-TYPE
1055
+ SYNTAX DisplayString
1056
+ MAX-ACCESS read-only
1057
+ STATUS current
1058
+ DESCRIPTION
1059
+ "snmp"
1060
+ ::= { snmperrs 2 }
1061
+
1062
+ snmperrErrorFlag OBJECT-TYPE
1063
+ SYNTAX UCDErrorFlag
1064
+ MAX-ACCESS read-only
1065
+ STATUS current
1066
+ DESCRIPTION
1067
+ "A Error flag to indicate trouble with the agent. It
1068
+ goes to 1 if there is an error, 0 if no error."
1069
+ ::= { snmperrs 100 }
1070
+
1071
+ snmperrErrMessage OBJECT-TYPE
1072
+ SYNTAX DisplayString
1073
+ MAX-ACCESS read-only
1074
+ STATUS current
1075
+ DESCRIPTION
1076
+ "An error message describing the problem (if one exists)."
1077
+ ::= { snmperrs 101 }
1078
+
1079
+
1080
+ mrTable OBJECT-TYPE
1081
+ SYNTAX SEQUENCE OF MrEntry
1082
+ MAX-ACCESS not-accessible
1083
+ STATUS current
1084
+ DESCRIPTION
1085
+ "A table displaying all the oid's registered by mib modules in
1086
+ the agent. Since the agent is modular in nature, this lists
1087
+ each module's OID it is responsible for and the name of the module"
1088
+ ::= { ucdavis 102 }
1089
+
1090
+ mrEntry OBJECT-TYPE
1091
+ SYNTAX MrEntry
1092
+ MAX-ACCESS not-accessible
1093
+ STATUS current
1094
+ DESCRIPTION
1095
+ "An entry containing a registered mib oid."
1096
+ INDEX { IMPLIED mrIndex }
1097
+ ::= { mrTable 1 }
1098
+
1099
+ MrEntry ::= SEQUENCE {
1100
+ mrIndex OBJECT IDENTIFIER,
1101
+ mrModuleName DisplayString
1102
+ }
1103
+
1104
+ mrIndex OBJECT-TYPE
1105
+ SYNTAX OBJECT IDENTIFIER
1106
+ MAX-ACCESS read-only
1107
+ STATUS current
1108
+ DESCRIPTION
1109
+ "The registry slot of a mibmodule."
1110
+ ::= { mrEntry 1 }
1111
+
1112
+ mrModuleName OBJECT-TYPE
1113
+ SYNTAX DisplayString
1114
+ MAX-ACCESS read-only
1115
+ STATUS current
1116
+ DESCRIPTION
1117
+ "The module name that registered this OID."
1118
+ ::= { mrEntry 2 }
1119
+
1120
+ systemStats OBJECT IDENTIFIER ::= { ucdavis 11 }
1121
+
1122
+ ssIndex OBJECT-TYPE
1123
+ SYNTAX Integer32
1124
+ MAX-ACCESS read-only
1125
+ STATUS current
1126
+ DESCRIPTION
1127
+ "Bogus Index. This should always return the integer 1."
1128
+ ::= { systemStats 1 }
1129
+
1130
+ ssErrorName OBJECT-TYPE
1131
+ SYNTAX DisplayString
1132
+ MAX-ACCESS read-only
1133
+ STATUS current
1134
+ DESCRIPTION
1135
+ "Bogus Name. This should always return the string 'systemStats'."
1136
+ ::= { systemStats 2 }
1137
+
1138
+ ssSwapIn OBJECT-TYPE
1139
+ SYNTAX Integer32
1140
+ UNITS "kB"
1141
+ MAX-ACCESS read-only
1142
+ STATUS current
1143
+ DESCRIPTION
1144
+ "The average amount of memory swapped in from disk,
1145
+ calculated over the last minute."
1146
+ ::= { systemStats 3 }
1147
+
1148
+ ssSwapOut OBJECT-TYPE
1149
+ SYNTAX Integer32
1150
+ UNITS "kB"
1151
+ MAX-ACCESS read-only
1152
+ STATUS current
1153
+ DESCRIPTION
1154
+ "The average amount of memory swapped out to disk,
1155
+ calculated over the last minute."
1156
+ ::= { systemStats 4 }
1157
+
1158
+ ssIOSent OBJECT-TYPE
1159
+ SYNTAX Integer32
1160
+ UNITS "blocks/s"
1161
+ MAX-ACCESS read-only
1162
+ STATUS deprecated
1163
+ DESCRIPTION
1164
+ "The average amount of data written to disk or other
1165
+ block device, calculated over the last minute.
1166
+
1167
+ This object has been deprecated in favour of
1168
+ 'ssIORawSent(57)', which can be used to calculate
1169
+ the same metric, but over any desired time period."
1170
+ ::= { systemStats 5 }
1171
+
1172
+ ssIOReceive OBJECT-TYPE
1173
+ SYNTAX Integer32
1174
+ UNITS "blocks/s"
1175
+ MAX-ACCESS read-only
1176
+ STATUS deprecated
1177
+ DESCRIPTION
1178
+ "The average amount of data read from disk or other
1179
+ block device, calculated over the last minute.
1180
+
1181
+ This object has been deprecated in favour of
1182
+ 'ssIORawReceived(58)', which can be used to calculate
1183
+ the same metric, but over any desired time period."
1184
+ ::= { systemStats 6 }
1185
+
1186
+ ssSysInterrupts OBJECT-TYPE
1187
+ SYNTAX Integer32
1188
+ UNITS "interrupts/s"
1189
+ MAX-ACCESS read-only
1190
+ STATUS deprecated
1191
+ DESCRIPTION
1192
+ "The average rate of interrupts processed (including
1193
+ the clock) calculated over the last minute.
1194
+
1195
+ This object has been deprecated in favour of
1196
+ 'ssRawInterrupts(59)', which can be used to calculate
1197
+ the same metric, but over any desired time period."
1198
+ ::= { systemStats 7 }
1199
+
1200
+ ssSysContext OBJECT-TYPE
1201
+ SYNTAX Integer32
1202
+ UNITS "switches/s"
1203
+ MAX-ACCESS read-only
1204
+ STATUS deprecated
1205
+ DESCRIPTION
1206
+ "The average rate of context switches,
1207
+ calculated over the last minute.
1208
+
1209
+ This object has been deprecated in favour of
1210
+ 'ssRawContext(60)', which can be used to calculate
1211
+ the same metric, but over any desired time period."
1212
+ ::= { systemStats 8 }
1213
+
1214
+ ssCpuUser OBJECT-TYPE
1215
+ SYNTAX Integer32
1216
+ MAX-ACCESS read-only
1217
+ STATUS deprecated
1218
+ DESCRIPTION
1219
+ "The percentage of CPU time spent processing
1220
+ user-level code, calculated over the last minute.
1221
+
1222
+ This object has been deprecated in favour of
1223
+ 'ssCpuRawUser(50)', which can be used to calculate
1224
+ the same metric, but over any desired time period."
1225
+ ::= { systemStats 9 }
1226
+
1227
+ ssCpuSystem OBJECT-TYPE
1228
+ SYNTAX Integer32
1229
+ MAX-ACCESS read-only
1230
+ STATUS deprecated
1231
+ DESCRIPTION
1232
+ "The percentage of CPU time spent processing
1233
+ system-level code, calculated over the last minute.
1234
+
1235
+ This object has been deprecated in favour of
1236
+ 'ssCpuRawSystem(52)', which can be used to calculate
1237
+ the same metric, but over any desired time period."
1238
+ ::= { systemStats 10 }
1239
+
1240
+ ssCpuIdle OBJECT-TYPE
1241
+ SYNTAX Integer32
1242
+ MAX-ACCESS read-only
1243
+ STATUS deprecated
1244
+ DESCRIPTION
1245
+ "The percentage of processor time spent idle,
1246
+ calculated over the last minute.
1247
+
1248
+ This object has been deprecated in favour of
1249
+ 'ssCpuRawIdle(53)', which can be used to calculate
1250
+ the same metric, but over any desired time period."
1251
+ ::= { systemStats 11 }
1252
+
1253
+ -- The agent only implements those of the following counters that the
1254
+ -- kernel supports! Don't expect all to be present.
1255
+
1256
+ ssCpuRawUser OBJECT-TYPE
1257
+ SYNTAX Counter32
1258
+ MAX-ACCESS read-only
1259
+ STATUS current
1260
+ DESCRIPTION
1261
+ "The number of 'ticks' (typically 1/100s) spent
1262
+ processing user-level code.
1263
+
1264
+ On a multi-processor system, the 'ssCpuRaw*'
1265
+ counters are cumulative over all CPUs, so their
1266
+ sum will typically be N*100 (for N processors)."
1267
+ ::= { systemStats 50 }
1268
+
1269
+ ssCpuRawNice OBJECT-TYPE
1270
+ SYNTAX Counter32
1271
+ MAX-ACCESS read-only
1272
+ STATUS current
1273
+ DESCRIPTION
1274
+ "The number of 'ticks' (typically 1/100s) spent
1275
+ processing reduced-priority code.
1276
+
1277
+ This object will not be implemented on hosts where
1278
+ the underlying operating system does not measure
1279
+ this particular CPU metric.
1280
+
1281
+ On a multi-processor system, the 'ssCpuRaw*'
1282
+ counters are cumulative over all CPUs, so their
1283
+ sum will typically be N*100 (for N processors)."
1284
+ ::= { systemStats 51 }
1285
+
1286
+ ssCpuRawSystem OBJECT-TYPE
1287
+ SYNTAX Counter32
1288
+ MAX-ACCESS read-only
1289
+ STATUS current
1290
+ DESCRIPTION
1291
+ "The number of 'ticks' (typically 1/100s) spent
1292
+ processing system-level code.
1293
+
1294
+ On a multi-processor system, the 'ssCpuRaw*'
1295
+ counters are cumulative over all CPUs, so their
1296
+ sum will typically be N*100 (for N processors).
1297
+
1298
+ This object may sometimes be implemented as the
1299
+ combination of the 'ssCpuRawWait(54)' and
1300
+ 'ssCpuRawKernel(55)' counters, so care must be
1301
+ taken when summing the overall raw counters."
1302
+ ::= { systemStats 52 }
1303
+
1304
+ ssCpuRawIdle OBJECT-TYPE
1305
+ SYNTAX Counter32
1306
+ MAX-ACCESS read-only
1307
+ STATUS current
1308
+ DESCRIPTION
1309
+ "The number of 'ticks' (typically 1/100s) spent
1310
+ idle.
1311
+
1312
+ On a multi-processor system, the 'ssCpuRaw*'
1313
+ counters are cumulative over all CPUs, so their
1314
+ sum will typically be N*100 (for N processors)."
1315
+ ::= { systemStats 53 }
1316
+
1317
+ ssCpuRawWait OBJECT-TYPE
1318
+ SYNTAX Counter32
1319
+ MAX-ACCESS read-only
1320
+ STATUS current
1321
+ DESCRIPTION
1322
+ "The number of 'ticks' (typically 1/100s) spent
1323
+ waiting for IO.
1324
+
1325
+ This object will not be implemented on hosts where
1326
+ the underlying operating system does not measure
1327
+ this particular CPU metric. This time may also be
1328
+ included within the 'ssCpuRawSystem(52)' counter.
1329
+
1330
+ On a multi-processor system, the 'ssCpuRaw*'
1331
+ counters are cumulative over all CPUs, so their
1332
+ sum will typically be N*100 (for N processors)."
1333
+ ::= { systemStats 54 }
1334
+
1335
+ ssCpuRawKernel OBJECT-TYPE
1336
+ SYNTAX Counter32
1337
+ MAX-ACCESS read-only
1338
+ STATUS current
1339
+ DESCRIPTION
1340
+ "The number of 'ticks' (typically 1/100s) spent
1341
+ processing kernel-level code.
1342
+
1343
+ This object will not be implemented on hosts where
1344
+ the underlying operating system does not measure
1345
+ this particular CPU metric. This time may also be
1346
+ included within the 'ssCpuRawSystem(52)' counter.
1347
+
1348
+ On a multi-processor system, the 'ssCpuRaw*'
1349
+ counters are cumulative over all CPUs, so their
1350
+ sum will typically be N*100 (for N processors)."
1351
+ ::= { systemStats 55 }
1352
+
1353
+ ssCpuRawInterrupt OBJECT-TYPE
1354
+ SYNTAX Counter32
1355
+ MAX-ACCESS read-only
1356
+ STATUS current
1357
+ DESCRIPTION
1358
+ "The number of 'ticks' (typically 1/100s) spent
1359
+ processing hardware interrupts.
1360
+
1361
+ This object will not be implemented on hosts where
1362
+ the underlying operating system does not measure
1363
+ this particular CPU metric.
1364
+
1365
+ On a multi-processor system, the 'ssCpuRaw*'
1366
+ counters are cumulative over all CPUs, so their
1367
+ sum will typically be N*100 (for N processors)."
1368
+ ::= { systemStats 56 }
1369
+
1370
+ ssIORawSent OBJECT-TYPE
1371
+ SYNTAX Counter32
1372
+ MAX-ACCESS read-only
1373
+ STATUS current
1374
+ DESCRIPTION
1375
+ "Number of blocks sent to a block device"
1376
+ ::= { systemStats 57 }
1377
+
1378
+ ssIORawReceived OBJECT-TYPE
1379
+ SYNTAX Counter32
1380
+ MAX-ACCESS read-only
1381
+ STATUS current
1382
+ DESCRIPTION
1383
+ "Number of blocks received from a block device"
1384
+ ::= { systemStats 58 }
1385
+
1386
+ ssRawInterrupts OBJECT-TYPE
1387
+ SYNTAX Counter32
1388
+ MAX-ACCESS read-only
1389
+ STATUS current
1390
+ DESCRIPTION
1391
+ "Number of interrupts processed"
1392
+ ::= { systemStats 59 }
1393
+
1394
+ ssRawContexts OBJECT-TYPE
1395
+ SYNTAX Counter32
1396
+ MAX-ACCESS read-only
1397
+ STATUS current
1398
+ DESCRIPTION
1399
+ "Number of context switches"
1400
+ ::= { systemStats 60 }
1401
+
1402
+ ssCpuRawSoftIRQ OBJECT-TYPE
1403
+ SYNTAX Counter32
1404
+ MAX-ACCESS read-only
1405
+ STATUS current
1406
+ DESCRIPTION
1407
+ "The number of 'ticks' (typically 1/100s) spent
1408
+ processing software interrupts.
1409
+
1410
+ This object will not be implemented on hosts where
1411
+ the underlying operating system does not measure
1412
+ this particular CPU metric.
1413
+
1414
+ On a multi-processor system, the 'ssCpuRaw*'
1415
+ counters are cumulative over all CPUs, so their
1416
+ sum will typically be N*100 (for N processors)."
1417
+ ::= { systemStats 61 }
1418
+
1419
+ ssRawSwapIn OBJECT-TYPE
1420
+ SYNTAX Counter32
1421
+ MAX-ACCESS read-only
1422
+ STATUS current
1423
+ DESCRIPTION
1424
+ "Number of blocks swapped in"
1425
+ ::= { systemStats 62 }
1426
+
1427
+ ssRawSwapOut OBJECT-TYPE
1428
+ SYNTAX Counter32
1429
+ MAX-ACCESS read-only
1430
+ STATUS current
1431
+ DESCRIPTION
1432
+ "Number of blocks swapped out"
1433
+ ::= { systemStats 63 }
1434
+
1435
+ -- possibly used in the future:
1436
+ --
1437
+ -- ssErrorFlag OBJECT-TYPE
1438
+ -- SYNTAX UCDErrorFlag
1439
+ -- MAX-ACCESS read-only
1440
+ -- STATUS current
1441
+ -- DESCRIPTION
1442
+ -- "Error flag."
1443
+ -- ::= { systemStats 100 }
1444
+ --
1445
+ -- ssErrMessage OBJECT-TYPE
1446
+ -- SYNTAX DisplayString
1447
+ -- MAX-ACCESS read-only
1448
+ -- STATUS current
1449
+ -- DESCRIPTION
1450
+ -- "Error message describing the errorflag condition."
1451
+ -- ::= { systemStats 101 }
1452
+
1453
+
1454
+ ucdTraps OBJECT IDENTIFIER ::= { ucdavis 251 }
1455
+
1456
+ ucdStart NOTIFICATION-TYPE
1457
+ STATUS current
1458
+ DESCRIPTION
1459
+ "This trap could in principle be sent when the agent start"
1460
+ ::= { ucdTraps 1 }
1461
+
1462
+ ucdShutdown NOTIFICATION-TYPE
1463
+ STATUS current
1464
+ DESCRIPTION
1465
+ "This trap is sent when the agent terminates"
1466
+ ::= { ucdTraps 2 }
1467
+
1468
+ --
1469
+ -- File Table: monitor a list of files to check for a maximum size.
1470
+ --
1471
+
1472
+ fileTable OBJECT-TYPE
1473
+ SYNTAX SEQUENCE OF FileEntry
1474
+ MAX-ACCESS not-accessible
1475
+ STATUS current
1476
+ DESCRIPTION
1477
+ "Table of monitored files."
1478
+ ::= { ucdavis 15 }
1479
+
1480
+ fileEntry OBJECT-TYPE
1481
+ SYNTAX FileEntry
1482
+ MAX-ACCESS not-accessible
1483
+ STATUS current
1484
+ DESCRIPTION
1485
+ "Entry of file"
1486
+ INDEX { fileIndex }
1487
+ ::= { fileTable 1 }
1488
+
1489
+ FileEntry ::= SEQUENCE {
1490
+ fileIndex Integer32,
1491
+ fileName DisplayString,
1492
+ fileSize Integer32,
1493
+ fileMax Integer32,
1494
+ fileErrorFlag UCDErrorFlag,
1495
+ fileErrorMsg DisplayString
1496
+ }
1497
+
1498
+ fileIndex OBJECT-TYPE
1499
+ SYNTAX Integer32 (0..2147483647)
1500
+ MAX-ACCESS read-only
1501
+ STATUS current
1502
+ DESCRIPTION
1503
+ "Index of file"
1504
+ ::= { fileEntry 1 }
1505
+
1506
+ fileName OBJECT-TYPE
1507
+ SYNTAX DisplayString
1508
+ MAX-ACCESS read-only
1509
+ STATUS current
1510
+ DESCRIPTION
1511
+ "Filename"
1512
+ ::= { fileEntry 2 }
1513
+
1514
+ fileSize OBJECT-TYPE
1515
+ SYNTAX Integer32
1516
+ UNITS "kB"
1517
+ MAX-ACCESS read-only
1518
+ STATUS current
1519
+ DESCRIPTION
1520
+ "Size of file (kB)"
1521
+ ::= { fileEntry 3 }
1522
+
1523
+ fileMax OBJECT-TYPE
1524
+ SYNTAX Integer32
1525
+ UNITS "kB"
1526
+ MAX-ACCESS read-only
1527
+ STATUS current
1528
+ DESCRIPTION
1529
+ "Limit of filesize (kB)"
1530
+ ::= { fileEntry 4 }
1531
+
1532
+ fileErrorFlag OBJECT-TYPE
1533
+ SYNTAX UCDErrorFlag
1534
+ MAX-ACCESS read-only
1535
+ STATUS current
1536
+ DESCRIPTION
1537
+ "Limit exceeded flag"
1538
+ ::= { fileEntry 100 }
1539
+
1540
+ fileErrorMsg OBJECT-TYPE
1541
+ SYNTAX DisplayString
1542
+ MAX-ACCESS read-only
1543
+ STATUS current
1544
+ DESCRIPTION
1545
+ "Filesize error message"
1546
+ ::= { fileEntry 101 }
1547
+
1548
+ logMatch OBJECT IDENTIFIER ::= { ucdavis 16 }
1549
+
1550
+ logMatchMaxEntries OBJECT-TYPE
1551
+ SYNTAX Integer32
1552
+ MAX-ACCESS read-only
1553
+ STATUS current
1554
+ DESCRIPTION
1555
+ "The maximum number of logmatch entries
1556
+ this snmpd daemon can support."
1557
+ ::= { logMatch 1 }
1558
+
1559
+ logMatchTable OBJECT-TYPE
1560
+ SYNTAX SEQUENCE OF LogMatchEntry
1561
+ MAX-ACCESS not-accessible
1562
+ STATUS current
1563
+ DESCRIPTION
1564
+ "Table of monitored files."
1565
+ ::= { logMatch 2 }
1566
+
1567
+ logMatchEntry OBJECT-TYPE
1568
+ SYNTAX LogMatchEntry
1569
+ MAX-ACCESS not-accessible
1570
+ STATUS current
1571
+ DESCRIPTION
1572
+ "Entry of file"
1573
+ INDEX { logMatchIndex }
1574
+ ::= { logMatchTable 1 }
1575
+
1576
+ LogMatchEntry ::=
1577
+ SEQUENCE {
1578
+ logMatchIndex
1579
+ Integer32,
1580
+ logMatchName
1581
+ DisplayString,
1582
+ logMatchFilename
1583
+ DisplayString,
1584
+ logMatchRegEx
1585
+ DisplayString,
1586
+ logMatchGlobalCounter
1587
+ Counter32,
1588
+ logMatchGlobalCount
1589
+ Integer32,
1590
+ logMatchCurrentCounter
1591
+ Counter32,
1592
+ logMatchCurrentCount
1593
+ Integer32,
1594
+ logMatchCounter
1595
+ Counter32,
1596
+ logMatchCount
1597
+ Integer32,
1598
+ logMatchCycle
1599
+ Integer32,
1600
+ logMatchErrorFlag
1601
+ UCDErrorFlag,
1602
+ logMatchRegExCompilation
1603
+ DisplayString
1604
+ }
1605
+
1606
+ logMatchIndex OBJECT-TYPE
1607
+ SYNTAX Integer32 (1..2147483647)
1608
+ MAX-ACCESS read-only
1609
+ STATUS current
1610
+ DESCRIPTION
1611
+ "Index of logmatch"
1612
+ ::= { logMatchEntry 1 }
1613
+
1614
+ logMatchName OBJECT-TYPE
1615
+ SYNTAX DisplayString
1616
+ MAX-ACCESS read-only
1617
+ STATUS current
1618
+ DESCRIPTION
1619
+ "logmatch instance name"
1620
+ ::= { logMatchEntry 2 }
1621
+
1622
+ logMatchFilename OBJECT-TYPE
1623
+ SYNTAX DisplayString
1624
+ MAX-ACCESS read-only
1625
+ STATUS current
1626
+ DESCRIPTION
1627
+ "filename to be logmatched"
1628
+ ::= { logMatchEntry 3 }
1629
+
1630
+ logMatchRegEx OBJECT-TYPE
1631
+ SYNTAX DisplayString
1632
+ MAX-ACCESS read-only
1633
+ STATUS current
1634
+ DESCRIPTION
1635
+ "regular expression"
1636
+ ::= { logMatchEntry 4 }
1637
+
1638
+ logMatchGlobalCounter OBJECT-TYPE
1639
+ SYNTAX Counter32
1640
+ MAX-ACCESS read-only
1641
+ STATUS current
1642
+ DESCRIPTION
1643
+ "global count of matches"
1644
+ ::= { logMatchEntry 5 }
1645
+
1646
+ logMatchGlobalCount OBJECT-TYPE
1647
+ SYNTAX Integer32
1648
+ MAX-ACCESS read-only
1649
+ STATUS current
1650
+ DESCRIPTION
1651
+ "Description."
1652
+ ::= { logMatchEntry 6 }
1653
+
1654
+ logMatchCurrentCounter OBJECT-TYPE
1655
+ SYNTAX Counter32
1656
+ MAX-ACCESS read-only
1657
+ STATUS current
1658
+ DESCRIPTION
1659
+ "Regex match counter. This counter will
1660
+ be reset with each logfile rotation."
1661
+ ::= { logMatchEntry 7 }
1662
+
1663
+ logMatchCurrentCount OBJECT-TYPE
1664
+ SYNTAX Integer32
1665
+ MAX-ACCESS read-only
1666
+ STATUS current
1667
+ DESCRIPTION
1668
+ "Description."
1669
+ ::= { logMatchEntry 8 }
1670
+
1671
+ logMatchCounter OBJECT-TYPE
1672
+ SYNTAX Counter32
1673
+ MAX-ACCESS read-only
1674
+ STATUS current
1675
+ DESCRIPTION
1676
+ "Regex match counter. This counter will
1677
+ be reset with each read"
1678
+ ::= { logMatchEntry 9 }
1679
+
1680
+ logMatchCount OBJECT-TYPE
1681
+ SYNTAX Integer32
1682
+ MAX-ACCESS read-only
1683
+ STATUS current
1684
+ DESCRIPTION
1685
+ "Description."
1686
+ ::= { logMatchEntry 10 }
1687
+
1688
+ logMatchCycle OBJECT-TYPE
1689
+ SYNTAX Integer32
1690
+ MAX-ACCESS read-only
1691
+ STATUS current
1692
+ DESCRIPTION
1693
+ "time between updates (if not queried) in seconds"
1694
+ ::= { logMatchEntry 11 }
1695
+
1696
+ logMatchErrorFlag OBJECT-TYPE
1697
+ SYNTAX UCDErrorFlag
1698
+ MAX-ACCESS read-only
1699
+ STATUS current
1700
+ DESCRIPTION
1701
+ "errorflag: is this line configured correctly?"
1702
+ ::= { logMatchEntry 100 }
1703
+
1704
+ logMatchRegExCompilation OBJECT-TYPE
1705
+ SYNTAX DisplayString
1706
+ MAX-ACCESS read-only
1707
+ STATUS current
1708
+ DESCRIPTION
1709
+ "message of regex precompilation"
1710
+ ::= { logMatchEntry 101 }
1711
+
1712
+ END