📄 ucd-snmp-mib.txt
字号:
UCD-SNMP-MIB DEFINITIONS ::= BEGIN-- Design notes:---- The design of this mib may seem unusual in parts, as it was-- designed for ease of numerical management routines.-- -- In that light, most sub-sections of this mib have four common-- numerical oid consistencies:---- 2021.ID.1 : an integer index value. In scalers, this is always-- of value 1. In tables it is a row index.-- 2021.ID.2 : a name of the script, process, etc. that this row represents.-- 2021.ID.100 : An error flag indicating if an error is present on-- that row (a threshold value was crossed, etc).-- 2021.ID.101 : An error string describing why the error flag is non-0.---- These conventions enable managers to easy examine portions of the-- mib by setting the ID to the sub-section they are interested in-- monitoring, and then scanning the .100 value to check for an-- error(s), and get a more specific error message from .101 for the-- named check found in .2.---- Row numbers between 2 and 100 are sub-section specific.---- Mib sections utilizing the above conventions:-- Tables: procTable, execTable, diskTable, loadTable-- Scalers: memory, snmperrsIMPORTS OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY, Integer32, Opaque, enterprises, Counter32 FROM SNMPv2-SMI TEXTUAL-CONVENTION, DisplayString, TruthValue FROM SNMPv2-TC;ucdavis MODULE-IDENTITY LAST-UPDATED "200209050000Z" ORGANIZATION "University of California, Davis" CONTACT-INFO "This mib is no longer being maintained by the University of California and is now in life-support-mode and being maintained by the net-snmp project. The best place to write for public questions about the net-snmp-coders mailing list at net-snmp-coders@lists.sourceforge.net. postal: Wes Hardaker P.O. Box 382 Davis CA 95617 email: net-snmp-coders@lists.sourceforge.net " DESCRIPTION "Deprecate the non-raw objects." REVISION "200209050000Z" DESCRIPTION "This file defines the private UCD SNMP MIB extensions." REVISION "200101170000Z" DESCRIPTION "Added raw CPU and IO counters." REVISION "9912090000Z" DESCRIPTION "SMIv2 version converted from older MIB definitions." ::= { enterprises 2021 }-- Current UCD core mib table entries:-- prTable OBJECT IDENTIFIER ::= { ucdavis 2 }-- memory OBJECT IDENTIFIER ::= { ucdavis 4 }-- extTable OBJECT IDENTIFIER ::= { ucdavis 8 }-- diskTable OBJECT IDENTIFIER ::= { ucdavis 9 }-- loadTable OBJECT IDENTIFIER ::= { ucdavis 10 }-- systemStats OBJECT IDENTIFIER ::= { ucdavis 11 }-- ucdDemoMIB OBJECT IDENTIFIER ::= { ucdavis 14 } - UCD-DEMO-MIB-- fileTable OBJECT IDENTIFIER ::= { ucdavis 15 }-- logmatch OBJECT IDENTIFIER ::= { ucdavis 15 }-- version OBJECT IDENTIFIER ::= { ucdavis 100 }-- snmperrs OBJECT IDENTIFIER ::= { ucdavis 101 }-- mibRegistryTable OBJECT IDENTIFIER ::= { ucdavis 102 }-- Older mib table entries that were changed to new locations above:-- processes OBJECT IDENTIFIER ::= { ucdavis 1 }-- exec OBJECT IDENTIFIER ::= { ucdavis 3 }-- disk OBJECT IDENTIFIER ::= { ucdavis 6 }-- load OBJECT IDENTIFIER ::= { ucdavis 7 }-- Never implemented and removed from the mib:-- lockd OBJECT IDENTIFIER ::= { ucdavis 5 }-- Branches for registering other UCD MIB modules:ucdInternal OBJECT IDENTIFIER ::= { ucdavis 12 }ucdExperimental OBJECT IDENTIFIER ::= { ucdavis 13 }-- OID values assigned in the ucdExperimental branch:-- ucdIpFwAccMIB OBJECT IDENTIFIER ::= { ucdExperimental 1 } - UCD-IPFWACC-MIB-- ucdIpFilter OBJECT IDENTIFIER ::= { ucdExperimental 2 } - UCD-IPFILTER-MIB-- wavelan OBJECT IDENTIFIER ::= { ucdExperimental 3 } - WL-MIB-- ucdDlmodMIB OBJECT IDENTIFIER ::= { ucdExperimental 14 } - UCD-DLMOD-MIB-- ucdDiskIOMIB OBJECT IDENTIFIER ::= { ucdExperimental 15 } - UCD-DISKIO-MIB-- lmSensors OBJECT IDENTIFIER ::= { ucdExperimental 16 } - LM-SENSORS-MIB-- These are the returned values of the agent type.-- returned to: .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0 ucdSnmpAgent OBJECT IDENTIFIER ::= { ucdavis 250 }hpux9 OBJECT IDENTIFIER ::= { ucdSnmpAgent 1 }sunos4 OBJECT IDENTIFIER ::= { ucdSnmpAgent 2 }solaris OBJECT IDENTIFIER ::= { ucdSnmpAgent 3 }osf OBJECT IDENTIFIER ::= { ucdSnmpAgent 4 }ultrix OBJECT IDENTIFIER ::= { ucdSnmpAgent 5 }hpux10 OBJECT IDENTIFIER ::= { ucdSnmpAgent 6 }netbsd1 OBJECT IDENTIFIER ::= { ucdSnmpAgent 7 }freebsd OBJECT IDENTIFIER ::= { ucdSnmpAgent 8 }irix OBJECT IDENTIFIER ::= { ucdSnmpAgent 9 }linux OBJECT IDENTIFIER ::= { ucdSnmpAgent 10 }bsdi OBJECT IDENTIFIER ::= { ucdSnmpAgent 11 }openbsd OBJECT IDENTIFIER ::= { ucdSnmpAgent 12 }win32 OBJECT IDENTIFIER ::= { ucdSnmpAgent 13 } -- unluckyhpux11 OBJECT IDENTIFIER ::= { ucdSnmpAgent 14 }unknown OBJECT IDENTIFIER ::= { ucdSnmpAgent 255 }---- Define the Float Textual Convention-- This definition was written by David Perkins.--Float ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A single precision floating-point number. The semantics and encoding are identical for type 'single' defined in IEEE Standard for Binary Floating-Point, ANSI/IEEE Std 754-1985. The value is restricted to the BER serialization of the following ASN.1 type: FLOATTYPE ::= [120] IMPLICIT FloatType (note: the value 120 is the sum of '30'h and '48'h) The BER serialization of the length for values of this type must use the definite length, short encoding form. For example, the BER serialization of value 123 of type FLOATTYPE is '9f780442f60000'h. (The tag is '9f78'h; the length is '04'h; and the value is '42f60000'h.) The BER serialization of value '9f780442f60000'h of data type Opaque is '44079f780442f60000'h. (The tag is '44'h; the length is '07'h; and the value is '9f780442f60000'h." SYNTAX Opaque (SIZE (7))---- Process table checks--prTable OBJECT-TYPE SYNTAX SEQUENCE OF PrEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing information on running programs/daemons configured for monitoring in the snmpd.conf file of the agent. Processes violating the number of running processes required by the agent's configuration file are flagged with numerical and textual errors." ::= { ucdavis 2 }prEntry OBJECT-TYPE SYNTAX PrEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry containing a process and its statistics." INDEX { prIndex } ::= { prTable 1 }PrEntry ::= SEQUENCE { prIndex Integer32, prNames DisplayString, prMin Integer32, prMax Integer32, prCount Integer32, prErrorFlag Integer32, prErrMessage DisplayString, prErrFix Integer32, prErrFixCmd DisplayString}prIndex OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "Reference Index for each observed process." ::= { prEntry 1 }prNames OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The process name we're counting/checking on." ::= { prEntry 2 }prMin OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The minimum number of processes that should be running. An error flag is generated if the number of running processes is < the minimum." ::= { prEntry 3 }prMax OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The maximum number of processes that should be running. An error flag is generated if the number of running processes is > the maximum." ::= { prEntry 4 }prCount OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of current processes running with the name in question." ::= { prEntry 5 }prErrorFlag OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "A Error flag to indicate trouble with a process. It goes to 1 if there is an error, 0 if no error." ::= { prEntry 100 }prErrMessage OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "An error message describing the problem (if one exists)." ::= { prEntry 101 }prErrFix OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Setting this to one will try to fix the problem if the agent has been configured with a script to call to attempt to fix problems automatically using remote snmp operations." ::= { prEntry 102 }prErrFixCmd OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The command that gets run when the prErrFix column is set to 1." ::= { prEntry 103 }extTable OBJECT-TYPE SYNTAX SEQUENCE OF ExtEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of extensible commands returning output and result codes. These commands are configured via the agent's snmpd.conf file." ::= { ucdavis 8 }extEntry OBJECT-TYPE SYNTAX ExtEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry containing an extensible script/program and its output." INDEX { extIndex } ::= { extTable 1 }ExtEntry ::= SEQUENCE { extIndex Integer32, extNames DisplayString, extCommand DisplayString, extResult Integer32, extOutput DisplayString, extErrFix Integer32, extErrFixCmd DisplayString}extIndex OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "Reference Index for extensible scripts. Simply an integer row number." ::= { extEntry 1 }extNames OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "A Short, one name description of the extensible command." ::= { extEntry 2 }extCommand OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The command line to be executed." ::= { extEntry 3 }extResult OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "The result code (exit status) from the executed command." ::= { extEntry 100 }extOutput OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The first line of output of the executed command." ::= { extEntry 101 }extErrFix OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "Setting this to one will try to fix the problem if the agent has been configured with a script to call to attempt to fix problems automatically using remote snmp operations." ::= { extEntry 102 } extErrFixCmd OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The command that gets run when the extErrFix column is set to 1." ::= { extEntry 103 }---- Memory usage/watch reporting.-- Not supported on all systems!-- See agent/mibgroup/ucd_snmp.h to see if its loaded for your architecture.--memory OBJECT IDENTIFIER ::= { ucdavis 4 }memIndex OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Bogus Index. This should always return the integer 0." ::= { memory 1 } memErrorName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Bogus Name. This should always return the string 'swap'." ::= { memory 2 } memTotalSwap OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Total Swap Size configured for the host." ::= { memory 3 }memAvailSwap OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Available Swap Space on the host." ::= { memory 4 }memTotalReal OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Total Real/Physical Memory Size on the host." ::= { memory 5 }memAvailReal OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Available Real/Physical Memory Space on the host." ::= { memory 6 }memTotalSwapTXT OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Total virtual memory used by text." ::= { memory 7 }memAvailSwapTXT OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Active virtual memory used by text." ::= { memory 8 }memTotalRealTXT OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Total Real/Physical Memory Size used by text." ::= { memory 9 }memAvailRealTXT OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Active Real/Physical Memory Space used by text." ::= { memory 10 }memTotalFree OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Total Available Memory on the host" ::= { memory 11 }memMinimumSwap OBJECT-TYPE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -