added files
[bcm963xx.git] / userapps / opensource / net-snmp / mibs / UCD-SNMP-MIB.txt
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
34         FROM SNMPv2-SMI
35
36     TEXTUAL-CONVENTION, DisplayString, TruthValue
37         FROM SNMPv2-TC;
38
39 ucdavis MODULE-IDENTITY
40     LAST-UPDATED "200209050000Z"
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         "Deprecate the non-raw objects."
57     REVISION     "200209050000Z"
58     DESCRIPTION
59         "This file defines the private UCD SNMP MIB extensions."
60     REVISION     "200101170000Z"
61     DESCRIPTION
62         "Added raw CPU and IO counters."
63     REVISION     "9912090000Z"
64     DESCRIPTION
65         "SMIv2 version converted from older MIB definitions."
66     ::= { enterprises 2021 }
67
68 -- Current UCD core mib table entries:
69 --   prTable          OBJECT IDENTIFIER ::= { ucdavis   2 }
70 --   memory           OBJECT IDENTIFIER ::= { ucdavis   4 }
71 --   extTable         OBJECT IDENTIFIER ::= { ucdavis   8 }
72 --   diskTable        OBJECT IDENTIFIER ::= { ucdavis   9 }
73 --   loadTable        OBJECT IDENTIFIER ::= { ucdavis  10 }
74 --   systemStats      OBJECT IDENTIFIER ::= { ucdavis  11 }
75 --   ucdDemoMIB       OBJECT IDENTIFIER ::= { ucdavis  14 } - UCD-DEMO-MIB
76 --   fileTable        OBJECT IDENTIFIER ::= { ucdavis  15 }
77 --   logmatch         OBJECT IDENTIFIER ::= { ucdavis  15 }
78 --   version          OBJECT IDENTIFIER ::= { ucdavis 100 }
79 --   snmperrs         OBJECT IDENTIFIER ::= { ucdavis 101 }
80 --   mibRegistryTable OBJECT IDENTIFIER ::= { ucdavis 102 }
81
82 -- Older mib table entries that were changed to new locations above:
83 --   processes        OBJECT IDENTIFIER ::= { ucdavis   1 }
84 --   exec             OBJECT IDENTIFIER ::= { ucdavis   3 }
85 --   disk             OBJECT IDENTIFIER ::= { ucdavis   6 }
86 --   load             OBJECT IDENTIFIER ::= { ucdavis   7 }
87
88 -- Never implemented and removed from the mib:
89 --   lockd            OBJECT IDENTIFIER ::= { ucdavis   5 }
90
91 -- Branches for registering other UCD MIB modules:
92 ucdInternal           OBJECT IDENTIFIER ::= { ucdavis 12 }
93 ucdExperimental       OBJECT IDENTIFIER ::= { ucdavis 13 }
94
95 -- OID values assigned in the ucdExperimental branch:
96 --   ucdIpFwAccMIB    OBJECT IDENTIFIER ::= { ucdExperimental  1 } - UCD-IPFWACC-MIB
97 --   ucdIpFilter      OBJECT IDENTIFIER ::= { ucdExperimental  2 } - UCD-IPFILTER-MIB
98 --   wavelan          OBJECT IDENTIFIER ::= { ucdExperimental  3 } - WL-MIB
99 --   ucdDlmodMIB      OBJECT IDENTIFIER ::= { ucdExperimental 14 } - UCD-DLMOD-MIB
100 --   ucdDiskIOMIB     OBJECT IDENTIFIER ::= { ucdExperimental 15 } - UCD-DISKIO-MIB
101 --   lmSensors        OBJECT IDENTIFIER ::= { ucdExperimental 16 } - LM-SENSORS-MIB
102
103
104 -- These are the returned values of the agent type.
105 -- returned to:  .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0 
106
107 ucdSnmpAgent      OBJECT IDENTIFIER ::= { ucdavis 250 }
108 hpux9             OBJECT IDENTIFIER ::= { ucdSnmpAgent 1 }
109 sunos4            OBJECT IDENTIFIER ::= { ucdSnmpAgent 2 }
110 solaris           OBJECT IDENTIFIER ::= { ucdSnmpAgent 3 }
111 osf               OBJECT IDENTIFIER ::= { ucdSnmpAgent 4 }
112 ultrix            OBJECT IDENTIFIER ::= { ucdSnmpAgent 5 }
113 hpux10            OBJECT IDENTIFIER ::= { ucdSnmpAgent 6 }
114 netbsd1           OBJECT IDENTIFIER ::= { ucdSnmpAgent 7 }
115 freebsd           OBJECT IDENTIFIER ::= { ucdSnmpAgent 8 }
116 irix              OBJECT IDENTIFIER ::= { ucdSnmpAgent 9 }
117 linux             OBJECT IDENTIFIER ::= { ucdSnmpAgent 10 }
118 bsdi              OBJECT IDENTIFIER ::= { ucdSnmpAgent 11 }
119 openbsd           OBJECT IDENTIFIER ::= { ucdSnmpAgent 12 }
120 win32             OBJECT IDENTIFIER ::= { ucdSnmpAgent 13 } -- unlucky
121 hpux11            OBJECT IDENTIFIER ::= { ucdSnmpAgent 14 }
122 unknown           OBJECT IDENTIFIER ::= { ucdSnmpAgent 255 }
123
124
125 --
126 -- Define the Float Textual Convention
127 --   This definition was written by David Perkins.
128 --
129
130 Float ::= TEXTUAL-CONVENTION
131     STATUS      current
132     DESCRIPTION
133         "A single precision floating-point number.  The semantics
134          and encoding are identical for type 'single' defined in
135          IEEE Standard for Binary Floating-Point,
136          ANSI/IEEE Std 754-1985.
137          The value is restricted to the BER serialization of
138          the following ASN.1 type:
139              FLOATTYPE ::= [120] IMPLICIT FloatType
140          (note: the value 120 is the sum of '30'h and '48'h)
141          The BER serialization of the length for values of
142          this type must use the definite length, short
143          encoding form.
144
145          For example, the BER serialization of value 123
146          of type FLOATTYPE is '9f780442f60000'h.  (The tag
147          is '9f78'h; the length is '04'h; and the value is
148          '42f60000'h.) The BER serialization of value
149          '9f780442f60000'h of data type Opaque is
150          '44079f780442f60000'h. (The tag is '44'h; the length
151          is '07'h; and the value is '9f780442f60000'h."
152     SYNTAX Opaque (SIZE (7))
153
154 --
155 -- Process table checks
156 --
157
158 prTable OBJECT-TYPE
159     SYNTAX      SEQUENCE OF PrEntry
160     MAX-ACCESS  not-accessible
161     STATUS      current
162     DESCRIPTION
163         "A table containing information on running
164          programs/daemons configured for monitoring in the
165          snmpd.conf file of the agent.  Processes violating the
166          number of running processes required by the agent's
167          configuration file are flagged with numerical and
168          textual errors."
169     ::= { ucdavis 2 }
170
171 prEntry OBJECT-TYPE
172     SYNTAX      PrEntry
173     MAX-ACCESS  not-accessible
174     STATUS      current
175     DESCRIPTION
176         "An entry containing a process and its statistics."
177     INDEX       { prIndex }
178     ::= { prTable  1 }
179
180 PrEntry ::= SEQUENCE {
181     prIndex             Integer32,
182     prNames             DisplayString,
183     prMin               Integer32,
184     prMax               Integer32,
185     prCount             Integer32,
186     prErrorFlag         Integer32,
187     prErrMessage        DisplayString,
188     prErrFix            Integer32,
189     prErrFixCmd         DisplayString
190 }
191
192 prIndex OBJECT-TYPE
193     SYNTAX      Integer32 (0..65535)
194     MAX-ACCESS  read-only
195     STATUS      current
196     DESCRIPTION
197         "Reference Index for each observed process."
198     ::= { prEntry 1 }
199
200 prNames OBJECT-TYPE
201     SYNTAX      DisplayString
202     MAX-ACCESS  read-only
203     STATUS      current
204     DESCRIPTION
205         "The process name we're counting/checking on."
206     ::= { prEntry 2 }
207
208 prMin OBJECT-TYPE
209     SYNTAX      Integer32
210     MAX-ACCESS  read-only
211     STATUS      current
212     DESCRIPTION
213         "The minimum number of processes that should be
214          running.  An error flag is generated if the number of
215          running processes is < the minimum."
216     ::= { prEntry 3 }
217
218 prMax OBJECT-TYPE
219     SYNTAX      Integer32
220     MAX-ACCESS  read-only
221     STATUS      current
222     DESCRIPTION
223         "The maximum number of processes that should be
224          running.  An error flag is generated if the number of
225          running processes is > the maximum."
226     ::= { prEntry 4 }
227
228 prCount OBJECT-TYPE
229     SYNTAX      Integer32
230     MAX-ACCESS  read-only
231     STATUS      current
232     DESCRIPTION
233         "The number of current processes running with the name
234          in question."
235     ::= { prEntry 5 }
236
237 prErrorFlag OBJECT-TYPE
238     SYNTAX      Integer32
239     MAX-ACCESS  read-only
240     STATUS      current
241     DESCRIPTION
242         "A Error flag to indicate trouble with a process.  It
243          goes to 1 if there is an error, 0 if no error."
244     ::= { prEntry 100 }
245
246 prErrMessage OBJECT-TYPE
247     SYNTAX      DisplayString
248     MAX-ACCESS  read-only
249     STATUS      current
250     DESCRIPTION
251         "An error message describing the problem (if one exists)."
252     ::= { prEntry 101 }
253
254 prErrFix OBJECT-TYPE
255     SYNTAX      Integer32
256     MAX-ACCESS  read-write
257     STATUS      current
258     DESCRIPTION
259         "Setting this to one will try to fix the problem if
260          the agent has been configured with a script to call
261          to attempt to fix problems automatically using remote
262          snmp operations."
263     ::= { prEntry 102 }
264
265 prErrFixCmd OBJECT-TYPE
266     SYNTAX      DisplayString
267     MAX-ACCESS  read-only
268     STATUS      current
269     DESCRIPTION
270         "The command that gets run when the prErrFix column is 
271          set to 1."
272     ::= { prEntry 103 }
273
274
275
276 extTable OBJECT-TYPE
277     SYNTAX      SEQUENCE OF ExtEntry
278     MAX-ACCESS  not-accessible
279     STATUS      current
280     DESCRIPTION
281         "A table of extensible commands returning output and
282          result codes.  These commands are configured via the
283          agent's snmpd.conf file."
284     ::= { ucdavis 8 }
285
286 extEntry OBJECT-TYPE
287     SYNTAX     ExtEntry
288     MAX-ACCESS not-accessible
289     STATUS     current
290     DESCRIPTION
291         "An entry containing an extensible script/program and its output."
292     INDEX      { extIndex }
293     ::= { extTable  1 }
294
295 ExtEntry ::= SEQUENCE {
296     extIndex            Integer32,
297     extNames            DisplayString,
298     extCommand          DisplayString,
299     extResult           Integer32,
300     extOutput           DisplayString,
301     extErrFix           Integer32,
302     extErrFixCmd        DisplayString
303 }
304
305 extIndex OBJECT-TYPE
306     SYNTAX      Integer32 (0..65535)
307     MAX-ACCESS  read-only
308     STATUS      current
309     DESCRIPTION
310         "Reference Index for extensible scripts.  Simply an
311          integer row number."
312     ::= { extEntry 1 }
313
314 extNames OBJECT-TYPE
315     SYNTAX      DisplayString
316     MAX-ACCESS  read-only
317     STATUS      current
318     DESCRIPTION
319         "A Short, one name description of the extensible command."
320     ::= { extEntry 2 }
321
322 extCommand OBJECT-TYPE
323     SYNTAX      DisplayString
324     MAX-ACCESS  read-only
325     STATUS      current
326     DESCRIPTION
327         "The command line to be executed."
328     ::= { extEntry 3 }
329
330 extResult OBJECT-TYPE
331     SYNTAX      Integer32
332     MAX-ACCESS  read-only
333     STATUS      current
334     DESCRIPTION
335         "The result code (exit status) from the executed command."
336     ::= { extEntry 100 }
337
338 extOutput OBJECT-TYPE
339     SYNTAX      DisplayString
340     MAX-ACCESS  read-only
341     STATUS      current
342     DESCRIPTION
343         "The first line of output of the executed command."
344     ::= { extEntry 101 }
345
346 extErrFix OBJECT-TYPE
347     SYNTAX      Integer32
348     MAX-ACCESS  read-write
349     STATUS      current
350     DESCRIPTION
351         "Setting this to one will try to fix the problem if
352          the agent has been configured with a script to call
353          to attempt to fix problems automatically using remote
354          snmp operations."
355     ::= { extEntry 102 }
356         
357 extErrFixCmd OBJECT-TYPE
358     SYNTAX      DisplayString
359     MAX-ACCESS  read-only
360     STATUS      current
361     DESCRIPTION
362         "The command that gets run when the extErrFix column is 
363          set to 1."
364     ::= { extEntry 103 }
365
366 --
367 -- Memory usage/watch reporting.
368 -- Not supported on all systems!
369 -- See agent/mibgroup/ucd_snmp.h to see if its loaded for your architecture.
370 --
371 memory OBJECT IDENTIFIER ::= { ucdavis 4 }
372
373 memIndex OBJECT-TYPE
374     SYNTAX      Integer32
375     MAX-ACCESS  read-only
376     STATUS      current
377     DESCRIPTION  
378         "Bogus Index.  This should always return the integer 0."
379     ::= { memory 1 } 
380
381 memErrorName OBJECT-TYPE
382     SYNTAX      DisplayString
383     MAX-ACCESS  read-only
384     STATUS      current
385     DESCRIPTION  
386         "Bogus Name. This should always return the string 'swap'."
387     ::= { memory 2 } 
388
389 memTotalSwap OBJECT-TYPE
390     SYNTAX      Integer32
391     MAX-ACCESS  read-only
392     STATUS      current
393     DESCRIPTION
394         "Total Swap Size configured for the host."
395     ::= { memory 3 }
396
397 memAvailSwap OBJECT-TYPE
398     SYNTAX      Integer32
399     MAX-ACCESS  read-only
400     STATUS      current
401     DESCRIPTION
402         "Available Swap Space on the host."
403     ::= { memory 4 }
404
405 memTotalReal OBJECT-TYPE
406     SYNTAX      Integer32
407     MAX-ACCESS  read-only
408     STATUS      current
409     DESCRIPTION
410         "Total Real/Physical Memory Size on the host."
411     ::= { memory 5 }
412
413 memAvailReal OBJECT-TYPE
414     SYNTAX      Integer32
415     MAX-ACCESS  read-only
416     STATUS      current
417     DESCRIPTION
418         "Available Real/Physical Memory Space on the host."
419     ::= { memory 6 }
420
421 memTotalSwapTXT OBJECT-TYPE
422     SYNTAX      Integer32
423     MAX-ACCESS  read-only
424     STATUS      current
425     DESCRIPTION
426         "Total virtual memory used by text."
427     ::= { memory 7 }
428
429 memAvailSwapTXT OBJECT-TYPE
430     SYNTAX      Integer32
431     MAX-ACCESS  read-only
432     STATUS      current
433     DESCRIPTION 
434         "Active virtual memory used by text."
435     ::= { memory 8 }
436
437 memTotalRealTXT OBJECT-TYPE
438     SYNTAX      Integer32
439     MAX-ACCESS  read-only
440     STATUS      current
441     DESCRIPTION
442         "Total Real/Physical Memory Size used by text."
443     ::= { memory 9 }
444
445 memAvailRealTXT OBJECT-TYPE
446     SYNTAX      Integer32
447     MAX-ACCESS  read-only
448     STATUS      current
449     DESCRIPTION
450         "Active Real/Physical Memory Space used by text."
451     ::= { memory 10 }
452
453 memTotalFree OBJECT-TYPE
454     SYNTAX      Integer32
455     MAX-ACCESS  read-only
456     STATUS      current
457     DESCRIPTION
458         "Total Available Memory on the host"
459     ::= { memory 11 }
460
461 memMinimumSwap OBJECT-TYPE
462     SYNTAX      Integer32
463     MAX-ACCESS  read-only
464     STATUS      current
465     DESCRIPTION
466         "Minimum amount of free swap required to be free
467          or else memErrorSwap is set to 1 and an error string is
468          returned memSwapErrorMsg."
469     ::= { memory 12 }
470
471 memShared OBJECT-TYPE
472     SYNTAX      Integer32
473     MAX-ACCESS  read-only
474     STATUS      current
475     DESCRIPTION
476         "Total Shared Memory"
477     ::= { memory 13 }
478
479 memBuffer OBJECT-TYPE
480     SYNTAX      Integer32
481     MAX-ACCESS  read-only
482     STATUS      current
483     DESCRIPTION
484         "Total Buffered Memory"
485     ::= { memory 14 }
486
487 memCached OBJECT-TYPE
488     SYNTAX      Integer32
489     MAX-ACCESS  read-only
490     STATUS      current
491     DESCRIPTION
492         "Total Cached Memory"
493     ::= { memory 15 }
494
495 memSwapError OBJECT-TYPE
496     SYNTAX      Integer32
497     MAX-ACCESS  read-only
498     STATUS      current
499     DESCRIPTION
500         "Error flag.  1 indicates very little swap space left"
501     ::= { memory 100 }
502         
503 memSwapErrorMsg OBJECT-TYPE
504     SYNTAX      DisplayString
505     MAX-ACCESS  read-only
506     STATUS      current
507     DESCRIPTION
508         "Error message describing the Error Flag condition"
509     ::= { memory 101 } 
510
511
512 dskTable OBJECT-TYPE
513     SYNTAX      SEQUENCE OF DskEntry
514     MAX-ACCESS  not-accessible
515     STATUS      current
516     DESCRIPTION
517         "Disk watching information.  Partions to be watched
518          are configured by the snmpd.conf file of the agent."
519     ::= { ucdavis 9 }
520
521 dskEntry OBJECT-TYPE
522     SYNTAX     DskEntry
523     MAX-ACCESS not-accessible
524     STATUS     current
525     DESCRIPTION
526         "An entry containing a disk and its statistics."
527     INDEX      { dskIndex }
528     ::= { dskTable  1 }
529
530 DskEntry ::= SEQUENCE {
531     dskIndex            Integer32,
532     dskPath             DisplayString,
533     dskDevice           DisplayString,
534     dskMinimum          Integer32,
535     dskMinPercent       Integer32,
536     dskTotal            Integer32,
537     dskAvail            Integer32,
538     dskUsed             Integer32,
539     dskPercent          Integer32,
540     dskPercentNode      Integer32,
541     dskErrorFlag        Integer32,
542     dskErrorMsg         DisplayString
543 }
544
545 dskIndex OBJECT-TYPE
546     SYNTAX      Integer32 (0..65535)
547     MAX-ACCESS  read-only
548     STATUS      current
549     DESCRIPTION
550         "Integer reference number (row number) for the disk mib."
551     ::= { dskEntry 1 }
552         
553 dskPath OBJECT-TYPE
554     SYNTAX      DisplayString
555     MAX-ACCESS  read-only
556     STATUS      current
557     DESCRIPTION  
558         "Path where the disk is mounted."
559     ::= { dskEntry 2 } 
560
561 dskDevice OBJECT-TYPE
562     SYNTAX      DisplayString
563     MAX-ACCESS  read-only
564     STATUS      current
565     DESCRIPTION  
566         "Path of the device for the partition"
567     ::= { dskEntry 3 } 
568
569 dskMinimum OBJECT-TYPE
570     SYNTAX      Integer32
571     MAX-ACCESS  read-only
572     STATUS      current
573     DESCRIPTION  
574         "Minimum space required on the disk (in kBytes) before the
575          errors are triggered.  Either this or dskMinPercent is
576          configured via the agent's snmpd.conf file."
577     ::= { dskEntry 4 } 
578
579 dskMinPercent OBJECT-TYPE
580     SYNTAX      Integer32
581     MAX-ACCESS  read-only
582     STATUS      current
583     DESCRIPTION  
584         "Percentage of minimum space required on the disk before the
585          errors are triggered.  Either this or dskMinimum is
586          configured via the agent's snmpd.conf file."
587     ::= { dskEntry 5 } 
588
589 dskTotal OBJECT-TYPE
590     SYNTAX      Integer32
591     MAX-ACCESS  read-only
592     STATUS      current
593     DESCRIPTION  
594         "Total size of the disk/partion (kBytes)"
595     ::= { dskEntry 6 } 
596
597 dskAvail OBJECT-TYPE
598     SYNTAX      Integer32
599     MAX-ACCESS  read-only
600     STATUS      current
601     DESCRIPTION  
602         "Available space on the disk"
603     ::= { dskEntry 7 } 
604
605 dskUsed OBJECT-TYPE
606     SYNTAX      Integer32
607     MAX-ACCESS  read-only
608     STATUS      current
609     DESCRIPTION  
610         "Used space on the disk"
611     ::= { dskEntry 8 } 
612
613 dskPercent OBJECT-TYPE
614     SYNTAX      Integer32
615     MAX-ACCESS  read-only
616     STATUS      current
617     DESCRIPTION  
618         "Percentage of space used on disk"
619     ::= { dskEntry 9 } 
620
621 dskPercentNode OBJECT-TYPE
622     SYNTAX      Integer32
623     MAX-ACCESS  read-only
624     STATUS      current
625     DESCRIPTION  
626         "Percentage of inodes used on disk"
627     ::= { dskEntry 10 } 
628
629 dskErrorFlag OBJECT-TYPE
630     SYNTAX      Integer32
631     MAX-ACCESS  read-only
632     STATUS      current
633     DESCRIPTION  
634         "Error flag signaling that the disk or partition is under
635          the minimum required space configured for it."
636     ::= { dskEntry 100 } 
637      
638 dskErrorMsg OBJECT-TYPE
639     SYNTAX      DisplayString
640     MAX-ACCESS  read-only
641     STATUS      current
642     DESCRIPTION  
643         "A text description providing a warning and the space left
644          on the disk."
645     ::= { dskEntry 101 } 
646      
647 laTable OBJECT-TYPE
648     SYNTAX      SEQUENCE OF LaEntry
649     MAX-ACCESS  not-accessible
650     STATUS      current
651     DESCRIPTION
652         "Load average information."
653     ::= { ucdavis 10 }
654
655 laEntry OBJECT-TYPE
656     SYNTAX      LaEntry
657     MAX-ACCESS  not-accessible
658     STATUS      current
659     DESCRIPTION
660         "An entry containing a load average and its values."
661     INDEX       { laIndex }
662     ::= { laTable  1 }
663
664 LaEntry ::= SEQUENCE {
665     laIndex             Integer32,
666     laNames             DisplayString,
667     laLoad              DisplayString,
668     laConfig            DisplayString,
669     laLoadInt           Integer32,
670     laLoadFloat         Float,
671     laErrorFlag         Integer32,
672     laErrMessage        DisplayString
673 }
674
675 laIndex OBJECT-TYPE
676     SYNTAX      Integer32 (0..3)
677     MAX-ACCESS  read-only
678     STATUS      current
679     DESCRIPTION
680         "reference index/row number for each observed loadave."
681     ::= { laEntry 1 }
682
683 laNames OBJECT-TYPE
684     SYNTAX      DisplayString
685     MAX-ACCESS  read-only
686     STATUS      current
687     DESCRIPTION
688         "The list of loadave names we're watching."
689     ::= { laEntry 2 }
690
691 laLoad OBJECT-TYPE
692     SYNTAX      DisplayString
693     MAX-ACCESS  read-only
694     STATUS      current
695     DESCRIPTION
696         "The 1,5 and 10 minute load averages (one per row)."
697     ::= { laEntry 3 }
698
699 laConfig OBJECT-TYPE
700     SYNTAX      DisplayString
701     MAX-ACCESS  read-only
702     STATUS      current
703     DESCRIPTION
704         "The watch point for load-averages to signal an
705          error.  If the load averages rises above this value,
706          the laErrorFlag below is set."
707     ::= { laEntry 4 }
708
709 laLoadInt OBJECT-TYPE
710     SYNTAX      Integer32
711     MAX-ACCESS  read-only
712     STATUS      current
713     DESCRIPTION
714         "The 1,5 and 10 minute load averages as an integer.
715          This is computed by taking the floating point
716          loadaverage value and multiplying by 100, then
717          converting the value to an integer."
718     ::= { laEntry 5 }
719
720 laLoadFloat OBJECT-TYPE
721     SYNTAX      Float
722     MAX-ACCESS  read-only
723     STATUS      current
724     DESCRIPTION
725         "The 1,5 and 10 minute load averages as an opaquely
726          wrapped floating point number."
727     ::= { laEntry 6 }
728
729 laErrorFlag OBJECT-TYPE
730     SYNTAX      Integer32
731     MAX-ACCESS  read-only
732     STATUS      current
733     DESCRIPTION
734         "A Error flag to indicate the load-average has crossed
735          its threshold value defined in the snmpd.conf file.
736          It is set to 1 if the threshold is crossed, 0 otherwise."
737     ::= { laEntry 100 }
738
739 laErrMessage OBJECT-TYPE
740     SYNTAX      DisplayString
741     MAX-ACCESS  read-only
742     STATUS      current
743     DESCRIPTION
744         "An error message describing the load-average and its
745          surpased watch-point value."
746     ::= { laEntry 101 }
747
748
749 version OBJECT IDENTIFIER ::= { ucdavis 100 }
750
751 versionIndex OBJECT-TYPE
752     SYNTAX      Integer32
753     MAX-ACCESS  read-only
754     STATUS      current
755     DESCRIPTION  
756         "Index to mib (always 0)"
757     ::= { version 1 } 
758
759 versionTag OBJECT-TYPE
760     SYNTAX      DisplayString
761     MAX-ACCESS  read-only
762     STATUS      current
763     DESCRIPTION  
764         "CVS tag keyword"
765     ::= { version 2 } 
766      
767 versionDate OBJECT-TYPE
768     SYNTAX      DisplayString
769     MAX-ACCESS  read-only
770     STATUS      current
771     DESCRIPTION  
772         "Date string from RCS keyword"
773     ::= { version 3 } 
774
775 versionCDate OBJECT-TYPE
776     SYNTAX      DisplayString
777     MAX-ACCESS  read-only
778     STATUS      current
779     DESCRIPTION  
780         "Date string from ctime() "
781     ::= { version 4 } 
782
783 versionIdent OBJECT-TYPE
784     SYNTAX      DisplayString
785     MAX-ACCESS  read-only
786     STATUS      current
787     DESCRIPTION  
788         "Id string from RCS keyword"
789     ::= { version 5 } 
790
791 versionConfigureOptions OBJECT-TYPE
792     SYNTAX      DisplayString
793     MAX-ACCESS  read-only
794     STATUS      current
795     DESCRIPTION  
796         "Options passed to the configure script when this agent was built."
797     ::= { version 6 } 
798
799 versionClearCache OBJECT-TYPE
800     SYNTAX      Integer32
801     MAX-ACCESS  read-write
802     STATUS      current
803     DESCRIPTION  
804         "Set to 1 to clear the exec cache, if enabled"
805     ::= { version 10 } 
806
807 versionUpdateConfig OBJECT-TYPE
808     SYNTAX      Integer32
809     MAX-ACCESS  read-write
810     STATUS      current
811     DESCRIPTION  
812         "Set to 1 to read-read the config file(s)."
813     ::= { version 11 } 
814
815 versionRestartAgent OBJECT-TYPE
816     SYNTAX      Integer32
817     MAX-ACCESS  read-write
818     STATUS      current
819     DESCRIPTION  
820         "Set to 1 to restart the agent."
821     ::= { version 12 } 
822
823 versionSavePersistentData OBJECT-TYPE
824     SYNTAX      Integer32
825     MAX-ACCESS  read-write
826     STATUS      current
827     DESCRIPTION  
828         "Set to 1 to force the agent to save it's persistent data immediately."
829     ::= { version 13 } 
830
831 versionDoDebugging OBJECT-TYPE
832     SYNTAX      Integer32
833     MAX-ACCESS  read-write
834     STATUS      current
835     DESCRIPTION  
836         "Set to 1 to turn debugging statements on in the agent or 0
837          to turn it off."
838     ::= { version 20 } 
839
840
841 snmperrs OBJECT IDENTIFIER ::= { ucdavis 101 }
842
843 snmperrIndex OBJECT-TYPE
844     SYNTAX      Integer32
845     MAX-ACCESS  read-only
846     STATUS      current
847     DESCRIPTION
848         "Bogus Index for snmperrs (always 0)."
849     ::= { snmperrs 1 }
850
851 snmperrNames OBJECT-TYPE
852     SYNTAX      DisplayString
853     MAX-ACCESS  read-only
854     STATUS      current
855     DESCRIPTION
856         "snmp"
857     ::= { snmperrs 2 }
858
859 snmperrErrorFlag OBJECT-TYPE
860     SYNTAX      Integer32
861     MAX-ACCESS  read-only
862     STATUS      current
863     DESCRIPTION
864         "A Error flag to indicate trouble with the agent.  It
865          goes to 1 if there is an error, 0 if no error."
866     ::= { snmperrs 100 }
867
868 snmperrErrMessage OBJECT-TYPE
869     SYNTAX      DisplayString
870     MAX-ACCESS  read-only
871     STATUS      current
872     DESCRIPTION
873         "An error message describing the problem (if one exists)."
874     ::= { snmperrs 101 }
875
876
877 mrTable OBJECT-TYPE
878     SYNTAX      SEQUENCE OF MrEntry
879     MAX-ACCESS  not-accessible
880     STATUS      current
881     DESCRIPTION
882         "A table displaying all the oid's registered by mib modules in
883          the agent.  Since the agent is modular in nature, this lists
884          each module's OID it is responsible for and the name of the module"
885     ::= { ucdavis 102 }
886
887 mrEntry OBJECT-TYPE
888     SYNTAX      MrEntry
889     MAX-ACCESS  not-accessible
890     STATUS      current
891     DESCRIPTION
892         "An entry containing a registered mib oid."
893     INDEX       { IMPLIED mrIndex }
894     ::= { mrTable 1 }
895
896 MrEntry ::= SEQUENCE {
897     mrIndex             OBJECT IDENTIFIER,
898     mrModuleName        DisplayString
899 }
900
901 mrIndex OBJECT-TYPE
902     SYNTAX      OBJECT IDENTIFIER
903     MAX-ACCESS  read-only
904     STATUS      current
905     DESCRIPTION
906         "The registry slot of a mibmodule."
907     ::= { mrEntry  1 }
908
909 mrModuleName OBJECT-TYPE
910     SYNTAX      DisplayString
911     MAX-ACCESS  read-only
912     STATUS      current
913     DESCRIPTION
914         "The module name that registered this OID."
915     ::= { mrEntry  2 }
916
917 systemStats OBJECT IDENTIFIER ::= { ucdavis 11 }
918
919 ssIndex OBJECT-TYPE
920     SYNTAX      Integer32
921     MAX-ACCESS  read-only
922     STATUS      current
923     DESCRIPTION
924         "Reference Index for each observed systemStat (1)."
925     ::= { systemStats 1 }
926
927 ssErrorName OBJECT-TYPE
928     SYNTAX      DisplayString
929     MAX-ACCESS  read-only
930     STATUS      current
931     DESCRIPTION
932         "The list of systemStats names (vmstat) we're Counting."
933     ::= { systemStats 2 }
934
935 ssSwapIn OBJECT-TYPE
936     SYNTAX      Integer32
937     MAX-ACCESS  read-only
938     STATUS      current
939     DESCRIPTION
940         "Amount of memory swapped in from disk (kB/s)."
941     ::= { systemStats 3 }
942
943 ssSwapOut OBJECT-TYPE
944     SYNTAX      Integer32
945     MAX-ACCESS  read-only
946     STATUS      current
947     DESCRIPTION
948         "Amount of memory swapped to disk (kB/s)."
949     ::= { systemStats 4 }
950
951 ssIOSent OBJECT-TYPE
952     SYNTAX      Integer32
953     MAX-ACCESS  read-only
954     STATUS      deprecated
955     DESCRIPTION
956         "Blocks sent to a block device (blocks/s). Deprecated, replaced by
957         the ssIORawSent object"
958     ::= { systemStats 5 }
959
960 ssIOReceive OBJECT-TYPE
961     SYNTAX      Integer32
962     MAX-ACCESS  read-only
963     STATUS      deprecated
964     DESCRIPTION
965         "Blocks received from a block device (blocks/s). Deprecated, replaced by
966         the ssIORawReceived object"
967     ::= { systemStats 6 }
968
969 ssSysInterrupts OBJECT-TYPE
970     SYNTAX      Integer32
971     MAX-ACCESS  read-only
972     STATUS      deprecated
973     DESCRIPTION
974         "The number of interrupts per second, including the clock.
975         Deprecated, replaced by ssRawInterrupts"
976     ::= { systemStats 7 }
977
978 ssSysContext OBJECT-TYPE
979     SYNTAX      Integer32
980     MAX-ACCESS  read-only
981     STATUS      deprecated
982     DESCRIPTION
983         "The number of context switches per second.
984         Deprecated, replaced by ssRawContext"
985     ::= { systemStats 8 }
986
987 ssCpuUser OBJECT-TYPE
988     SYNTAX      Integer32
989     MAX-ACCESS  read-only
990     STATUS      deprecated
991     DESCRIPTION
992         "percentages of user CPU time. Deprecated, replaced by the ssCpuRawUser
993         object"
994     ::= { systemStats 9 }
995
996 ssCpuSystem OBJECT-TYPE
997     SYNTAX      Integer32
998     MAX-ACCESS  read-only
999     STATUS      deprecated
1000     DESCRIPTION
1001         "percentages of system CPU time. Deprecated, replaced by of the
1002         ssCpuRawSystem object"
1003     ::= { systemStats 10 }
1004
1005 ssCpuIdle OBJECT-TYPE
1006     SYNTAX      Integer32
1007     MAX-ACCESS  read-only
1008     STATUS      deprecated
1009     DESCRIPTION
1010         "percentages of idle CPU time. Deprecated, replaced by of the
1011         ssCpuRawIdle object"
1012     ::= { systemStats 11 }
1013
1014 -- The agent only implements those of the following counters that the
1015 -- kernel supports! Don't expect all to be present.
1016
1017 ssCpuRawUser OBJECT-TYPE
1018     SYNTAX      Counter32
1019     MAX-ACCESS  read-only
1020     STATUS      current
1021     DESCRIPTION
1022         "user CPU time."
1023     ::= { systemStats 50 }
1024
1025 ssCpuRawNice OBJECT-TYPE
1026     SYNTAX      Counter32
1027     MAX-ACCESS  read-only
1028     STATUS      current
1029     DESCRIPTION
1030         "nice CPU time."
1031     ::= { systemStats 51 }
1032
1033 ssCpuRawSystem OBJECT-TYPE
1034     SYNTAX      Counter32
1035     MAX-ACCESS  read-only
1036     STATUS      current
1037     DESCRIPTION
1038         "system CPU time."
1039     ::= { systemStats 52 }
1040
1041 ssCpuRawIdle OBJECT-TYPE
1042     SYNTAX      Counter32
1043     MAX-ACCESS  read-only
1044     STATUS      current
1045     DESCRIPTION
1046         "idle CPU time."
1047     ::= { systemStats 53 }
1048
1049 ssCpuRawWait OBJECT-TYPE
1050     SYNTAX      Counter32
1051     MAX-ACCESS  read-only
1052     STATUS      current
1053     DESCRIPTION
1054         "iowait CPU time. This is primarily a SysV thingie"
1055     ::= { systemStats 54 }
1056
1057 ssCpuRawKernel OBJECT-TYPE
1058     SYNTAX      Counter32
1059     MAX-ACCESS  read-only
1060     STATUS      current
1061     DESCRIPTION
1062         "kernel CPU time."
1063     ::= { systemStats 55 }
1064
1065 ssCpuRawInterrupt OBJECT-TYPE
1066     SYNTAX      Counter32
1067     MAX-ACCESS  read-only
1068     STATUS      current
1069     DESCRIPTION
1070         "interruptlevel CPU time. This is primarily a BSD thingie"
1071     ::= { systemStats 56 }
1072
1073 ssIORawSent OBJECT-TYPE
1074     SYNTAX      Counter32
1075     MAX-ACCESS  read-only
1076     STATUS      current
1077     DESCRIPTION
1078         "Number of requests sent to a block device"
1079     ::= { systemStats 57 }
1080
1081 ssIORawReceived OBJECT-TYPE
1082     SYNTAX      Counter32
1083     MAX-ACCESS  read-only
1084     STATUS      current
1085     DESCRIPTION
1086         "Number of requests received from a block device"
1087     ::= { systemStats 58 }
1088
1089 ssRawInterrupts OBJECT-TYPE
1090     SYNTAX      Counter32
1091     MAX-ACCESS  read-only
1092     STATUS      current
1093     DESCRIPTION
1094         "Number of interrupts processed"
1095     ::= { systemStats 59 }
1096
1097 ssRawContexts OBJECT-TYPE
1098     SYNTAX      Counter32
1099     MAX-ACCESS  read-only
1100     STATUS      current
1101     DESCRIPTION
1102         "Number of context switches"
1103     ::= { systemStats 60 }
1104
1105 -- possibly used in the future:
1106 --
1107 -- ssErrorFlag OBJECT-TYPE
1108 --     SYNTAX      Integer32
1109 --     MAX-ACCESS  read-only
1110 --     STATUS      current
1111 --     DESCRIPTION
1112 --         "Error flag."
1113 --     ::= { systemStats 100 }
1114 -- 
1115 -- ssErrMessage OBJECT-TYPE
1116 --     SYNTAX      DisplayString
1117 --     MAX-ACCESS  read-only
1118 --     STATUS      current
1119 --     DESCRIPTION  
1120 --         "Error message describing the errorflag condition."
1121 --     ::= { systemStats 101 } 
1122
1123
1124 ucdTraps OBJECT IDENTIFIER ::= { ucdavis 251 }
1125
1126 ucdStart NOTIFICATION-TYPE
1127     STATUS      current
1128     DESCRIPTION
1129         ""
1130     ::= { ucdTraps 1 }
1131     
1132 ucdShutdown     NOTIFICATION-TYPE
1133     STATUS current
1134     DESCRIPTION
1135         "This trap is sent when the agent terminates"
1136     ::= { ucdTraps 2 }
1137
1138 --
1139 -- File Table:  monitor a list of files to check for a maximum size.
1140 -- 
1141
1142 fileTable OBJECT-TYPE
1143     SYNTAX      SEQUENCE OF FileEntry
1144     MAX-ACCESS  not-accessible
1145     STATUS      current
1146     DESCRIPTION
1147         "Table of monitored files."
1148     ::= { ucdavis 15 }
1149     
1150 fileEntry OBJECT-TYPE
1151     SYNTAX      FileEntry
1152     MAX-ACCESS  not-accessible
1153     STATUS      current
1154     DESCRIPTION
1155         "Entry of file"
1156     INDEX       { fileIndex }
1157     ::= { fileTable 1 }
1158
1159 FileEntry ::= SEQUENCE {
1160     fileIndex           Integer32,
1161     fileName            DisplayString,
1162     fileSize            Integer32,
1163     fileMax             Integer32,
1164     fileErrorFlag       TruthValue,
1165     fileErrorMsg        DisplayString
1166 }
1167
1168 fileIndex OBJECT-TYPE
1169     SYNTAX      Integer32 (0..2147483647)
1170     MAX-ACCESS  read-only
1171     STATUS      current
1172     DESCRIPTION
1173         "Index of file"
1174     ::= { fileEntry 1 }
1175
1176 fileName OBJECT-TYPE
1177     SYNTAX      DisplayString
1178     MAX-ACCESS  read-only
1179     STATUS      current
1180     DESCRIPTION
1181         "Filename"
1182     ::= { fileEntry 2 }
1183
1184 fileSize OBJECT-TYPE
1185     SYNTAX      Integer32
1186     UNITS       "kB"
1187     MAX-ACCESS  read-only
1188     STATUS      current
1189     DESCRIPTION
1190         "Size of file (kB)"
1191     ::= { fileEntry 3 }
1192
1193 fileMax OBJECT-TYPE
1194     SYNTAX      Integer32
1195     UNITS       "kB"
1196     MAX-ACCESS  read-only
1197     STATUS      current
1198     DESCRIPTION
1199         "Limit of filesize (kB)"
1200     ::= { fileEntry 4 }
1201
1202 fileErrorFlag OBJECT-TYPE
1203     SYNTAX      TruthValue
1204     MAX-ACCESS  read-only
1205     STATUS      current
1206     DESCRIPTION
1207         "Limit exceeded flag"
1208     ::= { fileEntry 100 }
1209
1210 fileErrorMsg OBJECT-TYPE
1211     SYNTAX      DisplayString
1212     MAX-ACCESS  read-only
1213     STATUS      current
1214     DESCRIPTION
1215         "Filesize error message"
1216     ::= { fileEntry 101 }
1217
1218 logMatch OBJECT IDENTIFIER ::= { ucdavis 16 }
1219
1220 logMatchMaxEntries OBJECT-TYPE
1221         SYNTAX Integer32
1222         MAX-ACCESS read-only
1223         STATUS current
1224         DESCRIPTION
1225                 "The maximum number of logmatch entries
1226                 this snmpd daemon can support."
1227         ::= { logMatch 1 }
1228
1229 logMatchTable OBJECT-TYPE
1230         SYNTAX SEQUENCE OF LogMatchEntry
1231         MAX-ACCESS not-accessible
1232         STATUS current
1233         DESCRIPTION
1234                 "Table of monitored files."
1235         ::= { logMatch 2 }
1236
1237 logMatchEntry OBJECT-TYPE
1238         SYNTAX LogMatchEntry
1239         MAX-ACCESS not-accessible
1240         STATUS current
1241         DESCRIPTION
1242                 "Entry of file"
1243         INDEX { logMatchIndex }
1244         ::= { logMatchTable 1 }
1245
1246 LogMatchEntry ::=
1247         SEQUENCE { 
1248                 logMatchIndex
1249                         Integer32,
1250                 logMatchName
1251                         DisplayString,
1252                 logMatchFilename
1253                         DisplayString,
1254                 logMatchRegEx
1255                         DisplayString,
1256                 logMatchGlobalCounter
1257                         Counter32,
1258                 logMatchGlobalCount
1259                         Integer32,
1260                 logMatchCurrentCounter
1261                         Counter32,
1262                 logMatchCurrentCount
1263                         Integer32,
1264                 logMatchCounter
1265                         Counter32,
1266                 logMatchCount
1267                         Integer32,
1268                 logMatchCycle
1269                         Integer32,
1270                 logMatchErrorFlag
1271                         TruthValue,
1272                 logMatchRegExCompilation
1273                         DisplayString
1274          }
1275
1276 logMatchIndex OBJECT-TYPE
1277         SYNTAX Integer32 (1..2147483647)
1278         MAX-ACCESS read-only
1279         STATUS current
1280         DESCRIPTION
1281                 "Index of logmatch"
1282         ::= { logMatchEntry 1 }
1283
1284 logMatchName OBJECT-TYPE
1285         SYNTAX DisplayString
1286         MAX-ACCESS read-only
1287         STATUS current
1288         DESCRIPTION
1289                 "logmatch instance name"
1290         ::= { logMatchEntry 2 }
1291
1292 logMatchFilename OBJECT-TYPE
1293         SYNTAX DisplayString
1294         MAX-ACCESS read-only
1295         STATUS current
1296         DESCRIPTION
1297                 "filename to be logmatched"
1298         ::= { logMatchEntry 3 }
1299
1300 logMatchRegEx OBJECT-TYPE
1301         SYNTAX DisplayString
1302         MAX-ACCESS read-only
1303         STATUS current
1304         DESCRIPTION
1305                 "regular expression"
1306         ::= { logMatchEntry 4 }
1307
1308 logMatchGlobalCounter OBJECT-TYPE
1309         SYNTAX Counter32
1310         MAX-ACCESS read-only
1311         STATUS current
1312         DESCRIPTION
1313                 "global count of matches"
1314         ::= { logMatchEntry 5 }
1315
1316 logMatchGlobalCount OBJECT-TYPE
1317         SYNTAX Integer32
1318         MAX-ACCESS read-only
1319         STATUS current
1320         DESCRIPTION
1321                 "Description."
1322         ::= { logMatchEntry 6 }
1323
1324 logMatchCurrentCounter OBJECT-TYPE
1325         SYNTAX Counter32
1326         MAX-ACCESS read-only
1327         STATUS current
1328         DESCRIPTION
1329                 "Regex match counter. This counter will
1330                 be reset with each logfile rotation."
1331         ::= { logMatchEntry 7 }
1332
1333 logMatchCurrentCount OBJECT-TYPE
1334         SYNTAX Integer32
1335         MAX-ACCESS read-only
1336         STATUS current
1337         DESCRIPTION
1338                 "Description."
1339         ::= { logMatchEntry 8 }
1340
1341 logMatchCounter OBJECT-TYPE
1342         SYNTAX Counter32
1343         MAX-ACCESS read-only
1344         STATUS current
1345         DESCRIPTION
1346                 "Regex match counter. This counter will
1347                 be reset with each read"
1348         ::= { logMatchEntry 9 }
1349
1350 logMatchCount OBJECT-TYPE
1351         SYNTAX Integer32
1352         MAX-ACCESS read-only
1353         STATUS current
1354         DESCRIPTION
1355                 "Description."
1356         ::= { logMatchEntry 10 }
1357
1358 logMatchCycle OBJECT-TYPE
1359         SYNTAX Integer32
1360         MAX-ACCESS read-only
1361         STATUS current
1362         DESCRIPTION
1363                 "time between updates (if not queried) in seconds"
1364         ::= { logMatchEntry 11 }
1365
1366 logMatchErrorFlag OBJECT-TYPE
1367         SYNTAX TruthValue
1368         MAX-ACCESS read-only
1369         STATUS current
1370         DESCRIPTION
1371                 "errorflag: is this line configured correctly?"
1372         ::= { logMatchEntry 100 }
1373
1374 logMatchRegExCompilation OBJECT-TYPE
1375         SYNTAX DisplayString
1376         MAX-ACCESS read-only
1377         STATUS current
1378         DESCRIPTION
1379                 "message of regex precompilation"
1380         ::= { logMatchEntry 101 }
1381
1382 END