Annotation of src/share/snmp/OPENBSD-MEM-MIB.txt, Revision 1.1
1.1 ! reyk 1: -- $OpenBSD$
! 2: --
! 3: -- Copyright (c) 2008 Reyk Floeter <reyk@openbsd.org>
! 4: --
! 5: -- Permission to use, copy, modify, and distribute this document for any
! 6: -- purpose with or without fee is hereby granted, provided that the above
! 7: -- copyright notice and this permission notice appear in all copies.
! 8: --
! 9: -- THE DOCUMENT IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
! 10: -- WITH REGARD TO THIS DOCUMENT INCLUDING ALL IMPLIED WARRANTIES OF
! 11: -- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
! 12: -- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
! 13: -- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
! 14: -- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
! 15: -- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS DOCUMENT.
! 16:
! 17: OPENBSD-MEM-MIB DEFINITIONS ::= BEGIN
! 18:
! 19: IMPORTS
! 20: MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE, Counter64
! 21: FROM SNMPv2-SMI
! 22: DisplayString
! 23: FROM SNMPv2-TC
! 24: ifIndex, ifNumber
! 25: FROM IF-MIB
! 26: openBSD
! 27: FROM OPENBSD-BASE-MIB
! 28: MODULE-COMPLIANCE, OBJECT-GROUP
! 29: FROM SNMPv2-CONF;
! 30:
! 31: memMIBObjects MODULE-IDENTITY
! 32: LAST-UPDATED "200812230000Z"
! 33: ORGANIZATION "OpenBSD"
! 34: CONTACT-INFO
! 35: "Editor: Reyk Floeter
! 36: EMail: reyk@openbsd.org
! 37: WWW: http://www.openbsd.org/"
! 38: DESCRIPTION
! 39: "The MIB module exporting OpenBSD memory statistics."
! 40: ::= { openBSD 5 }
! 41:
! 42: --
! 43: -- Core MIB elements
! 44: --
! 45:
! 46: -- memMIBVersion OBJECT IDENTIFIER ::= { memMIBObjects 1 }
! 47: memIfTable OBJECT IDENTIFIER ::= { memMIBObjects 2 }
! 48:
! 49: --
! 50: -- MIB details
! 51: --
! 52:
! 53: memMIBVersion OBJECT-TYPE
! 54: SYNTAX Integer32
! 55: MAX-ACCESS read-only
! 56: STATUS current
! 57: DESCRIPTION
! 58: "The current version of this MIB supported by the agent.
! 59: The memory MIB might be updated frequently to export
! 60: statistics specific to the latest version of OpenBSD.
! 61: The client should check this version."
! 62: ::= { memMIBObjects 1 }
! 63:
! 64: memIfTable OBJECT-TYPE
! 65: SYNTAX SEQUENCE OF memIfEntry
! 66: MAX-ACCESS read-only
! 67: STATUS current
! 68: DESCRIPTION
! 69: "A list of interface entries. The number of entries is given
! 70: by the value of ifNumber."
! 71: ::= { memMIBObjects 2 }
! 72:
! 73: memIfEntry OBJECT-TYPE
! 74: SYNTAX memIfEntry
! 75: MAX-ACCESS not-accessible
! 76: STATUS current
! 77: DESCRIPTION
! 78: "An entry containing memory and systems statistics applicable
! 79: to a particular interface."
! 80: INDEX { ifIndex }
! 81: ::= { memIfTable 1 }
! 82:
! 83: memIfEntry ::= SEQUENCE {
! 84: memIfName DisplayString,
! 85: memIfLiveLocks Counter64
! 86: }
! 87:
! 88: memIfName OBJECT-TYPE
! 89: SYNTAX DisplayString
! 90: MAX-ACCESS read-only
! 91: STATUS current
! 92: DESCRIPTION
! 93: "The textual name of the interface as assigned by the operating
! 94: system. For example, `lo0' for the first loopback device or
! 95: `em1' for the second Ethernet device using the `em' driver."
! 96: ::= { memIfEntry 1 }
! 97:
! 98: memIfLiveLocks OBJECT-TYPE
! 99: SYNTAX Counter64
! 100: MAX-ACCESS read-only
! 101: STATUS current
! 102: DESCRIPTION
! 103: "The number of times the growth of the interface receive ring
! 104: was limited as a response to high system load."
! 105: ::= { memIfEntry 2 }
! 106:
! 107: END