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