-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32e8be0
commit 40db660
Showing
5 changed files
with
2,628 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
UCD-DEMO-MIB DEFINITIONS ::= BEGIN | ||
|
||
IMPORTS | ||
MODULE-IDENTITY, OBJECT-TYPE, Integer32 FROM SNMPv2-SMI | ||
ucdavis FROM UCD-SNMP-MIB; | ||
|
||
ucdDemoMIB MODULE-IDENTITY | ||
LAST-UPDATED "9912090000Z" | ||
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 [email protected]. | ||
|
||
postal: Wes Hardaker | ||
P.O. Box 382 | ||
Davis CA 95617 | ||
|
||
email: [email protected] | ||
" | ||
DESCRIPTION | ||
"The UCD-SNMP Demonstration MIB." | ||
REVISION "9912090000Z" | ||
DESCRIPTION | ||
"SMIv2 version converted from older MIB definitions." | ||
::= { ucdavis 14 } | ||
|
||
ucdDemoMIBObjects OBJECT IDENTIFIER ::= { ucdDemoMIB 1 } | ||
|
||
ucdDemoPublic OBJECT IDENTIFIER ::= { ucdDemoMIBObjects 1 } | ||
|
||
ucdDemoResetKeys OBJECT-TYPE | ||
SYNTAX Integer32 (0..2147483647) | ||
MAX-ACCESS read-write | ||
STATUS current | ||
DESCRIPTION | ||
"A set of value 1 to this object resets the | ||
demonstration user's auth and priv keys to the | ||
keys based on the P->Ku->Kul transformation of the | ||
value of the ucdDemoPasspharse object. | ||
|
||
Values other than 1 are ignored." | ||
::= { ucdDemoPublic 1 } | ||
|
||
ucdDemoPublicString OBJECT-TYPE | ||
SYNTAX OCTET STRING (SIZE(0..1024)) | ||
MAX-ACCESS read-write | ||
STATUS current | ||
DESCRIPTION | ||
"A publicly settable string that can be set for testing | ||
snmpsets. This value has no real usage other than | ||
testing purposes." | ||
::= { ucdDemoPublic 2 } | ||
|
||
ucdDemoUserList OBJECT-TYPE | ||
SYNTAX OCTET STRING | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The list of users affected by the ucdDemoResetKeys object." | ||
::= { ucdDemoPublic 3 } | ||
|
||
ucdDemoPassphrase OBJECT-TYPE | ||
SYNTAX OCTET STRING | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The demo passphrase that ucdDemoResetKeys changes each | ||
users localized key to based on the P->Ku->Kul transformation." | ||
::= { ucdDemoPublic 4 } | ||
|
||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
UCD-DISKIO-MIB DEFINITIONS ::= BEGIN | ||
|
||
-- | ||
-- Derived from the original VEST-INTERNETT-MIB. Open issues: | ||
-- | ||
-- (a) where to register this MIB? | ||
-- (b) use not-accessible for diskIOIndex? | ||
-- | ||
|
||
|
||
IMPORTS | ||
MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter32, Counter64 | ||
FROM SNMPv2-SMI | ||
DisplayString | ||
FROM SNMPv2-TC | ||
ucdExperimental | ||
FROM UCD-SNMP-MIB; | ||
|
||
ucdDiskIOMIB MODULE-IDENTITY | ||
LAST-UPDATED "201604040000Z" | ||
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 [email protected]. | ||
|
||
postal: Wes Hardaker | ||
P.O. Box 382 | ||
Davis CA 95617 | ||
|
||
email: [email protected] | ||
" | ||
DESCRIPTION | ||
"This MIB module defines objects for disk IO statistics." | ||
|
||
REVISION "201604040000Z" | ||
DESCRIPTION | ||
"Add 64-bit counter for busy micro-seconds." | ||
|
||
REVISION "200504200000Z" | ||
DESCRIPTION | ||
"Add 64 bit counters. Patch from Dan Nelson." | ||
|
||
REVISION "200202130000Z" | ||
DESCRIPTION | ||
"Add 1, 5 and 15-minute load average objects" | ||
|
||
REVISION "200001260000Z" | ||
DESCRIPTION | ||
"SMIv2 version derived from older definitions contained | ||
in the VEST-INTERNETT-MIB module." | ||
::= { ucdExperimental 15 } | ||
|
||
diskIOTable OBJECT-TYPE | ||
SYNTAX SEQUENCE OF DiskIOEntry | ||
MAX-ACCESS not-accessible | ||
STATUS current | ||
DESCRIPTION | ||
"Table of IO devices and how much data they have read/written." | ||
::= { ucdDiskIOMIB 1 } | ||
|
||
diskIOEntry OBJECT-TYPE | ||
SYNTAX DiskIOEntry | ||
MAX-ACCESS not-accessible | ||
STATUS current | ||
DESCRIPTION | ||
"An entry containing a device and its statistics." | ||
INDEX { diskIOIndex } | ||
::= { diskIOTable 1 } | ||
|
||
DiskIOEntry ::= SEQUENCE { | ||
diskIOIndex Integer32, | ||
diskIODevice DisplayString, | ||
diskIONRead Counter32, | ||
diskIONWritten Counter32, | ||
diskIOReads Counter32, | ||
diskIOWrites Counter32, | ||
diskIOLA1 Integer32, | ||
diskIOLA5 Integer32, | ||
diskIOLA15 Integer32, | ||
diskIONReadX Counter64, | ||
diskIONWrittenX Counter64, | ||
diskIOBusyTime Counter64 | ||
} | ||
|
||
diskIOIndex OBJECT-TYPE | ||
SYNTAX Integer32 (0..65535) | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"Reference index for each observed device." | ||
::= { diskIOEntry 1 } | ||
|
||
diskIODevice OBJECT-TYPE | ||
SYNTAX DisplayString | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The name of the device we are counting/checking." | ||
::= { diskIOEntry 2 } | ||
|
||
diskIONRead OBJECT-TYPE | ||
SYNTAX Counter32 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The number of bytes read from this device since boot." | ||
::= { diskIOEntry 3 } | ||
|
||
diskIONWritten OBJECT-TYPE | ||
SYNTAX Counter32 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The number of bytes written to this device since boot." | ||
::= { diskIOEntry 4 } | ||
|
||
diskIOReads OBJECT-TYPE | ||
SYNTAX Counter32 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The number of read accesses from this device since boot." | ||
::= { diskIOEntry 5 } | ||
|
||
diskIOWrites OBJECT-TYPE | ||
SYNTAX Counter32 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The number of write accesses to this device since boot." | ||
::= { diskIOEntry 6 } | ||
|
||
diskIOLA1 OBJECT-TYPE | ||
SYNTAX Integer32 (0..100) | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The 1 minute average load of disk (%)" | ||
::= { diskIOEntry 9 } | ||
|
||
diskIOLA5 OBJECT-TYPE | ||
SYNTAX Integer32 (0..100) | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The 5 minute average load of disk (%)" | ||
::= { diskIOEntry 10 } | ||
|
||
diskIOLA15 OBJECT-TYPE | ||
SYNTAX Integer32 (0..100) | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The 15 minute average load of disk (%)" | ||
::= { diskIOEntry 11 } | ||
|
||
diskIONReadX OBJECT-TYPE | ||
SYNTAX Counter64 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The number of bytes read from this device since boot." | ||
::= { diskIOEntry 12 } | ||
|
||
diskIONWrittenX OBJECT-TYPE | ||
SYNTAX Counter64 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The number of bytes written to this device since boot." | ||
::= { diskIOEntry 13 } | ||
|
||
|
||
diskIOBusyTime OBJECT-TYPE | ||
SYNTAX Counter64 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The number of usecs the drive has been busy since boot." | ||
::= { diskIOEntry 14 } | ||
|
||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
UCD-DLMOD-MIB DEFINITIONS ::= BEGIN | ||
|
||
-- Why do we have dlmodNextIndex if the dlmodTable is read-write? | ||
-- What exactly is the dlmodName and dlmodPath? | ||
-- Should there not be a timestamp associated with dlmodError? | ||
-- What exactly do the dlmodStatus enumerations mean? | ||
|
||
IMPORTS | ||
OBJECT-TYPE, MODULE-IDENTITY, Integer32 FROM SNMPv2-SMI | ||
DisplayString FROM SNMPv2-TC | ||
ucdExperimental FROM UCD-SNMP-MIB; | ||
|
||
ucdDlmodMIB MODULE-IDENTITY | ||
LAST-UPDATED "200001260000Z" | ||
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 [email protected]. | ||
|
||
postal: Wes Hardaker | ||
P.O. Box 382 | ||
Davis CA 95617 | ||
|
||
email: [email protected] | ||
" | ||
DESCRIPTION | ||
"This file defines the MIB objects for dynamic | ||
loadable MIB modules." | ||
|
||
REVISION "200001260000Z" | ||
DESCRIPTION | ||
"Renamed MIB root object" | ||
|
||
REVISION "9912100000Z" | ||
DESCRIPTION | ||
"SMIv2 version converted from older MIB definitions." | ||
::= { ucdExperimental 14 } | ||
|
||
dlmodNextIndex OBJECT-TYPE | ||
SYNTAX Integer32 | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The index number of next appropiate unassigned entry | ||
in the dlmodTable." | ||
::= { ucdDlmodMIB 1 } | ||
|
||
dlmodTable OBJECT-TYPE | ||
SYNTAX SEQUENCE OF DlmodEntry | ||
MAX-ACCESS not-accessible | ||
STATUS current | ||
DESCRIPTION | ||
"A table of dlmodEntry." | ||
::= { ucdDlmodMIB 2 } | ||
|
||
dlmodEntry OBJECT-TYPE | ||
SYNTAX DlmodEntry | ||
MAX-ACCESS not-accessible | ||
STATUS current | ||
DESCRIPTION | ||
"The parameters of dynamically loaded MIB module." | ||
INDEX { dlmodIndex } | ||
::= { dlmodTable 1 } | ||
|
||
DlmodEntry ::= SEQUENCE { | ||
dlmodIndex Integer32, | ||
dlmodName DisplayString, | ||
dlmodPath DisplayString, | ||
dlmodError DisplayString, | ||
dlmodStatus INTEGER | ||
} | ||
|
||
dlmodIndex OBJECT-TYPE | ||
SYNTAX Integer32 (1..65535) | ||
MAX-ACCESS not-accessible | ||
STATUS current | ||
DESCRIPTION | ||
"An index that uniqely identifies an entry in the dlmodTable." | ||
::= { dlmodEntry 1 } | ||
|
||
dlmodName OBJECT-TYPE | ||
SYNTAX DisplayString | ||
MAX-ACCESS read-write | ||
STATUS current | ||
DESCRIPTION | ||
"The module name." | ||
::= { dlmodEntry 2 } | ||
|
||
dlmodPath OBJECT-TYPE | ||
SYNTAX DisplayString | ||
MAX-ACCESS read-write | ||
STATUS current | ||
DESCRIPTION | ||
"The path of the module executable file." | ||
::= { dlmodEntry 3 } | ||
|
||
dlmodError OBJECT-TYPE | ||
SYNTAX DisplayString | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"The last error from dlmod_load_module." | ||
::= { dlmodEntry 4 } | ||
|
||
dlmodStatus OBJECT-TYPE | ||
SYNTAX INTEGER { | ||
loaded(1), | ||
unloaded(2), | ||
error(3), | ||
load(4), | ||
unload(5), | ||
create(6), | ||
delete(7) | ||
} | ||
MAX-ACCESS read-write | ||
STATUS current | ||
DESCRIPTION | ||
"The current status of the loaded module." | ||
::= { dlmodEntry 5 } | ||
|
||
END |
Oops, something went wrong.