You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
366 lines
46 KiB
366 lines
46 KiB
# PySNMP SMI module. Autogenerated from smidump -f python UCD-SNMP-MIB
|
|
# by libsmi2pysnmp-0.1.3 at Fri Aug 3 02:13:26 2012,
|
|
# Python version sys.version_info(major=3, minor=2, micro=3, releaselevel='final', serial=0)
|
|
|
|
# Imports
|
|
|
|
( Integer, ObjectIdentifier, OctetString, ) = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
|
|
( NamedValues, ) = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
|
|
( ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ) = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint")
|
|
( Bits, Counter32, Integer32, Integer32, ModuleIdentity, MibIdentifier, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Opaque, TimeTicks, Unsigned32, enterprises, ) = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Counter32", "Integer32", "Integer32", "ModuleIdentity", "MibIdentifier", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Opaque", "TimeTicks", "Unsigned32", "enterprises")
|
|
( DisplayString, TextualConvention, TruthValue, ) = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "TruthValue")
|
|
|
|
# Types
|
|
|
|
class UCDErrorFix(Integer):
|
|
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,)
|
|
namedValues = NamedValues(("noError", 0), ("runFix", 1), )
|
|
|
|
class UCDErrorFlag(Integer):
|
|
subtypeSpec = Integer.subtypeSpec+SingleValueConstraint(0,1,)
|
|
namedValues = NamedValues(("noError", 0), ("error", 1), )
|
|
|
|
class Float(Opaque):
|
|
subtypeSpec = Opaque.subtypeSpec+ValueSizeConstraint(7,7)
|
|
fixedLength = 7
|
|
|
|
|
|
# Objects
|
|
|
|
ucdavis = ModuleIdentity((1, 3, 6, 1, 4, 1, 2021)).setRevisions(("2011-05-14 00:00","2009-01-19 00:00","2009-01-19 00:00","2006-11-22 00:00","2004-04-07 00:00","2002-09-05 00:00","2001-09-20 00:00","2001-01-17 00:00","1999-12-09 00:00",))
|
|
if mibBuilder.loadTexts: ucdavis.setOrganization("University of California, Davis")
|
|
if mibBuilder.loadTexts: ucdavis.setContactInfo("This mib is no longer being maintained by the University of\nCalifornia and is now in life-support-mode and being\nmaintained by the net-snmp project. The best place to write\nfor public questions about the net-snmp-coders mailing list\nat net-snmp-coders@lists.sourceforge.net.\n\npostal: Wes Hardaker\n P.O. Box 382\n Davis CA 95617\n\nemail: net-snmp-coders@lists.sourceforge.net")
|
|
if mibBuilder.loadTexts: ucdavis.setDescription("This file defines the private UCD SNMP MIB extensions.")
|
|
prTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 2))
|
|
if mibBuilder.loadTexts: prTable.setDescription("A table containing information on running\nprograms/daemons configured for monitoring in the\nsnmpd.conf file of the agent. Processes violating the\nnumber of running processes required by the agent's\nconfiguration file are flagged with numerical and\ntextual errors.")
|
|
prEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 2, 1)).setIndexNames((0, "UCD-SNMP-MIB", "prIndex"))
|
|
if mibBuilder.loadTexts: prEntry.setDescription("An entry containing a process and its statistics.")
|
|
prIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prIndex.setDescription("Reference Index for each observed process.")
|
|
prNames = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prNames.setDescription("The process name we're counting/checking on.")
|
|
prMin = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 3), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prMin.setDescription("The minimum number of processes that should be\nrunning. An error flag is generated if the number of\nrunning processes is < the minimum.")
|
|
prMax = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 4), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prMax.setDescription("The maximum number of processes that should be\nrunning. An error flag is generated if the number of\nrunning processes is > the maximum.")
|
|
prCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 5), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prCount.setDescription("The number of current processes running with the name\nin question.")
|
|
prErrorFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 100), UCDErrorFlag()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prErrorFlag.setDescription("A Error flag to indicate trouble with a process. It\ngoes to 1 if there is an error, 0 if no error.")
|
|
prErrMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prErrMessage.setDescription("An error message describing the problem (if one exists).")
|
|
prErrFix = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 102), UCDErrorFix()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: prErrFix.setDescription("Setting this to one will try to fix the problem if\nthe agent has been configured with a script to call\nto attempt to fix problems automatically using remote\nsnmp operations.")
|
|
prErrFixCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 2, 1, 103), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: prErrFixCmd.setDescription("The command that gets run when the prErrFix column is \nset to 1.")
|
|
memory = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 4))
|
|
memIndex = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 1), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: memIndex.setDescription("Bogus Index. This should always return the integer 0.")
|
|
memErrorName = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: memErrorName.setDescription("Bogus Name. This should always return the string 'swap'.")
|
|
memTotalSwap = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 3), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memTotalSwap.setDescription("The total amount of swap space configured for this host.")
|
|
memAvailSwap = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 4), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memAvailSwap.setDescription("The amount of swap space currently unused or available.")
|
|
memTotalReal = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 5), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memTotalReal.setDescription("The total amount of real/physical memory installed\non this host.")
|
|
memAvailReal = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 6), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memAvailReal.setDescription("The amount of real/physical memory currently unused\nor available.")
|
|
memTotalSwapTXT = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 7), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memTotalSwapTXT.setDescription("The total amount of swap space or virtual memory allocated\nfor text pages on this host.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not distinguish text\npages from other uses of swap space or virtual memory.")
|
|
memAvailSwapTXT = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 8), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memAvailSwapTXT.setDescription("The amount of swap space or virtual memory currently\nbeing used by text pages on this host.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not distinguish text\npages from other uses of swap space or virtual memory.\n\nNote that (despite the name), this value reports the\namount used, rather than the amount free or available\nfor use. For clarity, this object is being deprecated\nin favour of 'memUsedSwapTXT(16).")
|
|
memTotalRealTXT = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 9), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memTotalRealTXT.setDescription("The total amount of real/physical memory allocated\nfor text pages on this host.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not distinguish text\npages from other uses of physical memory.")
|
|
memAvailRealTXT = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 10), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memAvailRealTXT.setDescription("The amount of real/physical memory currently being\nused by text pages on this host.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not distinguish text\npages from other uses of physical memory.\n\nNote that (despite the name), this value reports the\namount used, rather than the amount free or available\nfor use. For clarity, this object is being deprecated\nin favour of 'memUsedRealTXT(17).")
|
|
memTotalFree = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 11), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memTotalFree.setDescription("The total amount of memory free or available for use on\nthis host. This value typically covers both real memory\nand swap space or virtual memory.")
|
|
memMinimumSwap = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 12), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memMinimumSwap.setDescription("The minimum amount of swap space expected to be kept\nfree or available during normal operation of this host.\n\nIf this value (as reported by 'memAvailSwap(4)') falls\nbelow the specified level, then 'memSwapError(100)' will\nbe set to 1 and an error message made available via\n'memSwapErrorMsg(101)'.")
|
|
memShared = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 13), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memShared.setDescription("The total amount of real or virtual memory currently\nallocated for use as shared memory.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not explicitly identify\nmemory as specifically reserved for this purpose.")
|
|
memBuffer = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 14), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memBuffer.setDescription("The total amount of real or virtual memory currently\nallocated for use as memory buffers.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not explicitly identify\nmemory as specifically reserved for this purpose.")
|
|
memCached = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 15), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memCached.setDescription("The total amount of real or virtual memory currently\nallocated for use as cached memory.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not explicitly identify\nmemory as specifically reserved for this purpose.")
|
|
memUsedSwapTXT = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 16), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memUsedSwapTXT.setDescription("The amount of swap space or virtual memory currently\nbeing used by text pages on this host.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not distinguish text\npages from other uses of swap space or virtual memory.")
|
|
memUsedRealTXT = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 17), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: memUsedRealTXT.setDescription("The amount of real/physical memory currently being\nused by text pages on this host.\n\nThis object will not be implemented on hosts where the\nunderlying operating system does not distinguish text\npages from other uses of physical memory.")
|
|
memSwapError = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 100), UCDErrorFlag()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: memSwapError.setDescription("Indicates whether the amount of available swap space\n(as reported by 'memAvailSwap(4)'), is less than the\ndesired minimum (specified by 'memMinimumSwap(12)').")
|
|
memSwapErrorMsg = MibScalar((1, 3, 6, 1, 4, 1, 2021, 4, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: memSwapErrorMsg.setDescription("Describes whether the amount of available swap space\n(as reported by 'memAvailSwap(4)'), is less than the\ndesired minimum (specified by 'memMinimumSwap(12)').")
|
|
extTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 8))
|
|
if mibBuilder.loadTexts: extTable.setDescription("A table of extensible commands returning output and\nresult codes. These commands are configured via the\nagent's snmpd.conf file.")
|
|
extEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 8, 1)).setIndexNames((0, "UCD-SNMP-MIB", "extIndex"))
|
|
if mibBuilder.loadTexts: extEntry.setDescription("An entry containing an extensible script/program and its output.")
|
|
extIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: extIndex.setDescription("Reference Index for extensible scripts. Simply an\ninteger row number.")
|
|
extNames = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 8, 1, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: extNames.setDescription("A Short, one name description of the extensible command.")
|
|
extCommand = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 8, 1, 3), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: extCommand.setDescription("The command line to be executed.")
|
|
extResult = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 8, 1, 100), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: extResult.setDescription("The result code (exit status) from the executed command.")
|
|
extOutput = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 8, 1, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: extOutput.setDescription("The first line of output of the executed command.")
|
|
extErrFix = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 8, 1, 102), UCDErrorFix()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: extErrFix.setDescription("Setting this to one will try to fix the problem if\nthe agent has been configured with a script to call\nto attempt to fix problems automatically using remote\nsnmp operations.")
|
|
extErrFixCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 8, 1, 103), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: extErrFixCmd.setDescription("The command that gets run when the extErrFix column is \nset to 1.")
|
|
dskTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 9))
|
|
if mibBuilder.loadTexts: dskTable.setDescription("Disk watching information. Partions to be watched\nare configured by the snmpd.conf file of the agent.")
|
|
dskEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 9, 1)).setIndexNames((0, "UCD-SNMP-MIB", "dskIndex"))
|
|
if mibBuilder.loadTexts: dskEntry.setDescription("An entry containing a disk and its statistics.")
|
|
dskIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskIndex.setDescription("Integer reference number (row number) for the disk mib.")
|
|
dskPath = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskPath.setDescription("Path where the disk is mounted.")
|
|
dskDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 3), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskDevice.setDescription("Path of the device for the partition")
|
|
dskMinimum = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 4), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskMinimum.setDescription("Minimum space required on the disk (in kBytes) before the\nerrors are triggered. Either this or dskMinPercent is\nconfigured via the agent's snmpd.conf file.")
|
|
dskMinPercent = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 5), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskMinPercent.setDescription("Percentage of minimum space required on the disk before the\nerrors are triggered. Either this or dskMinimum is\nconfigured via the agent's snmpd.conf file.")
|
|
dskTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 6), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskTotal.setDescription("Total size of the disk/partion (kBytes).\nFor large disks (>2Tb), this value will\nlatch at INT32_MAX (2147483647).")
|
|
dskAvail = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 7), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskAvail.setDescription("Available space on the disk.\nFor large lightly-used disks (>2Tb), this\nvalue will latch at INT32_MAX (2147483647).")
|
|
dskUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 8), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskUsed.setDescription("Used space on the disk.\nFor large heavily-used disks (>2Tb), this\nvalue will latch at INT32_MAX (2147483647).")
|
|
dskPercent = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 9), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskPercent.setDescription("Percentage of space used on disk")
|
|
dskPercentNode = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 10), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskPercentNode.setDescription("Percentage of inodes used on disk")
|
|
dskTotalLow = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 11), Unsigned32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskTotalLow.setDescription("Total size of the disk/partion (kBytes).\nTogether with dskTotalHigh composes 64-bit number.")
|
|
dskTotalHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 12), Unsigned32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskTotalHigh.setDescription("Total size of the disk/partion (kBytes).\nTogether with dskTotalLow composes 64-bit number.")
|
|
dskAvailLow = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 13), Unsigned32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskAvailLow.setDescription("Available space on the disk (kBytes).\nTogether with dskAvailHigh composes 64-bit number.")
|
|
dskAvailHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 14), Unsigned32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskAvailHigh.setDescription("Available space on the disk (kBytes).\nTogether with dskAvailLow composes 64-bit number.")
|
|
dskUsedLow = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 15), Unsigned32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskUsedLow.setDescription("Used space on the disk (kBytes).\nTogether with dskUsedHigh composes 64-bit number.")
|
|
dskUsedHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 16), Unsigned32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskUsedHigh.setDescription("Used space on the disk (kBytes).\nTogether with dskUsedLow composes 64-bit number.")
|
|
dskErrorFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 100), UCDErrorFlag()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskErrorFlag.setDescription("Error flag signaling that the disk or partition is under\nthe minimum required space configured for it.")
|
|
dskErrorMsg = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 9, 1, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: dskErrorMsg.setDescription("A text description providing a warning and the space left\non the disk.")
|
|
laTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 10))
|
|
if mibBuilder.loadTexts: laTable.setDescription("Load average information.")
|
|
laEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 10, 1)).setIndexNames((0, "UCD-SNMP-MIB", "laIndex"))
|
|
if mibBuilder.loadTexts: laEntry.setDescription("An entry containing a load average and its values.")
|
|
laIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: laIndex.setDescription("reference index/row number for each observed loadave.")
|
|
laNames = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: laNames.setDescription("The list of loadave names we're watching.")
|
|
laLoad = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 3), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: laLoad.setDescription("The 1,5 and 15 minute load averages (one per row).")
|
|
laConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 4), DisplayString()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: laConfig.setDescription("The watch point for load-averages to signal an\nerror. If the load averages rises above this value,\nthe laErrorFlag below is set.")
|
|
laLoadInt = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 5), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: laLoadInt.setDescription("The 1,5 and 15 minute load averages as an integer.\nThis is computed by taking the floating point\nloadaverage value and multiplying by 100, then\nconverting the value to an integer.")
|
|
laLoadFloat = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 6), Float()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: laLoadFloat.setDescription("The 1,5 and 15 minute load averages as an opaquely\nwrapped floating point number.")
|
|
laErrorFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 100), UCDErrorFlag()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: laErrorFlag.setDescription("A Error flag to indicate the load-average has crossed\nits threshold value defined in the snmpd.conf file.\nIt is set to 1 if the threshold is crossed, 0 otherwise.")
|
|
laErrMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 10, 1, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: laErrMessage.setDescription("An error message describing the load-average and its\nsurpased watch-point value.")
|
|
systemStats = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 11))
|
|
ssIndex = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 1), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssIndex.setDescription("Bogus Index. This should always return the integer 1.")
|
|
ssErrorName = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssErrorName.setDescription("Bogus Name. This should always return the string 'systemStats'.")
|
|
ssSwapIn = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 3), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: ssSwapIn.setDescription("The average amount of memory swapped in from disk,\ncalculated over the last minute.")
|
|
ssSwapOut = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 4), Integer32()).setMaxAccess("readonly").setUnits("kB")
|
|
if mibBuilder.loadTexts: ssSwapOut.setDescription("The average amount of memory swapped out to disk,\ncalculated over the last minute.")
|
|
ssIOSent = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 5), Integer32()).setMaxAccess("readonly").setUnits("blocks/s")
|
|
if mibBuilder.loadTexts: ssIOSent.setDescription("The average amount of data written to disk or other\nblock device, calculated over the last minute.\n\n This object has been deprecated in favour of\n'ssIORawSent(57)', which can be used to calculate\nthe same metric, but over any desired time period.")
|
|
ssIOReceive = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 6), Integer32()).setMaxAccess("readonly").setUnits("blocks/s")
|
|
if mibBuilder.loadTexts: ssIOReceive.setDescription("The average amount of data read from disk or other\nblock device, calculated over the last minute.\n\n This object has been deprecated in favour of\n'ssIORawReceived(58)', which can be used to calculate\nthe same metric, but over any desired time period.")
|
|
ssSysInterrupts = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 7), Integer32()).setMaxAccess("readonly").setUnits("interrupts/s")
|
|
if mibBuilder.loadTexts: ssSysInterrupts.setDescription("The average rate of interrupts processed (including\nthe clock) calculated over the last minute.\n\n This object has been deprecated in favour of\n'ssRawInterrupts(59)', which can be used to calculate\nthe same metric, but over any desired time period.")
|
|
ssSysContext = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 8), Integer32()).setMaxAccess("readonly").setUnits("switches/s")
|
|
if mibBuilder.loadTexts: ssSysContext.setDescription("The average rate of context switches,\ncalculated over the last minute.\n\n This object has been deprecated in favour of\n'ssRawContext(60)', which can be used to calculate\nthe same metric, but over any desired time period.")
|
|
ssCpuUser = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 9), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuUser.setDescription("The percentage of CPU time spent processing\nuser-level code, calculated over the last minute.\n\n This object has been deprecated in favour of\n'ssCpuRawUser(50)', which can be used to calculate\nthe same metric, but over any desired time period.")
|
|
ssCpuSystem = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 10), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuSystem.setDescription("The percentage of CPU time spent processing\nsystem-level code, calculated over the last minute.\n\n This object has been deprecated in favour of\n'ssCpuRawSystem(52)', which can be used to calculate\nthe same metric, but over any desired time period.")
|
|
ssCpuIdle = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 11), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuIdle.setDescription("The percentage of processor time spent idle,\ncalculated over the last minute.\n\n This object has been deprecated in favour of\n'ssCpuRawIdle(53)', which can be used to calculate\nthe same metric, but over any desired time period.")
|
|
ssCpuRawUser = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 50), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawUser.setDescription("The number of 'ticks' (typically 1/100s) spent\nprocessing user-level code.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssCpuRawNice = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 51), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawNice.setDescription("The number of 'ticks' (typically 1/100s) spent\nprocessing reduced-priority code.\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssCpuRawSystem = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 52), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawSystem.setDescription("The number of 'ticks' (typically 1/100s) spent\nprocessing system-level code.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).\n\nThis object may sometimes be implemented as the\ncombination of the 'ssCpuRawWait(54)' and\n'ssCpuRawKernel(55)' counters, so care must be\ntaken when summing the overall raw counters.")
|
|
ssCpuRawIdle = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 53), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawIdle.setDescription("The number of 'ticks' (typically 1/100s) spent\nidle.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssCpuRawWait = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 54), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawWait.setDescription("The number of 'ticks' (typically 1/100s) spent\nwaiting for IO.\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric. This time may also be\nincluded within the 'ssCpuRawSystem(52)' counter.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssCpuRawKernel = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 55), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawKernel.setDescription("The number of 'ticks' (typically 1/100s) spent\nprocessing kernel-level code.\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric. This time may also be\nincluded within the 'ssCpuRawSystem(52)' counter.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssCpuRawInterrupt = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 56), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawInterrupt.setDescription("The number of 'ticks' (typically 1/100s) spent\nprocessing hardware interrupts.\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssIORawSent = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 57), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssIORawSent.setDescription("Number of blocks sent to a block device")
|
|
ssIORawReceived = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 58), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssIORawReceived.setDescription("Number of blocks received from a block device")
|
|
ssRawInterrupts = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 59), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssRawInterrupts.setDescription("Number of interrupts processed")
|
|
ssRawContexts = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 60), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssRawContexts.setDescription("Number of context switches")
|
|
ssCpuRawSoftIRQ = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 61), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawSoftIRQ.setDescription("The number of 'ticks' (typically 1/100s) spent\nprocessing software interrupts.\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssRawSwapIn = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 62), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssRawSwapIn.setDescription("Number of blocks swapped in")
|
|
ssRawSwapOut = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 63), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssRawSwapOut.setDescription("Number of blocks swapped out")
|
|
ssCpuRawSteal = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 64), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawSteal.setDescription("The number of 'ticks' (typically 1/100s) spent\nby the hypervisor code to run other VMs even\nthough the CPU in the current VM had something runnable.\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssCpuRawGuest = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 65), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawGuest.setDescription("The number of 'ticks' (typically 1/100s) spent\nby the CPU to run a virtual CPU (guest).\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ssCpuRawGuestNice = MibScalar((1, 3, 6, 1, 4, 1, 2021, 11, 66), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: ssCpuRawGuestNice.setDescription("The number of 'ticks' (typically 1/100s) spent\nby the CPU to run a niced virtual CPU (guest).\n\nThis object will not be implemented on hosts where\nthe underlying operating system does not measure\nthis particular CPU metric.\n\nOn a multi-processor system, the 'ssCpuRaw*'\ncounters are cumulative over all CPUs, so their\nsum will typically be N*100 (for N processors).")
|
|
ucdInternal = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 12))
|
|
ucdExperimental = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 13))
|
|
fileTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 15))
|
|
if mibBuilder.loadTexts: fileTable.setDescription("Table of monitored files.")
|
|
fileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 15, 1)).setIndexNames((0, "UCD-SNMP-MIB", "fileIndex"))
|
|
if mibBuilder.loadTexts: fileEntry.setDescription("Entry of file")
|
|
fileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 15, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: fileIndex.setDescription("Index of file")
|
|
fileName = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 15, 1, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: fileName.setDescription("Filename")
|
|
fileSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 15, 1, 3), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: fileSize.setDescription("Size of file (kB)")
|
|
fileMax = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 15, 1, 4), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: fileMax.setDescription("Limit of filesize (kB)")
|
|
fileErrorFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 15, 1, 100), UCDErrorFlag()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: fileErrorFlag.setDescription("Limit exceeded flag")
|
|
fileErrorMsg = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 15, 1, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: fileErrorMsg.setDescription("Filesize error message")
|
|
logMatch = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 16))
|
|
logMatchMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 2021, 16, 1), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchMaxEntries.setDescription("The maximum number of logmatch entries\nthis snmpd daemon can support.")
|
|
logMatchTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 16, 2))
|
|
if mibBuilder.loadTexts: logMatchTable.setDescription("Table of monitored files.")
|
|
logMatchEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1)).setIndexNames((0, "UCD-SNMP-MIB", "logMatchIndex"))
|
|
if mibBuilder.loadTexts: logMatchEntry.setDescription("Entry of file")
|
|
logMatchIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchIndex.setDescription("Index of logmatch")
|
|
logMatchName = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchName.setDescription("logmatch instance name")
|
|
logMatchFilename = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchFilename.setDescription("filename to be logmatched")
|
|
logMatchRegEx = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 4), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchRegEx.setDescription("regular expression")
|
|
logMatchGlobalCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 5), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchGlobalCounter.setDescription("global count of matches")
|
|
logMatchGlobalCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 6), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchGlobalCount.setDescription("Description.")
|
|
logMatchCurrentCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 7), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchCurrentCounter.setDescription("Regex match counter. This counter will\nbe reset with each logfile rotation.")
|
|
logMatchCurrentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 8), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchCurrentCount.setDescription("Description.")
|
|
logMatchCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 9), Counter32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchCounter.setDescription("Regex match counter. This counter will\nbe reset with each read")
|
|
logMatchCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 10), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchCount.setDescription("Description.")
|
|
logMatchCycle = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 11), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchCycle.setDescription("time between updates (if not queried) in seconds")
|
|
logMatchErrorFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 100), UCDErrorFlag()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchErrorFlag.setDescription("errorflag: is this line configured correctly?")
|
|
logMatchRegExCompilation = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 16, 2, 1, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: logMatchRegExCompilation.setDescription("message of regex precompilation")
|
|
version = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 100))
|
|
versionIndex = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 1), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: versionIndex.setDescription("Index to mib (always 0)")
|
|
versionTag = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: versionTag.setDescription("CVS tag keyword")
|
|
versionDate = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 3), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: versionDate.setDescription("Date string from RCS keyword")
|
|
versionCDate = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 4), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: versionCDate.setDescription("Date string from ctime() ")
|
|
versionIdent = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 5), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: versionIdent.setDescription("Id string from RCS keyword")
|
|
versionConfigureOptions = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 6), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: versionConfigureOptions.setDescription("Options passed to the configure script when this agent was built.")
|
|
versionClearCache = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 10), Integer32()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: versionClearCache.setDescription("Set to 1 to clear the exec cache, if enabled")
|
|
versionUpdateConfig = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 11), Integer32()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: versionUpdateConfig.setDescription("Set to 1 to read-read the config file(s).")
|
|
versionRestartAgent = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 12), Integer32()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: versionRestartAgent.setDescription("Set to 1 to restart the agent.")
|
|
versionSavePersistentData = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 13), Integer32()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: versionSavePersistentData.setDescription("Set to 1 to force the agent to save it's persistent data immediately.")
|
|
versionDoDebugging = MibScalar((1, 3, 6, 1, 4, 1, 2021, 100, 20), Integer32()).setMaxAccess("readwrite")
|
|
if mibBuilder.loadTexts: versionDoDebugging.setDescription("Set to 1 to turn debugging statements on in the agent or 0\nto turn it off.")
|
|
snmperrs = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 101))
|
|
snmperrIndex = MibScalar((1, 3, 6, 1, 4, 1, 2021, 101, 1), Integer32()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: snmperrIndex.setDescription("Bogus Index for snmperrs (always 0).")
|
|
snmperrNames = MibScalar((1, 3, 6, 1, 4, 1, 2021, 101, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: snmperrNames.setDescription("snmp")
|
|
snmperrErrorFlag = MibScalar((1, 3, 6, 1, 4, 1, 2021, 101, 100), UCDErrorFlag()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: snmperrErrorFlag.setDescription("A Error flag to indicate trouble with the agent. It\ngoes to 1 if there is an error, 0 if no error.")
|
|
snmperrErrMessage = MibScalar((1, 3, 6, 1, 4, 1, 2021, 101, 101), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: snmperrErrMessage.setDescription("An error message describing the problem (if one exists).")
|
|
mrTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 102))
|
|
if mibBuilder.loadTexts: mrTable.setDescription("A table displaying all the oid's registered by mib modules in\nthe agent. Since the agent is modular in nature, this lists\neach module's OID it is responsible for and the name of the module")
|
|
mrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 102, 1)).setIndexNames((1, "UCD-SNMP-MIB", "mrIndex"))
|
|
if mibBuilder.loadTexts: mrEntry.setDescription("An entry containing a registered mib oid.")
|
|
mrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 102, 1, 1), ObjectIdentifier()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: mrIndex.setDescription("The registry slot of a mibmodule.")
|
|
mrModuleName = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 102, 1, 2), DisplayString()).setMaxAccess("readonly")
|
|
if mibBuilder.loadTexts: mrModuleName.setDescription("The module name that registered this OID.")
|
|
ucdSnmpAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250))
|
|
hpux9 = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 1))
|
|
sunos4 = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 2))
|
|
solaris = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 3))
|
|
osf = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 4))
|
|
ultrix = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 5))
|
|
hpux10 = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 6))
|
|
netbsd1 = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 7))
|
|
freebsd = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 8))
|
|
irix = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 9))
|
|
linux = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 10))
|
|
bsdi = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 11))
|
|
openbsd = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 12))
|
|
win32 = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 13))
|
|
hpux11 = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 14))
|
|
aix = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 15))
|
|
macosx = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 16))
|
|
dragonfly = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 17))
|
|
unknown = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 250, 255))
|
|
ucdTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 251))
|
|
|
|
# Augmentions
|
|
|
|
# Notifications
|
|
|
|
ucdStart = NotificationType((1, 3, 6, 1, 4, 1, 2021, 251, 1)).setObjects(*() )
|
|
if mibBuilder.loadTexts: ucdStart.setDescription("This trap could in principle be sent when the agent start")
|
|
ucdShutdown = NotificationType((1, 3, 6, 1, 4, 1, 2021, 251, 2)).setObjects(*() )
|
|
if mibBuilder.loadTexts: ucdShutdown.setDescription("This trap is sent when the agent terminates")
|
|
|
|
# Exports
|
|
|
|
# Module identity
|
|
mibBuilder.exportSymbols("UCD-SNMP-MIB", PYSNMP_MODULE_ID=ucdavis)
|
|
|
|
# Types
|
|
mibBuilder.exportSymbols("UCD-SNMP-MIB", UCDErrorFix=UCDErrorFix, UCDErrorFlag=UCDErrorFlag, Float=Float)
|
|
|
|
# Objects
|
|
mibBuilder.exportSymbols("UCD-SNMP-MIB", ucdavis=ucdavis, prTable=prTable, prEntry=prEntry, prIndex=prIndex, prNames=prNames, prMin=prMin, prMax=prMax, prCount=prCount, prErrorFlag=prErrorFlag, prErrMessage=prErrMessage, prErrFix=prErrFix, prErrFixCmd=prErrFixCmd, memory=memory, memIndex=memIndex, memErrorName=memErrorName, memTotalSwap=memTotalSwap, memAvailSwap=memAvailSwap, memTotalReal=memTotalReal, memAvailReal=memAvailReal, memTotalSwapTXT=memTotalSwapTXT, memAvailSwapTXT=memAvailSwapTXT, memTotalRealTXT=memTotalRealTXT, memAvailRealTXT=memAvailRealTXT, memTotalFree=memTotalFree, memMinimumSwap=memMinimumSwap, memShared=memShared, memBuffer=memBuffer, memCached=memCached, memUsedSwapTXT=memUsedSwapTXT, memUsedRealTXT=memUsedRealTXT, memSwapError=memSwapError, memSwapErrorMsg=memSwapErrorMsg, extTable=extTable, extEntry=extEntry, extIndex=extIndex, extNames=extNames, extCommand=extCommand, extResult=extResult, extOutput=extOutput, extErrFix=extErrFix, extErrFixCmd=extErrFixCmd, dskTable=dskTable, dskEntry=dskEntry, dskIndex=dskIndex, dskPath=dskPath, dskDevice=dskDevice, dskMinimum=dskMinimum, dskMinPercent=dskMinPercent, dskTotal=dskTotal, dskAvail=dskAvail, dskUsed=dskUsed, dskPercent=dskPercent, dskPercentNode=dskPercentNode, dskTotalLow=dskTotalLow, dskTotalHigh=dskTotalHigh, dskAvailLow=dskAvailLow, dskAvailHigh=dskAvailHigh, dskUsedLow=dskUsedLow, dskUsedHigh=dskUsedHigh, dskErrorFlag=dskErrorFlag, dskErrorMsg=dskErrorMsg, laTable=laTable, laEntry=laEntry, laIndex=laIndex, laNames=laNames, laLoad=laLoad, laConfig=laConfig, laLoadInt=laLoadInt, laLoadFloat=laLoadFloat, laErrorFlag=laErrorFlag, laErrMessage=laErrMessage, systemStats=systemStats, ssIndex=ssIndex, ssErrorName=ssErrorName, ssSwapIn=ssSwapIn, ssSwapOut=ssSwapOut, ssIOSent=ssIOSent, ssIOReceive=ssIOReceive, ssSysInterrupts=ssSysInterrupts, ssSysContext=ssSysContext, ssCpuUser=ssCpuUser, ssCpuSystem=ssCpuSystem, ssCpuIdle=ssCpuIdle, ssCpuRawUser=ssCpuRawUser, ssCpuRawNice=ssCpuRawNice, ssCpuRawSystem=ssCpuRawSystem, ssCpuRawIdle=ssCpuRawIdle, ssCpuRawWait=ssCpuRawWait, ssCpuRawKernel=ssCpuRawKernel, ssCpuRawInterrupt=ssCpuRawInterrupt, ssIORawSent=ssIORawSent, ssIORawReceived=ssIORawReceived, ssRawInterrupts=ssRawInterrupts, ssRawContexts=ssRawContexts, ssCpuRawSoftIRQ=ssCpuRawSoftIRQ, ssRawSwapIn=ssRawSwapIn, ssRawSwapOut=ssRawSwapOut, ssCpuRawSteal=ssCpuRawSteal, ssCpuRawGuest=ssCpuRawGuest, ssCpuRawGuestNice=ssCpuRawGuestNice, ucdInternal=ucdInternal, ucdExperimental=ucdExperimental, fileTable=fileTable, fileEntry=fileEntry, fileIndex=fileIndex, fileName=fileName, fileSize=fileSize, fileMax=fileMax, fileErrorFlag=fileErrorFlag, fileErrorMsg=fileErrorMsg, logMatch=logMatch, logMatchMaxEntries=logMatchMaxEntries, logMatchTable=logMatchTable, logMatchEntry=logMatchEntry, logMatchIndex=logMatchIndex, logMatchName=logMatchName, logMatchFilename=logMatchFilename, logMatchRegEx=logMatchRegEx, logMatchGlobalCounter=logMatchGlobalCounter, logMatchGlobalCount=logMatchGlobalCount, logMatchCurrentCounter=logMatchCurrentCounter, logMatchCurrentCount=logMatchCurrentCount, logMatchCounter=logMatchCounter, logMatchCount=logMatchCount, logMatchCycle=logMatchCycle, logMatchErrorFlag=logMatchErrorFlag)
|
|
mibBuilder.exportSymbols("UCD-SNMP-MIB", logMatchRegExCompilation=logMatchRegExCompilation, version=version, versionIndex=versionIndex, versionTag=versionTag, versionDate=versionDate, versionCDate=versionCDate, versionIdent=versionIdent, versionConfigureOptions=versionConfigureOptions, versionClearCache=versionClearCache, versionUpdateConfig=versionUpdateConfig, versionRestartAgent=versionRestartAgent, versionSavePersistentData=versionSavePersistentData, versionDoDebugging=versionDoDebugging, snmperrs=snmperrs, snmperrIndex=snmperrIndex, snmperrNames=snmperrNames, snmperrErrorFlag=snmperrErrorFlag, snmperrErrMessage=snmperrErrMessage, mrTable=mrTable, mrEntry=mrEntry, mrIndex=mrIndex, mrModuleName=mrModuleName, ucdSnmpAgent=ucdSnmpAgent, hpux9=hpux9, sunos4=sunos4, solaris=solaris, osf=osf, ultrix=ultrix, hpux10=hpux10, netbsd1=netbsd1, freebsd=freebsd, irix=irix, linux=linux, bsdi=bsdi, openbsd=openbsd, win32=win32, hpux11=hpux11, aix=aix, macosx=macosx, dragonfly=dragonfly, unknown=unknown, ucdTraps=ucdTraps)
|
|
|
|
# Notifications
|
|
mibBuilder.exportSymbols("UCD-SNMP-MIB", ucdStart=ucdStart, ucdShutdown=ucdShutdown)
|
|
|