initial commit; version 22.5.12042
This commit is contained in:
99
mibs/bsd/BEGEMOT-ATM-FREEBSD-MIB
Normal file
99
mibs/bsd/BEGEMOT-ATM-FREEBSD-MIB
Normal file
@ -0,0 +1,99 @@
|
||||
--
|
||||
-- Copyright (c) 2004
|
||||
-- Hartmut Brandt.
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Hartmut Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $FreeBSD$
|
||||
--
|
||||
-- Private Begemot MIB for ATM interfaces on FreeBSD
|
||||
--
|
||||
BEGEMOT-ATM-FREEBSD-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE
|
||||
FROM SNMPv2-SMI
|
||||
NgNodeIdOrZero
|
||||
FROM BEGEMOT-NETGRAPH-MIB
|
||||
begemotAtmSysGroup, begemotAtmIfEntry
|
||||
FROM BEGEMOT-ATM-MIB;
|
||||
|
||||
begemotAtmFreeBSDGroup MODULE-IDENTITY
|
||||
LAST-UPDATED "200408060000Z"
|
||||
ORGANIZATION "German Aerospace Centre"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: German Aerospace Centre (DLR)
|
||||
Institute of Communications and Navigation
|
||||
82234 Wessling
|
||||
Germany
|
||||
|
||||
Fax: +49 8153 28 2844
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The FreeBSD specific Begemot MIB for ATM interfaces."
|
||||
|
||||
::= { begemotAtmSysGroup 1 }
|
||||
|
||||
-- Netgraph
|
||||
begemotAtmNgGroup OBJECT IDENTIFIER ::= { begemotAtmFreeBSDGroup 1 }
|
||||
|
||||
--
|
||||
-- Interfaces table
|
||||
--
|
||||
begemotAtmNgIfTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotAtmNgIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains an entry for each hardware ATM
|
||||
interface. The table is indexed by the interface index."
|
||||
::= { begemotAtmNgGroup 1 }
|
||||
|
||||
begemotAtmNgIfEntry OBJECT-TYPE
|
||||
SYNTAX BegemotAtmNgIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This is a table entry describing one ATM hardware interface."
|
||||
AUGMENTS { begemotAtmIfEntry }
|
||||
::= { begemotAtmNgIfTable 1 }
|
||||
|
||||
BegemotAtmNgIfEntry ::= SEQUENCE {
|
||||
begemotAtmNgIfNodeId NgNodeIdOrZero
|
||||
}
|
||||
|
||||
begemotAtmNgIfNodeId OBJECT-TYPE
|
||||
SYNTAX NgNodeIdOrZero
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The netgraph node id of the interface. If there is no
|
||||
node corresponding to the interface, this is 0."
|
||||
::= { begemotAtmNgIfEntry 1 }
|
||||
|
||||
END
|
301
mibs/bsd/BEGEMOT-ATM-MIB
Normal file
301
mibs/bsd/BEGEMOT-ATM-MIB
Normal file
@ -0,0 +1,301 @@
|
||||
--
|
||||
-- Copyright (c) 2001-2002
|
||||
-- Fraunhofer Institute for Open Communication Systems (FhG Fokus).
|
||||
-- All rights reserved.
|
||||
-- Copyright (c) 2004
|
||||
-- Hartmut Brandt.
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Hartmut Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $Begemot: libunimsg/snmp_atm/BEGEMOT-ATM.txt,v 1.2 2004/08/06 14:50:26 brandt Exp $
|
||||
--
|
||||
-- Private Begemot MIB for ATM interfaces.
|
||||
--
|
||||
BEGEMOT-ATM-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, TimeTicks
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION, DisplayString
|
||||
FROM SNMPv2-TC
|
||||
ifIndex
|
||||
FROM IF-MIB
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotAtm MODULE-IDENTITY
|
||||
LAST-UPDATED "200407190000Z"
|
||||
ORGANIZATION "German Aerospace Centre"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: German Aerospace Centre (DLR)
|
||||
Institute of Communications and Navigation
|
||||
82234 Wessling
|
||||
Germany
|
||||
|
||||
Fax: +49 8153 28 2844
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The Begemot MIB for ATM interfaces."
|
||||
|
||||
::= { begemot 101 }
|
||||
|
||||
begemotAtmObjects OBJECT IDENTIFIER ::= { begemotAtm 1 }
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
|
||||
AtmESI ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "1x:"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An ATM End System Identifier. This is basically the same as
|
||||
an Ethernet Address and is assigned using the same rules."
|
||||
SYNTAX OCTET STRING (SIZE(6))
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Interfaces table
|
||||
--
|
||||
begemotAtmIfTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotAtmIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains an entry for each hardware ATM
|
||||
interface. The table is indexed by the interface index."
|
||||
::= { begemotAtmObjects 1 }
|
||||
|
||||
begemotAtmIfEntry OBJECT-TYPE
|
||||
SYNTAX BegemotAtmIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This is a table entry describing one ATM hardware interface."
|
||||
INDEX { ifIndex }
|
||||
::= { begemotAtmIfTable 1 }
|
||||
|
||||
BegemotAtmIfEntry ::= SEQUENCE {
|
||||
begemotAtmIfName DisplayString,
|
||||
begemotAtmIfPcr Unsigned32,
|
||||
begemotAtmIfMedia INTEGER,
|
||||
begemotAtmIfVpiBits Unsigned32,
|
||||
begemotAtmIfVciBits Unsigned32,
|
||||
begemotAtmIfMaxVpcs Unsigned32,
|
||||
begemotAtmIfMaxVccs Unsigned32,
|
||||
begemotAtmIfEsi AtmESI,
|
||||
begemotAtmIfCarrierStatus INTEGER,
|
||||
begemotAtmIfMode INTEGER
|
||||
}
|
||||
|
||||
begemotAtmIfName OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(1..15))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of the ATM interface."
|
||||
::= { begemotAtmIfEntry 1 }
|
||||
|
||||
begemotAtmIfPcr OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The line cell rate of the interface."
|
||||
::= { begemotAtmIfEntry 2 }
|
||||
|
||||
begemotAtmIfMedia OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
other(1),
|
||||
unknown(3),
|
||||
utp25(4),
|
||||
taxi100(5),
|
||||
taxi140(6),
|
||||
mm155(7),
|
||||
sm155(8),
|
||||
utp155(9),
|
||||
mm622(10),
|
||||
sm622(11),
|
||||
virtual(12)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The physical medium."
|
||||
::= { begemotAtmIfEntry 3 }
|
||||
|
||||
begemotAtmIfVpiBits OBJECT-TYPE
|
||||
SYNTAX Unsigned32 (0..12)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of VPI bits that are used by the device."
|
||||
::= { begemotAtmIfEntry 4 }
|
||||
|
||||
begemotAtmIfVciBits OBJECT-TYPE
|
||||
SYNTAX Unsigned32 (0..16)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of VCI bits that are used by the device."
|
||||
::= { begemotAtmIfEntry 5 }
|
||||
|
||||
begemotAtmIfMaxVpcs OBJECT-TYPE
|
||||
SYNTAX Unsigned32 (0..256)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of VPC supported on this device. This may not
|
||||
be larger than 2^begemotAtmIfVpiBits."
|
||||
::= { begemotAtmIfEntry 6 }
|
||||
|
||||
begemotAtmIfMaxVccs OBJECT-TYPE
|
||||
SYNTAX Unsigned32 (0..16777216)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of VCC supported on this device. This may not
|
||||
be larger than 2^(begemotAtmIfVpiBits + begemotAtmVciBits)."
|
||||
::= { begemotAtmIfEntry 7 }
|
||||
|
||||
begemotAtmIfEsi OBJECT-TYPE
|
||||
SYNTAX AtmESI
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The default End System Identifier as reported by the hardware.
|
||||
If the hardware has no ESI all six bytes are reported as 0."
|
||||
::= { begemotAtmIfEntry 8 }
|
||||
|
||||
begemotAtmIfCarrierStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { carrierOn(1), carrierOff(2), unknown(3), none(4) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The state of the carrier. For interfaces which don't have the
|
||||
notion of a carriere none is reported."
|
||||
::= { begemotAtmIfEntry 9 }
|
||||
|
||||
begemotAtmIfMode OBJECT-TYPE
|
||||
SYNTAX INTEGER { sonet(1), sdh(2), unknown(3) }
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The mode of the SUNI interface. For interfaces without SUNI
|
||||
unknown is reported in which case the variable is read-only.
|
||||
Some types of interfaces may not be able to change this value."
|
||||
::= { begemotAtmIfEntry 10 }
|
||||
|
||||
begemotAtmIfTableLastChange OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The value of sysUpTime the last time that an entry in
|
||||
begemotIfTable was created or destroyed. If the table is
|
||||
unchanged since the last coldStart this value is zero."
|
||||
::= { begemotAtmObjects 2 }
|
||||
|
||||
--
|
||||
-- Interface hardware table
|
||||
--
|
||||
begemotAtmHWTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotAtmHWEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table augments the begemotAtmIfTable and contains an entry
|
||||
for each hardware ATM interface. The entries describe the
|
||||
ATM hardware interface."
|
||||
::= { begemotAtmObjects 3 }
|
||||
|
||||
begemotAtmHWEntry OBJECT-TYPE
|
||||
SYNTAX BegemotAtmHWEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This is a table entry describing one ATM hardware interface."
|
||||
AUGMENTS { begemotAtmIfEntry }
|
||||
::= { begemotAtmHWTable 1 }
|
||||
|
||||
BegemotAtmHWEntry ::= SEQUENCE {
|
||||
begemotAtmHWVendor DisplayString,
|
||||
begemotAtmHWDevice DisplayString,
|
||||
begemotAtmHWSerial Unsigned32,
|
||||
begemotAtmHWVersion Unsigned32,
|
||||
begemotAtmHWSoftVersion Unsigned32
|
||||
}
|
||||
|
||||
begemotAtmHWVendor OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A short string naming the vendor of the interface card."
|
||||
::= { begemotAtmHWEntry 1 }
|
||||
|
||||
begemotAtmHWDevice OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A short string naming the brand of the interface card."
|
||||
::= { begemotAtmHWEntry 2 }
|
||||
|
||||
begemotAtmHWSerial OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The serial number of the interface card or 0 if it doesn't
|
||||
report a serial number."
|
||||
::= { begemotAtmHWEntry 3 }
|
||||
|
||||
begemotAtmHWVersion OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The hardware version of the interface card or 0 if it doesn't
|
||||
report a hardware version number."
|
||||
::= { begemotAtmHWEntry 4 }
|
||||
|
||||
begemotAtmHWSoftVersion OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The firmware version of the interface card or 0 if it doesn't
|
||||
report a firmware version number."
|
||||
::= { begemotAtmHWEntry 5 }
|
||||
|
||||
-- --------------------------------------------------------------------
|
||||
|
||||
-- System specific parts
|
||||
begemotAtmSysGroup OBJECT IDENTIFIER ::= { begemotAtmObjects 4 }
|
||||
|
||||
END
|
1166
mibs/bsd/BEGEMOT-BRIDGE-MIB
Normal file
1166
mibs/bsd/BEGEMOT-BRIDGE-MIB
Normal file
File diff suppressed because it is too large
Load Diff
362
mibs/bsd/BEGEMOT-HAST-MIB
Normal file
362
mibs/bsd/BEGEMOT-HAST-MIB
Normal file
@ -0,0 +1,362 @@
|
||||
--
|
||||
-- Copyright (c) 2013 Mikolaj Golub <trociny@FreeBSD.org>
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $FreeBSD$
|
||||
--
|
||||
|
||||
BEGEMOT-HAST-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
|
||||
Counter64, Integer32
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION, RowStatus
|
||||
FROM SNMPv2-TC
|
||||
InterfaceIndex, ifIndex
|
||||
FROM IF-MIB
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotHast MODULE-IDENTITY
|
||||
LAST-UPDATED "201304130000Z"
|
||||
ORGANIZATION "FreeBSD"
|
||||
CONTACT-INFO
|
||||
" Mikolaj Golub
|
||||
|
||||
Postal: Bluhera 27v 11
|
||||
61146 Kharkiv
|
||||
Ukraine
|
||||
|
||||
Fax: N/A
|
||||
|
||||
E-Mail: trociny@FreeBSD.org"
|
||||
DESCRIPTION
|
||||
"The Begemot MIB for managing HAST."
|
||||
REVISION "201304130000Z"
|
||||
DESCRIPTION
|
||||
"Initial revision."
|
||||
REVISION "201307010000Z"
|
||||
DESCRIPTION
|
||||
"Added hastResourceWorkerPid."
|
||||
REVISION "201312290000Z"
|
||||
DESCRIPTION
|
||||
"Added hastResourceLocalQueue, hastResourceSendQueue,
|
||||
hastResourceRecvQueue, hastResourceDoneQueue,
|
||||
hastResourceIdleQueue."
|
||||
::= { begemot 220 }
|
||||
|
||||
begemotHastObjects OBJECT IDENTIFIER ::= { begemotHast 1 }
|
||||
|
||||
-- ---------------------------------------------------------- --
|
||||
-- Configuration parameters
|
||||
-- ---------------------------------------------------------- --
|
||||
|
||||
hastConfig OBJECT IDENTIFIER ::= { begemotHastObjects 1 }
|
||||
|
||||
hastConfigFile OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"HAST configuration file location."
|
||||
::= { hastConfig 1 }
|
||||
|
||||
-- ---------------------------------------------------------- --
|
||||
-- Resource Table
|
||||
-- ---------------------------------------------------------- --
|
||||
hastResourceTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF HastResourceEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table containing information about all HAST resources."
|
||||
::= { begemotHastObjects 2 }
|
||||
|
||||
hastResourceEntry OBJECT-TYPE
|
||||
SYNTAX HastResourceEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Table entry that describes one HAST resource."
|
||||
INDEX { hastResourceIndex }
|
||||
::= { hastResourceTable 1 }
|
||||
|
||||
HastResourceEntry ::= SEQUENCE {
|
||||
hastResourceIndex Integer32,
|
||||
hastResourceName OCTET STRING,
|
||||
hastResourceRole INTEGER,
|
||||
hastResourceProvName OCTET STRING,
|
||||
hastResourceLocalPath OCTET STRING,
|
||||
hastResourceExtentSize Integer32,
|
||||
hastResourceKeepDirty Integer32,
|
||||
hastResourceRemoteAddr OCTET STRING,
|
||||
hastResourceSourceAddr OCTET STRING,
|
||||
hastResourceReplication INTEGER,
|
||||
hastResourceStatus INTEGER,
|
||||
hastResourceDirty Counter64,
|
||||
hastResourceReads Counter64,
|
||||
hastResourceWrites Counter64,
|
||||
hastResourceDeletes Counter64,
|
||||
hastResourceFlushes Counter64,
|
||||
hastResourceActivemapUpdates Counter64,
|
||||
hastResourceReadErrors Counter64,
|
||||
hastResourceWriteErrors Counter64,
|
||||
hastResourceDeleteErrors Counter64,
|
||||
hastResourceFlushErrors Counter64,
|
||||
hastResourceWorkerPid INTEGER,
|
||||
hastResourceLocalQueue UNSIGNED32,
|
||||
hastResourceSendQueue UNSIGNED32,
|
||||
hastResourceRecvQueue UNSIGNED32,
|
||||
hastResourceDoneQueue UNSIGNED32,
|
||||
hastResourceIdleQueue UNSIGNED32
|
||||
}
|
||||
|
||||
hastResourceIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Resource index."
|
||||
::= { hastResourceEntry 1 }
|
||||
|
||||
hastResourceName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Resource name."
|
||||
::= { hastResourceEntry 2 }
|
||||
|
||||
hastResourceRole OBJECT-TYPE
|
||||
SYNTAX INTEGER { undef(0), init(1), primary(2), secondary(3) }
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Resource role."
|
||||
::= { hastResourceEntry 3 }
|
||||
|
||||
hastResourceProvName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Resource GEOM provider name that appears as /dev/hast/<name>."
|
||||
::= { hastResourceEntry 4 }
|
||||
|
||||
hastResourceLocalPath OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Path to the local component which is used as a backend
|
||||
provider for the resource."
|
||||
::= { hastResourceEntry 5 }
|
||||
|
||||
hastResourceExtentSize OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Size of an extent. Extent is a block which is
|
||||
used for synchronization. hastd(8) maintains a
|
||||
map of dirty extents and extent is the smallest
|
||||
region that can be marked as dirty. If any part
|
||||
of an extent is modified, entire extent will be
|
||||
synchronized when nodes connect."
|
||||
::= { hastResourceEntry 6 }
|
||||
|
||||
hastResourceKeepDirty OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Maximum number of dirty extents to keep dirty all
|
||||
the time. Most recently used extents are kept
|
||||
dirty to reduce number of metadata updates."
|
||||
::= { hastResourceEntry 7 }
|
||||
|
||||
hastResourceRemoteAddr OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Address of the remote hastd(8) daemon for the resource."
|
||||
::= { hastResourceEntry 8 }
|
||||
|
||||
hastResourceSourceAddr OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Local address the resource is bound to."
|
||||
::= { hastResourceEntry 9 }
|
||||
|
||||
hastResourceReplication OBJECT-TYPE
|
||||
SYNTAX INTEGER { fullsync(0), memsync(1), async(2) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Resource replication mode."
|
||||
::= { hastResourceEntry 10 }
|
||||
|
||||
hastResourceStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { complete(0), degraded(1) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Resource replication status."
|
||||
::= { hastResourceEntry 11 }
|
||||
|
||||
hastResourceDirty OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Current number of dirty extents for the resource."
|
||||
::= { hastResourceEntry 12 }
|
||||
|
||||
hastResourceReads OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local read operations."
|
||||
::= { hastResourceEntry 13 }
|
||||
|
||||
hastResourceWrites OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local write operations."
|
||||
::= { hastResourceEntry 14 }
|
||||
|
||||
hastResourceDeletes OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local delete operations."
|
||||
::= { hastResourceEntry 15 }
|
||||
|
||||
hastResourceFlushes OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local flush operations."
|
||||
::= { hastResourceEntry 16 }
|
||||
|
||||
hastResourceActivemapUpdates OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local activemap updates."
|
||||
::= { hastResourceEntry 17 }
|
||||
|
||||
hastResourceReadErrors OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local read operations that failed."
|
||||
::= { hastResourceEntry 18 }
|
||||
|
||||
hastResourceWriteErrors OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local write operations that failed."
|
||||
::= { hastResourceEntry 19 }
|
||||
|
||||
hastResourceDeleteErrors OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local delete operations that failed."
|
||||
::= { hastResourceEntry 20 }
|
||||
|
||||
hastResourceFlushErrors OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Count of resource local flush operations that failed."
|
||||
::= { hastResourceEntry 21 }
|
||||
|
||||
hastResourceWorkerPid OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Worker process ID."
|
||||
::= { hastResourceEntry 22 }
|
||||
|
||||
hastResourceLocalQueue OBJECT-TYPE
|
||||
SYNTAX UNSIGNED32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of outstanding I/O requests to the local component."
|
||||
::= { hastResourceEntry 23 }
|
||||
|
||||
hastResourceSendQueue OBJECT-TYPE
|
||||
SYNTAX UNSIGNED32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of outstanding I/O requests to send to the remote
|
||||
component."
|
||||
::= { hastResourceEntry 24 }
|
||||
|
||||
hastResourceRecvQueue OBJECT-TYPE
|
||||
SYNTAX UNSIGNED32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of outstanding I/O requests waiting for response
|
||||
from the remote component."
|
||||
::= { hastResourceEntry 25 }
|
||||
|
||||
hastResourceDoneQueue OBJECT-TYPE
|
||||
SYNTAX UNSIGNED32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of processed I/O requests to return to the kernel."
|
||||
::= { hastResourceEntry 26 }
|
||||
|
||||
hastResourceIdleQueue OBJECT-TYPE
|
||||
SYNTAX UNSIGNED32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of request objects in the free bucket."
|
||||
::= { hastResourceEntry 27 }
|
||||
|
||||
END
|
128
mibs/bsd/BEGEMOT-HOSTRES-MIB
Normal file
128
mibs/bsd/BEGEMOT-HOSTRES-MIB
Normal file
@ -0,0 +1,128 @@
|
||||
--
|
||||
-- Copyright (c) 2005-2006
|
||||
-- Hartmut Brandt
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $FreeBSD$
|
||||
--
|
||||
-- Additional stuff for the HOST-RESOURCES MIB.
|
||||
--
|
||||
BEGEMOT-HOSTRES-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, TimeTicks
|
||||
FROM SNMPv2-SMI
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotHostres MODULE-IDENTITY
|
||||
LAST-UPDATED "200601030000Z"
|
||||
ORGANIZATION "German Aerospace Center"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: German Aerospace Center
|
||||
Oberpfaffenhofen
|
||||
82234 Wessling
|
||||
Germany
|
||||
|
||||
Fax: +49 8153 28 2843
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The MIB for additional HOST-RESOURCES data."
|
||||
REVISION "200601030000Z"
|
||||
DESCRIPTION
|
||||
"Initial revision."
|
||||
::= { begemot 202 }
|
||||
|
||||
begemotHostresObjects OBJECT IDENTIFIER ::= { begemotHostres 1 }
|
||||
|
||||
begemotHrStorageUpdate OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of ticks the storage table is cached."
|
||||
DEFVAL { 700 }
|
||||
::= { begemotHostresObjects 1 }
|
||||
|
||||
begemotHrFSUpdate OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of ticks the FS table is cached."
|
||||
DEFVAL { 700 }
|
||||
::= { begemotHostresObjects 2 }
|
||||
|
||||
begemotHrDiskStorageUpdate OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of ticks the disk storage table is cached."
|
||||
DEFVAL { 300 }
|
||||
::= { begemotHostresObjects 3 }
|
||||
|
||||
begemotHrNetworkUpdate OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of ticks the network table is cached."
|
||||
DEFVAL { 700 }
|
||||
::= { begemotHostresObjects 4 }
|
||||
|
||||
begemotHrSWInstalledUpdate OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of ticks the hrSWInstalledTable is cached."
|
||||
DEFVAL { 1200 }
|
||||
::= { begemotHostresObjects 5 }
|
||||
|
||||
begemotHrSWRunUpdate OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum number of ticks the hrSWRunTable and
|
||||
hrSWRunPerfTable are cached."
|
||||
DEFVAL { 300 }
|
||||
::= { begemotHostresObjects 6 }
|
||||
|
||||
begemotHrPkgDir OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The path to the package DB directory."
|
||||
DEFVAL { "/var/db/pkg" }
|
||||
::= { begemotHostresObjects 7 }
|
||||
|
||||
END
|
64
mibs/bsd/BEGEMOT-IP-MIB
Normal file
64
mibs/bsd/BEGEMOT-IP-MIB
Normal file
@ -0,0 +1,64 @@
|
||||
--
|
||||
-- Copyright (c) 2006
|
||||
-- Hartmut Brandt
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $Begemot: bsnmp/snmp_mibII/BEGEMOT-IP-MIB.txt,v 1.1 2006/02/14 09:04:18 brandt_h Exp $
|
||||
--
|
||||
-- Private MIB for IP stuff.
|
||||
--
|
||||
BEGEMOT-IP-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY
|
||||
FROM SNMPv2-SMI
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotIp MODULE-IDENTITY
|
||||
LAST-UPDATED "200602130000Z"
|
||||
ORGANIZATION "German Aerospace Center"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: German Aerospace Center
|
||||
Oberpfaffenhofen
|
||||
82234 Wessling
|
||||
Germany
|
||||
|
||||
Fax: +49 8153 28 2843
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The MIB for IP stuff that is not in the official IP MIBs."
|
||||
REVISION "200602130000Z"
|
||||
DESCRIPTION
|
||||
"Initial revision."
|
||||
::= { begemot 3 }
|
||||
|
||||
begemotIpObjects OBJECT IDENTIFIER ::= { begemotIp 1 }
|
||||
|
||||
END
|
166
mibs/bsd/BEGEMOT-LM75-MIB
Normal file
166
mibs/bsd/BEGEMOT-LM75-MIB
Normal file
@ -0,0 +1,166 @@
|
||||
--
|
||||
-- Copyright (c) 2014 Luiz Otavio O Souza <loos@FreeBSD.org>
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $FreeBSD$
|
||||
--
|
||||
|
||||
BEGEMOT-LM75-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
|
||||
Counter64, Integer32
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION, RowStatus
|
||||
FROM SNMPv2-TC
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotLm75 MODULE-IDENTITY
|
||||
LAST-UPDATED "201402240000Z"
|
||||
ORGANIZATION "FreeBSD"
|
||||
CONTACT-INFO
|
||||
" Luiz Otavio O Souza
|
||||
|
||||
Postal: N/A
|
||||
|
||||
Fax: N/A
|
||||
|
||||
E-Mail: loos@FreeBSD.org"
|
||||
DESCRIPTION
|
||||
"The Begemot MIB for reading lm75 sensors data."
|
||||
REVISION "201810240000Z"
|
||||
DESCRIPTION
|
||||
"Fixed what look like search/replace errors.
|
||||
adama@observium.org"
|
||||
REVISION "201402240000Z"
|
||||
DESCRIPTION
|
||||
"Initial revision."
|
||||
::= { begemot 400 }
|
||||
|
||||
-- begemotLm75 OBJECT IDENTIFIER ::= { begemot 400 }
|
||||
|
||||
begemotLm75Objects OBJECT IDENTIFIER ::= { begemotLm75 1 }
|
||||
|
||||
-- ---------------------------------------------------------- --
|
||||
-- Configuration parameters
|
||||
-- ---------------------------------------------------------- --
|
||||
|
||||
lm75Sensor OBJECT IDENTIFIER ::= { begemotLm75Objects 1 }
|
||||
|
||||
lm75Sensors OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of LM75 sensors in the system."
|
||||
::= { lm75Sensor 1 }
|
||||
|
||||
-- ---------------------------------------------------------- --
|
||||
-- TempSensor Table
|
||||
-- ---------------------------------------------------------- --
|
||||
lm75SensorTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Lm75SensorEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table containing information about all temperature sensors."
|
||||
::= { begemotLm75Objects 2 }
|
||||
|
||||
lm75SensorEntry OBJECT-TYPE
|
||||
SYNTAX Lm75SensorEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Table entry that describes one temperature sensor."
|
||||
INDEX { lm75SensorIndex }
|
||||
::= { lm75SensorTable 1 }
|
||||
|
||||
Lm75SensorEntry ::= SEQUENCE {
|
||||
lm75SensorIndex Integer32,
|
||||
lm75SensorSysctlIndex Integer32,
|
||||
lm75SensorDesc OCTET STRING,
|
||||
lm75SensorLocation OCTET STRING,
|
||||
lm75SensorPnpInfo OCTET STRING,
|
||||
lm75SensorParent OCTET STRING,
|
||||
lm75SensorTemperature Integer32
|
||||
}
|
||||
|
||||
lm75SensorIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LM75 Sensor index."
|
||||
::= { lm75SensorEntry 1 }
|
||||
|
||||
lm75SensorSysctlIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LM75 Sensor sysctl index."
|
||||
::= { lm75SensorEntry 2 }
|
||||
|
||||
lm75SensorDesc OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LM75 Sensor description."
|
||||
::= { lm75SensorEntry 3 }
|
||||
|
||||
lm75SensorLocation OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LM75 Sensor location."
|
||||
::= { lm75SensorEntry 4 }
|
||||
|
||||
lm75SensorPnpInfo OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LM75 Sensor pnp information."
|
||||
::= { lm75SensorEntry 5 }
|
||||
|
||||
lm75SensorParent OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LM75 Sensor parent bus."
|
||||
::= { lm75SensorEntry 6 }
|
||||
|
||||
lm75SensorTemperature OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"LM75 Sensor temperature."
|
||||
::= { lm75SensorEntry 7 }
|
||||
|
||||
END
|
59
mibs/bsd/BEGEMOT-MIB
Normal file
59
mibs/bsd/BEGEMOT-MIB
Normal file
@ -0,0 +1,59 @@
|
||||
--
|
||||
-- Copyright (c) 2001-2003
|
||||
-- Fraunhofer Institute for Open Communication Systems (FhG Fokus).
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $Begemot: bsnmp/snmpd/BEGEMOT-MIB.txt,v 1.5 2004/08/06 08:47:07 brandt Exp $
|
||||
--
|
||||
-- Begemot private definitions and root.
|
||||
--
|
||||
BEGEMOT-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY
|
||||
FROM SNMPv2-SMI
|
||||
fokus
|
||||
FROM FOKUS-MIB;
|
||||
|
||||
begemot MODULE-IDENTITY
|
||||
LAST-UPDATED "200201300000Z"
|
||||
ORGANIZATION "Fraunhofer FOKUS, CATS"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: Fraunhofer Institute for Open Communication Systems
|
||||
Kaiserin-Augusta-Allee 31
|
||||
10589 Berlin
|
||||
Germany
|
||||
|
||||
Fax: +49 30 3463 7352
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The root of the Begemot subtree of the fokus tree."
|
||||
::= { fokus 1 }
|
||||
|
||||
END
|
106
mibs/bsd/BEGEMOT-MIB2-MIB
Normal file
106
mibs/bsd/BEGEMOT-MIB2-MIB
Normal file
@ -0,0 +1,106 @@
|
||||
--
|
||||
-- Copyright (c) 2006
|
||||
-- Hartmut Brandt
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $Begemot: bsnmp/snmp_mibII/BEGEMOT-MIB2-MIB.txt,v 1.1 2006/02/14 09:04:18 brandt_h Exp $
|
||||
--
|
||||
-- Private MIB for MIB2.
|
||||
--
|
||||
BEGEMOT-MIB2-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, Counter64
|
||||
FROM SNMPv2-SMI
|
||||
begemotIp
|
||||
FROM BEGEMOT-IP-MIB;
|
||||
|
||||
begemotMib2 MODULE-IDENTITY
|
||||
LAST-UPDATED "200908030000Z"
|
||||
ORGANIZATION "German Aerospace Center"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: German Aerospace Center
|
||||
Oberpfaffenhofen
|
||||
82234 Wessling
|
||||
Germany
|
||||
|
||||
Fax: +49 8153 28 2843
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The MIB for private mib2 stuff."
|
||||
REVISION "200908030000Z"
|
||||
DESCRIPTION
|
||||
"Second edition adds begemotIfDataPoll object."
|
||||
REVISION "200602130000Z"
|
||||
DESCRIPTION
|
||||
"Initial revision."
|
||||
::= { begemotIp 1 }
|
||||
|
||||
begemotIfMaxspeed OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
UNITS "bps"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The speed of the fastest interface in ifTable in bps."
|
||||
::= { begemotMib2 1 }
|
||||
|
||||
begemotIfPoll OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The current polling rate for the HC 64-bit counters."
|
||||
::= { begemotMib2 2 }
|
||||
|
||||
begemotIfForcePoll OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The polling rate to be enforced for the HC 64-bit counters.
|
||||
If this value is 0 the mib2 module computes a polling rate
|
||||
depending on the value of begemotIfMaxspeed. If this value
|
||||
turns out to be wrong, the polling rate can be force to an
|
||||
arbitrary value by setting begemotIfForcePoll to a non-0
|
||||
value. This may be necessary if an interface announces a wrong
|
||||
bit rate in its MIB."
|
||||
::= { begemotMib2 3 }
|
||||
|
||||
begemotIfDataPoll OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
UNITS "deciseconds"
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The rate at which the mib2 module will poll interface data."
|
||||
DEFVAL { 100 }
|
||||
::= { begemotMib2 4 }
|
||||
|
||||
END
|
411
mibs/bsd/BEGEMOT-NETGRAPH-MIB
Normal file
411
mibs/bsd/BEGEMOT-NETGRAPH-MIB
Normal file
@ -0,0 +1,411 @@
|
||||
--
|
||||
-- Copyright (c) 2001-2003
|
||||
-- Fraunhofer Institute for Open Communication Systems (FhG Fokus).
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution of this software and documentation and use in source and
|
||||
-- binary forms, with or without modification, are permitted provided that
|
||||
-- the following conditions are met:
|
||||
--
|
||||
-- 1. Redistributions of source code or documentation must retain the above
|
||||
-- copyright notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY FRAUNHOFER FOKUS
|
||||
-- AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
-- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
-- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
-- FRAUNHOFER FOKUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
-- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
-- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
-- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
--
|
||||
-- $FreeBSD$
|
||||
--
|
||||
-- Private MIB for netgraph part of Begemot SNMP daemon.
|
||||
--
|
||||
BEGEMOT-NETGRAPH-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, Counter32, Unsigned32
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION, TruthValue
|
||||
FROM SNMPv2-TC
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotNg MODULE-IDENTITY
|
||||
LAST-UPDATED "200311140000Z"
|
||||
ORGANIZATION "Fraunhofer FOKUS, CATS"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: Fraunhofer Institute for Open Communication Systems
|
||||
Kaiserin-Augusta-Allee 31
|
||||
10589 Berlin
|
||||
Germany
|
||||
|
||||
Fax: +49 30 3463 7352
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The MIB for the NetGraph access module for SNMP."
|
||||
REVISION "200311140000Z"
|
||||
DESCRIPTION
|
||||
"The maximum width of the following OCTET STRINGs was increased
|
||||
from 15 to 31:
|
||||
|
||||
- NgTypeName
|
||||
- NgNodeName
|
||||
- NgNodeNameOrEmpty
|
||||
- NgHookName
|
||||
"
|
||||
REVISION "200201310000Z"
|
||||
DESCRIPTION
|
||||
"Initial revision."
|
||||
::= { begemot 2 }
|
||||
|
||||
begemotNgObjects OBJECT IDENTIFIER ::= { begemotNg 1 }
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
|
||||
NgTypeName ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "31a"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of a netgraph type."
|
||||
SYNTAX OCTET STRING (SIZE(1..31))
|
||||
|
||||
NgNodeName ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "31a"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of a netgraph node."
|
||||
SYNTAX OCTET STRING (SIZE(1..31))
|
||||
|
||||
NgNodeNameOrEmpty ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "31a"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of a netgraph node."
|
||||
SYNTAX OCTET STRING (SIZE(0..31))
|
||||
|
||||
NgHookName ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "31a"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of a netgraph hook."
|
||||
SYNTAX OCTET STRING (SIZE(1..31))
|
||||
|
||||
NgNodeId ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "x"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Node identifier."
|
||||
SYNTAX Unsigned32 (1..4294967295)
|
||||
|
||||
NgNodeIdOrZero ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "x"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Node identifier or 0 for 'no-node'."
|
||||
SYNTAX Unsigned32 (0..4294967295)
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
--
|
||||
-- Configuration parameters
|
||||
--
|
||||
begemotNgConfig OBJECT IDENTIFIER ::= { begemotNgObjects 1 }
|
||||
|
||||
begemotNgControlNodeName OBJECT-TYPE
|
||||
SYNTAX NgNodeName
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the netgraph node of this daemon. The name is
|
||||
writeable during initialisation. If the name is set from
|
||||
the empty string to the non-empty string, the netgraph socket
|
||||
is created. Once set it cannot be changed."
|
||||
::= { begemotNgConfig 1 }
|
||||
|
||||
begemotNgResBufSiz OBJECT-TYPE
|
||||
SYNTAX INTEGER (1024..65536)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The size of the receive buffers for netgraph messages."
|
||||
DEFVAL { 20000 }
|
||||
::= { begemotNgConfig 2 }
|
||||
|
||||
begemotNgTimeout OBJECT-TYPE
|
||||
SYNTAX INTEGER (10..10000)
|
||||
UNITS "milliseconds"
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum time to wait for a response to a netgraph message."
|
||||
DEFVAL { 1000 }
|
||||
::= { begemotNgConfig 3 }
|
||||
|
||||
begemotNgDebugLevel OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The netgraph library debug level. This should be set only
|
||||
if the daemon is run with a terminal attached."
|
||||
DEFVAL { 0 }
|
||||
::= { begemotNgConfig 4 }
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
--
|
||||
-- The STATISTICS Group
|
||||
--
|
||||
begemotNgStats OBJECT IDENTIFIER ::= { begemotNgObjects 2 }
|
||||
|
||||
begemotNgNoMems OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times a memory allocation has failed for buffers
|
||||
or the message queue."
|
||||
::= { begemotNgStats 1 }
|
||||
|
||||
begemotNgMsgReadErrs OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times reading a netgraph message has failed."
|
||||
::= { begemotNgStats 2 }
|
||||
|
||||
begemotNgTooLargeMsgs OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times a netgraph message was too large for
|
||||
the buffer. Try increasing begemotNgResBufSiz if
|
||||
this happens."
|
||||
::= { begemotNgStats 3 }
|
||||
|
||||
begemotNgDataReadErrs OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times reading a netgraph data message has failed."
|
||||
::= { begemotNgStats 4 }
|
||||
|
||||
begemotNgTooLargeDatas OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times a netgraph data message was too large.
|
||||
You need to increase begemotNgResBufSiz."
|
||||
::= { begemotNgStats 5 }
|
||||
|
||||
-- -----------------------------------------------------
|
||||
--
|
||||
-- The NODE table
|
||||
--
|
||||
begemotNgTypeTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotNgTypeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table containing information about all netgraph node types."
|
||||
::= { begemotNgObjects 3 }
|
||||
|
||||
begemotNgTypeEntry OBJECT-TYPE
|
||||
SYNTAX BegemotNgTypeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Table entry that describes one netgraph node."
|
||||
INDEX { begemotNgTypeName }
|
||||
::= { begemotNgTypeTable 1 }
|
||||
|
||||
BegemotNgTypeEntry ::= SEQUENCE {
|
||||
begemotNgTypeName NgTypeName,
|
||||
begemotNgTypeStatus INTEGER
|
||||
}
|
||||
|
||||
begemotNgTypeName OBJECT-TYPE
|
||||
SYNTAX NgTypeName
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the type. Used as index."
|
||||
::= { begemotNgTypeEntry 1 }
|
||||
|
||||
begemotNgTypeStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { loaded(1), unloaded(2) }
|
||||
MAX-ACCESS read-create
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"If loaded then the node type is available. A type can be load
|
||||
by setting this field to loaded. It is unload if the field is
|
||||
set to unloaded. Note, that a type cannot be unloaded if it
|
||||
is compiled into the kernel or has nodes of this type. The name
|
||||
of the file containing the type implementation is constructed by
|
||||
prepending ng_ to the type name."
|
||||
::= { begemotNgTypeEntry 2 }
|
||||
|
||||
--
|
||||
-- Node table
|
||||
--
|
||||
begemotNgNodeTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotNgNodeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table containing information about all netgraph nodes."
|
||||
::= { begemotNgObjects 4 }
|
||||
|
||||
begemotNgNodeEntry OBJECT-TYPE
|
||||
SYNTAX BegemotNgNodeEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Table entry that describes one netgraph node."
|
||||
INDEX { begemotNgNodeId }
|
||||
::= { begemotNgNodeTable 1 }
|
||||
|
||||
BegemotNgNodeEntry ::= SEQUENCE {
|
||||
begemotNgNodeId NgNodeId,
|
||||
begemotNgNodeStatus INTEGER,
|
||||
begemotNgNodeName NgNodeNameOrEmpty,
|
||||
begemotNgNodeType NgTypeName,
|
||||
begemotNgNodeHooks Unsigned32
|
||||
}
|
||||
|
||||
begemotNgNodeId OBJECT-TYPE
|
||||
SYNTAX NgNodeId
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The 32bit node id of this node. 0 is an illegal value."
|
||||
::= { begemotNgNodeEntry 1 }
|
||||
|
||||
begemotNgNodeStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { valid(1), invalid(2) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether the node exists or not."
|
||||
::= { begemotNgNodeEntry 2 }
|
||||
|
||||
begemotNgNodeName OBJECT-TYPE
|
||||
SYNTAX NgNodeNameOrEmpty
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of the node (if any)."
|
||||
::= { begemotNgNodeEntry 3 }
|
||||
|
||||
begemotNgNodeType OBJECT-TYPE
|
||||
SYNTAX NgTypeName
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Type name of the node."
|
||||
::= { begemotNgNodeEntry 4 }
|
||||
|
||||
begemotNgNodeHooks OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of hooks on this node."
|
||||
::= { begemotNgNodeEntry 5 }
|
||||
|
||||
--
|
||||
-- Hook table
|
||||
--
|
||||
begemotNgHookTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotNgHookEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table containing information about all netgraph hooks."
|
||||
::= { begemotNgObjects 5 }
|
||||
|
||||
begemotNgHookEntry OBJECT-TYPE
|
||||
SYNTAX BegemotNgHookEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Table entry that describes one netgraph node."
|
||||
INDEX { begemotNgHookNodeId, begemotNgHookHook }
|
||||
::= { begemotNgHookTable 1 }
|
||||
|
||||
BegemotNgHookEntry ::= SEQUENCE {
|
||||
begemotNgHookNodeId NgNodeId,
|
||||
begemotNgHookHook NgHookName,
|
||||
begemotNgHookStatus INTEGER,
|
||||
begemotNgHookPeerNodeId NgNodeId,
|
||||
begemotNgHookPeerHook NgHookName,
|
||||
begemotNgHookPeerType NgTypeName
|
||||
}
|
||||
|
||||
begemotNgHookNodeId OBJECT-TYPE
|
||||
SYNTAX NgNodeId
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The 32bit node id of this node."
|
||||
::= { begemotNgHookEntry 1 }
|
||||
|
||||
begemotNgHookHook OBJECT-TYPE
|
||||
SYNTAX NgHookName
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of the hook."
|
||||
::= { begemotNgHookEntry 2 }
|
||||
|
||||
begemotNgHookStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { valid(1), invalid(2) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether the hook exists or not."
|
||||
::= { begemotNgHookEntry 3 }
|
||||
|
||||
begemotNgHookPeerNodeId OBJECT-TYPE
|
||||
SYNTAX NgNodeId
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The 32bit node id of the peer node of this hook."
|
||||
::= { begemotNgHookEntry 4 }
|
||||
|
||||
begemotNgHookPeerHook OBJECT-TYPE
|
||||
SYNTAX NgHookName
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of the peer hook."
|
||||
::= { begemotNgHookEntry 5 }
|
||||
|
||||
begemotNgHookPeerType OBJECT-TYPE
|
||||
SYNTAX NgTypeName
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of the peer type."
|
||||
::= { begemotNgHookEntry 6 }
|
||||
|
||||
END
|
144
mibs/bsd/BEGEMOT-NTP-MIB
Normal file
144
mibs/bsd/BEGEMOT-NTP-MIB
Normal file
@ -0,0 +1,144 @@
|
||||
--
|
||||
-- Copyright (c) 2005
|
||||
-- Hartmut Brandt
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $Begemot: bsnmp/snmp_ntp/BEGEMOT-NTP-MIB.txt,v 1.3 2005/10/04 08:13:41 brandt_h Exp $
|
||||
--
|
||||
-- Private MIB for NTP module.
|
||||
--
|
||||
BEGEMOT-NTP-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, Unsigned32, Counter64
|
||||
FROM SNMPv2-SMI
|
||||
TruthValue
|
||||
FROM SNMPv2-TC
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotNtp MODULE-IDENTITY
|
||||
LAST-UPDATED "200509300000Z"
|
||||
ORGANIZATION "German Aerospace Center"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: German Aerospace Center
|
||||
Oberpfaffenhofen
|
||||
82234 Wessling
|
||||
Germany
|
||||
|
||||
Fax: +49 8153 28 2843
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The MIB for the NTP control module for SNMP."
|
||||
::= { begemot 201 }
|
||||
|
||||
begemotNtpObjects OBJECT IDENTIFIER ::= { begemotNtp 1 }
|
||||
|
||||
begemotNtpHost OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the host where the NTP daemon is running that
|
||||
is to be connected."
|
||||
::= { begemotNtpObjects 1 }
|
||||
|
||||
begemotNtpPort OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The port of the host where the NTP daemon is running that
|
||||
is to be connected."
|
||||
::= { begemotNtpObjects 2 }
|
||||
|
||||
begemotNtpTimeout OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of ticks to wait for the response from the NTP
|
||||
daemon to complete."
|
||||
::= { begemotNtpObjects 3 }
|
||||
|
||||
begemotNtpDebug OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Debug flags. The following flags are currently used:
|
||||
|
||||
0x01 - produce a dump of all received/sent NTP packets.
|
||||
0x02 - print the variable names and values return by the daemon
|
||||
|
||||
Other bits are ignored."
|
||||
::= { begemotNtpObjects 4 }
|
||||
|
||||
begemotNtpJitter OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Current jitter in seconds multiplied by 2^32."
|
||||
::= { begemotNtpObjects 5 }
|
||||
|
||||
begemotNtpStability OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Current stability in ppm multiplied by 2^32."
|
||||
::= { begemotNtpObjects 6 }
|
||||
|
||||
begemotNtpJitterThresh OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Jitter trap threshold in seconds multiplied by 2^32."
|
||||
::= { begemotNtpObjects 7 }
|
||||
|
||||
begemotNtpStabilityThresh OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Stability trap threshold in ppm multiplied by 2^32."
|
||||
::= { begemotNtpObjects 8 }
|
||||
|
||||
begemotNtpTrapEnable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Enables the sending of traps when either the peer is lost/
|
||||
found or one of the above thresholds is crossed."
|
||||
::= { begemotNtpObjects 9 }
|
||||
|
||||
END
|
1347
mibs/bsd/BEGEMOT-PF-MIB
Normal file
1347
mibs/bsd/BEGEMOT-PF-MIB
Normal file
File diff suppressed because it is too large
Load Diff
691
mibs/bsd/BEGEMOT-SNMPD-MIB
Normal file
691
mibs/bsd/BEGEMOT-SNMPD-MIB
Normal file
@ -0,0 +1,691 @@
|
||||
--
|
||||
-- Copyright (c) 2001-2003
|
||||
-- Fraunhofer Institute for Open Communication Systems (FhG Fokus).
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Copyright (c) 2018
|
||||
-- Hartmut Brandt.
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $Begemot: bsnmp/snmpd/BEGEMOT-SNMPD.txt,v 1.23 2004/08/06 08:47:08 brandt Exp $
|
||||
--
|
||||
-- Begemot Private SNMPd MIB.
|
||||
--
|
||||
BEGEMOT-SNMPD-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, Counter32,
|
||||
Integer32, Unsigned32, IpAddress
|
||||
FROM SNMPv2-SMI
|
||||
TEXTUAL-CONVENTION, TruthValue, RowStatus
|
||||
FROM SNMPv2-TC
|
||||
InetAddressType, InetAddress, InetPortNumber
|
||||
FROM INET-ADDRESS-MIB
|
||||
begemot
|
||||
FROM BEGEMOT-MIB;
|
||||
|
||||
begemotSnmpd MODULE-IDENTITY
|
||||
LAST-UPDATED "201808080000Z"
|
||||
ORGANIZATION "Fraunhofer FOKUS, CATS"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: Fraunhofer Institute for Open Communication Systems
|
||||
Kaiserin-Augusta-Allee 31
|
||||
10589 Berlin
|
||||
Germany
|
||||
|
||||
Fax: +49 30 3463 7352
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The MIB module for the Begemot SNMP daemon."
|
||||
REVISION "201808080000Z"
|
||||
DESCRIPTION
|
||||
"Add the begemotSnmpdTransInetTable."
|
||||
::= { begemot 1 }
|
||||
|
||||
begemotSnmpdObjects OBJECT IDENTIFIER ::= { begemotSnmpd 1 }
|
||||
begemotSnmpdDefs OBJECT IDENTIFIER ::= { begemotSnmpd 2 }
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
|
||||
SectionName ::= TEXTUAL-CONVENTION
|
||||
DISPLAY-HINT "14a"
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of a loadable module. Should consist of alphanumeric characers
|
||||
only, the first character must be a letter."
|
||||
SYNTAX OCTET STRING (SIZE(1..14))
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
--
|
||||
-- Agent types
|
||||
--
|
||||
begemotSnmpdAgent OBJECT IDENTIFIER ::= { begemotSnmpdDefs 1 }
|
||||
|
||||
begemotSnmpdAgentFreeBSD OBJECT-IDENTITY
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Identifies the agent as running on FreeBSD."
|
||||
::= { begemotSnmpdAgent 1 }
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
--
|
||||
-- The Config Group
|
||||
--
|
||||
begemotSnmpdConfig OBJECT IDENTIFIER ::= { begemotSnmpdObjects 1 }
|
||||
|
||||
begemotSnmpdTransmitBuffer OBJECT-TYPE
|
||||
SYNTAX Integer32 (484..65535)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The size of the receive buffer in bytes. Larger messages
|
||||
are dropped by SNMPd."
|
||||
DEFVAL { 2048 }
|
||||
::= { begemotSnmpdConfig 1 }
|
||||
|
||||
begemotSnmpdReceiveBuffer OBJECT-TYPE
|
||||
SYNTAX Integer32 (484..65535)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The size of the transmit buffer in bytes. Larger messages
|
||||
cannot be sent by the SNMPd."
|
||||
DEFVAL { 2048 }
|
||||
::= { begemotSnmpdConfig 2 }
|
||||
|
||||
begemotSnmpdCommunityDisable OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Disables all access to the CommunityTable from SNMP. Once
|
||||
set it cannot be cleared."
|
||||
DEFVAL { false }
|
||||
::= { begemotSnmpdConfig 3 }
|
||||
|
||||
begemotSnmpdTrap1Addr OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The trap sink for v1 traps."
|
||||
::= { begemotSnmpdConfig 4 }
|
||||
|
||||
begemotSnmpdVersionEnable OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The SNMP versions that the agent processes. The following
|
||||
bits are defined:
|
||||
|
||||
0x00000001 - SNMPv1
|
||||
0x00000002 - SNMPv2c
|
||||
0x00000004 - SNMPv3"
|
||||
DEFVAL { 3 }
|
||||
::= { begemotSnmpdConfig 5 }
|
||||
|
||||
--
|
||||
-- Trap destinations
|
||||
--
|
||||
begemotTrapSinkTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotTrapSinkEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table with destinations for standard traps."
|
||||
INDEX { begemotTrapSinkAddr, begemotTrapSinkPort }
|
||||
::= { begemotSnmpdObjects 2 }
|
||||
|
||||
begemotTrapSinkEntry OBJECT-TYPE
|
||||
SYNTAX BegemotTrapSinkEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Entry describes one trap destination."
|
||||
INDEX { begemotTrapSinkAddr, begemotTrapSinkPort }
|
||||
::= { begemotTrapSinkTable 1 }
|
||||
|
||||
BegemotTrapSinkEntry ::= SEQUENCE {
|
||||
begemotTrapSinkAddr IpAddress,
|
||||
begemotTrapSinkPort INTEGER,
|
||||
begemotTrapSinkStatus RowStatus
|
||||
}
|
||||
|
||||
begemotTrapSinkAddr OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Destination IP address of the manager station where to send
|
||||
traps."
|
||||
::= { begemotTrapSinkEntry 1 }
|
||||
|
||||
begemotTrapSinkPort OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..65535)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Destination UDP port of the manager station where to send
|
||||
traps."
|
||||
::= { begemotTrapSinkEntry 2 }
|
||||
|
||||
begemotTrapSinkStatus OBJECT-TYPE
|
||||
SYNTAX RowStatus
|
||||
MAX-ACCESS read-create
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Used to create/activate/destroy the entry."
|
||||
::= { begemotTrapSinkEntry 3 }
|
||||
|
||||
--
|
||||
-- SNMP port table
|
||||
--
|
||||
begemotSnmpdPortTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotSnmpdPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS deprecated
|
||||
DESCRIPTION
|
||||
"A table with descriptions of UDP ports to listen on
|
||||
for SNMP messages."
|
||||
::= { begemotSnmpdObjects 4 }
|
||||
|
||||
begemotSnmpdPortEntry OBJECT-TYPE
|
||||
SYNTAX BegemotSnmpdPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS deprecated
|
||||
DESCRIPTION
|
||||
"An entry in the table with descriptions of UDP ports to
|
||||
listen on for SNMP messages."
|
||||
INDEX { begemotSnmpdPortAddress, begemotSnmpdPortPort }
|
||||
::= { begemotSnmpdPortTable 1 }
|
||||
|
||||
BegemotSnmpdPortEntry ::= SEQUENCE {
|
||||
begemotSnmpdPortAddress IpAddress,
|
||||
begemotSnmpdPortPort INTEGER,
|
||||
begemotSnmpdPortStatus INTEGER
|
||||
}
|
||||
|
||||
begemotSnmpdPortAddress OBJECT-TYPE
|
||||
SYNTAX IpAddress
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS deprecated
|
||||
DESCRIPTION
|
||||
"The IP address to bind to."
|
||||
::= { begemotSnmpdPortEntry 1 }
|
||||
|
||||
begemotSnmpdPortPort OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..65535)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS deprecated
|
||||
DESCRIPTION
|
||||
"The UDP port to listen on for SNMP messages."
|
||||
::= { begemotSnmpdPortEntry 2 }
|
||||
|
||||
begemotSnmpdPortStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { valid(1), invalid(2) }
|
||||
MAX-ACCESS read-create
|
||||
STATUS deprecated
|
||||
DESCRIPTION
|
||||
"Set status to 1 to create entry, set it to 2 to delete it."
|
||||
::= { begemotSnmpdPortEntry 3 }
|
||||
|
||||
---
|
||||
--- Community table
|
||||
---
|
||||
begemotSnmpdCommunityTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotSnmpdCommunityEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table with the community strings for access control."
|
||||
::= { begemotSnmpdObjects 5 }
|
||||
|
||||
begemotSnmpdCommunityEntry OBJECT-TYPE
|
||||
SYNTAX BegemotSnmpdCommunityEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table with the community strings for access control.
|
||||
When begemotSnmpdCommDisable is true, this table disappears."
|
||||
INDEX { begemotSnmpdCommunityModule, begemotSnmpdCommunityIndex }
|
||||
::= { begemotSnmpdCommunityTable 1 }
|
||||
|
||||
BegemotSnmpdCommunityEntry ::= SEQUENCE {
|
||||
begemotSnmpdCommunityModule SectionName,
|
||||
begemotSnmpdCommunityIndex Unsigned32,
|
||||
begemotSnmpdCommunityString OCTET STRING,
|
||||
begemotSnmpdCommunityDescr OCTET STRING,
|
||||
begemotSnmpdCommunityPermission Unsigned32
|
||||
}
|
||||
|
||||
begemotSnmpdCommunityModule OBJECT-TYPE
|
||||
SYNTAX SectionName
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index of the module that has registered this community.
|
||||
For global communities this is the empty string."
|
||||
::= { begemotSnmpdCommunityEntry 1 }
|
||||
|
||||
begemotSnmpdCommunityIndex OBJECT-TYPE
|
||||
SYNTAX Unsigned32 (1..4294967295)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The numerical index of the community (private to the module)."
|
||||
::= { begemotSnmpdCommunityEntry 2 }
|
||||
|
||||
begemotSnmpdCommunityString OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The string for access to SNMPd."
|
||||
::= { begemotSnmpdCommunityEntry 3 }
|
||||
|
||||
begemotSnmpdCommunityDescr OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A description what this community is good for."
|
||||
::= { begemotSnmpdCommunityEntry 4 }
|
||||
|
||||
begemotSnmpdCommunityPermission OBJECT-TYPE
|
||||
SYNTAX Unsigned32 (1..4294967295)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The numerical value of access rights granted to the community."
|
||||
::= { begemotSnmpdCommunityEntry 5 }
|
||||
|
||||
--
|
||||
-- Module table
|
||||
--
|
||||
begemotSnmpdModuleTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotSnmpdModuleEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table describing all the currently loaded dynamic modules.
|
||||
Writing to this table loads and unloads modules."
|
||||
::= { begemotSnmpdObjects 6 }
|
||||
|
||||
begemotSnmpdModuleEntry OBJECT-TYPE
|
||||
SYNTAX BegemotSnmpdModuleEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table entry describing a loadable module."
|
||||
INDEX { begemotSnmpdModuleSection }
|
||||
::= { begemotSnmpdModuleTable 1 }
|
||||
|
||||
BegemotSnmpdModuleEntry ::= SEQUENCE {
|
||||
begemotSnmpdModuleSection SectionName,
|
||||
begemotSnmpdModulePath OCTET STRING,
|
||||
begemotSnmpdModuleComment OCTET STRING
|
||||
}
|
||||
|
||||
begemotSnmpdModuleSection OBJECT-TYPE
|
||||
SYNTAX SectionName
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The string used for matching configuration file sections
|
||||
and indexes the module table."
|
||||
::= { begemotSnmpdModuleEntry 1 }
|
||||
|
||||
|
||||
begemotSnmpdModulePath OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-create
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The path name of the module. Set to empty string
|
||||
to unload a module. The path of an existing module
|
||||
may not be changed."
|
||||
::= { begemotSnmpdModuleEntry 2 }
|
||||
|
||||
begemotSnmpdModuleComment OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A comment describing this module."
|
||||
::= { begemotSnmpdModuleEntry 3 }
|
||||
|
||||
|
||||
-- --------------------------------------------------------------------------
|
||||
--
|
||||
-- The STATISTICS Group
|
||||
--
|
||||
begemotSnmpdStats OBJECT IDENTIFIER ::= { begemotSnmpdObjects 7 }
|
||||
|
||||
begemotSnmpdStatsNoRxBufs OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times a receive buffer could not be allocated
|
||||
for a packet."
|
||||
::= { begemotSnmpdStats 1 }
|
||||
|
||||
begemotSnmpdStatsNoTxBufs OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times a transmit buffer could not be allocated
|
||||
for a packet."
|
||||
::= { begemotSnmpdStats 2 }
|
||||
|
||||
begemotSnmpdStatsInTooLongPkts OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets received that were longer than the
|
||||
receive buffer. These packets are dropped."
|
||||
::= { begemotSnmpdStats 3 }
|
||||
|
||||
begemotSnmpdStatsInBadPduTypes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets received with a bad type field."
|
||||
::= { begemotSnmpdStats 4 }
|
||||
|
||||
--
|
||||
-- The Debug Group
|
||||
--
|
||||
begemotSnmpdDebug OBJECT IDENTIFIER ::= { begemotSnmpdObjects 8 }
|
||||
|
||||
begemotSnmpdDebugDumpPdus OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Dump PDUs to log file if true."
|
||||
DEFVAL { false }
|
||||
::= { begemotSnmpdDebug 1 }
|
||||
|
||||
begemotSnmpdDebugSnmpTrace OBJECT-TYPE
|
||||
SYNTAX Unsigned32
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Tracing flags for the SNMP library. These flags have the
|
||||
following meaning:
|
||||
0x00000001 trace GET operator
|
||||
0x00000002 trace GETNEXT operator
|
||||
0x00000004 trace SET operator
|
||||
0x00000008 trace dependency processing
|
||||
0x00000010 trace node finding
|
||||
0x10000000 log ASN1 errors
|
||||
0x20000000 log SNMP errors
|
||||
Individual values can be or-ed together."
|
||||
DEFVAL { 0 }
|
||||
::= { begemotSnmpdDebug 2 }
|
||||
|
||||
begemotSnmpdDebugSyslogPri OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..8)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Events with this or higher priority should not be logged."
|
||||
DEFVAL { 7 } -- don't log debug messages
|
||||
::= { begemotSnmpdDebug 3 }
|
||||
|
||||
--
|
||||
-- Local port table
|
||||
--
|
||||
begemotSnmpdLocalPortTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotSnmpdLocalPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table with descriptions of local (unix domain) ports to listen
|
||||
on for SNMP messages."
|
||||
::= { begemotSnmpdObjects 9 }
|
||||
|
||||
begemotSnmpdLocalPortEntry OBJECT-TYPE
|
||||
SYNTAX BegemotSnmpdLocalPortEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry in the table with descriptions of local ports to
|
||||
listen on for SNMP messages."
|
||||
INDEX { begemotSnmpdLocalPortPath }
|
||||
::= { begemotSnmpdLocalPortTable 1 }
|
||||
|
||||
BegemotSnmpdLocalPortEntry ::= SEQUENCE {
|
||||
begemotSnmpdLocalPortPath OCTET STRING,
|
||||
begemotSnmpdLocalPortStatus INTEGER,
|
||||
begemotSnmpdLocalPortType INTEGER
|
||||
}
|
||||
|
||||
begemotSnmpdLocalPortPath OBJECT-TYPE
|
||||
SYNTAX OCTET STRING (SIZE(1..104))
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The path name to create and listen on."
|
||||
::= { begemotSnmpdLocalPortEntry 1 }
|
||||
|
||||
begemotSnmpdLocalPortStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { valid(1), invalid(2) }
|
||||
MAX-ACCESS read-create
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Set status to 1 to create entry, set it to 2 to delete it."
|
||||
::= { begemotSnmpdLocalPortEntry 2 }
|
||||
|
||||
begemotSnmpdLocalPortType OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
dgram-unpriv(1),
|
||||
dgram-priv(2),
|
||||
stream-unpriv(3),
|
||||
stream-priv(4)
|
||||
}
|
||||
MAX-ACCESS read-create
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Type of the port. If the type is unpriv SET operations
|
||||
are allowed from all clients if the community matches. For
|
||||
priv SET operations are allowed only from peers with uid
|
||||
zero. If the daemon cannot determine the peer uid it disallows
|
||||
the SET operation for -priv ports."
|
||||
::= { begemotSnmpdLocalPortEntry 3 }
|
||||
|
||||
--
|
||||
-- Transport mapping table
|
||||
--
|
||||
begemotSnmpdTransportMappings OBJECT IDENTIFIER ::= { begemotSnmpdObjects 10 }
|
||||
|
||||
begemotSnmpdTransportTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotSnmpdTransportEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A table containing all the currently loaded transport mappings."
|
||||
::= { begemotSnmpdTransportMappings 1 }
|
||||
|
||||
begemotSnmpdTransportEntry OBJECT-TYPE
|
||||
SYNTAX BegemotSnmpdTransportEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry in the table with the transport mappings."
|
||||
INDEX { begemotSnmpdTransportName }
|
||||
::= { begemotSnmpdTransportTable 1 }
|
||||
|
||||
BegemotSnmpdTransportEntry ::= SEQUENCE {
|
||||
begemotSnmpdTransportName OCTET STRING,
|
||||
begemotSnmpdTransportStatus INTEGER,
|
||||
begemotSnmpdTransportOid OBJECT IDENTIFIER
|
||||
}
|
||||
|
||||
begemotSnmpdTransportName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING (SIZE(1..256))
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the mapping."
|
||||
::= { begemotSnmpdTransportEntry 1 }
|
||||
|
||||
begemotSnmpdTransportStatus OBJECT-TYPE
|
||||
SYNTAX RowStatus
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Used to create/activate/destroy the entry."
|
||||
::= { begemotSnmpdTransportEntry 2 }
|
||||
|
||||
begemotSnmpdTransportOid OBJECT-TYPE
|
||||
SYNTAX OBJECT IDENTIFIER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A pointer to the group with the transport-dependend stuff."
|
||||
::= { begemotSnmpdTransportEntry 3 }
|
||||
|
||||
-- ----------------------------------------------------------------------
|
||||
--
|
||||
-- Internet port table.
|
||||
--
|
||||
BegemotSnmpdTransportProto ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A value that represents the type of protocol to be used for
|
||||
listening on a socket. The following protocols are currently
|
||||
used:
|
||||
|
||||
udp(1) Use UDP for IPv4 and IPv6 sockets."
|
||||
SYNTAX INTEGER {
|
||||
udp(1)
|
||||
}
|
||||
|
||||
begemotSnmpdTransInetTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF BegemotSnmpdTransInetEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains all the ports the daemon should listen on.
|
||||
Entries can be created at initialization time via the config
|
||||
file or at run time via a SET. One row can map to several open
|
||||
sockets in the case of InetAddressType::dns rows. These rows
|
||||
open one socket for each address returned by getaddrinfo(3).
|
||||
for SNMP messages."
|
||||
::= { begemotSnmpdObjects 11 }
|
||||
|
||||
begemotSnmpdTransInetEntry OBJECT-TYPE
|
||||
SYNTAX BegemotSnmpdTransInetEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A row of the internet port table. Each row may map to one or
|
||||
more listening sockets."
|
||||
INDEX {
|
||||
begemotSnmpdTransInetAddressType,
|
||||
begemotSnmpdTransInetAddress,
|
||||
begemotSnmpdTransInetPort,
|
||||
begemotSnmpdTransInetProto
|
||||
}
|
||||
::= { begemotSnmpdTransInetTable 1 }
|
||||
|
||||
BegemotSnmpdTransInetEntry ::= SEQUENCE {
|
||||
begemotSnmpdTransInetAddressType InetAddressType,
|
||||
begemotSnmpdTransInetAddress InetAddress,
|
||||
begemotSnmpdTransInetPort InetPortNumber,
|
||||
begemotSnmpdTransInetProto BegemotSnmpdTransportProto,
|
||||
begemotSnmpdTransInetStatus RowStatus
|
||||
}
|
||||
|
||||
begemotSnmpdTransInetAddressType OBJECT-TYPE
|
||||
SYNTAX InetAddressType
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The type of the address. Only ipv4, ipv6, ipv6z and dns are
|
||||
supported."
|
||||
::= { begemotSnmpdTransInetEntry 1 }
|
||||
|
||||
begemotSnmpdTransInetAddress OBJECT-TYPE
|
||||
SYNTAX InetAddress (SIZE (0..64))
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The address. For ipv4 addresses the length must be 4, ipv6
|
||||
addresses have a length of 16 and ipv6z addresses a length of
|
||||
20 where the last four bytes are the interface index in big
|
||||
endian format. dns addresses may be of zero-length in which case
|
||||
getaddrinfo() generates INADDR_ANY and its IPv6 equivalent. dns
|
||||
addresses will open a socket for all addresses returned by
|
||||
getaddrinfo()."
|
||||
::= { begemotSnmpdTransInetEntry 2 }
|
||||
|
||||
begemotSnmpdTransInetPort OBJECT-TYPE
|
||||
SYNTAX InetPortNumber (1..65535)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The port to listen on for SNMP messages."
|
||||
::= { begemotSnmpdTransInetEntry 3 }
|
||||
|
||||
begemotSnmpdTransInetProto OBJECT-TYPE
|
||||
SYNTAX BegemotSnmpdTransportProto
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The protocol to use. Currently only the value udp(1) is supported."
|
||||
::= { begemotSnmpdTransInetEntry 4 }
|
||||
|
||||
begemotSnmpdTransInetStatus OBJECT-TYPE
|
||||
SYNTAX RowStatus
|
||||
MAX-ACCESS read-create
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The status of the conceptual row. A row may be created using
|
||||
createAndGo(4) or createAndWait(5). An inactive row can be
|
||||
activated writing active(1) and an active row can be inactivated
|
||||
by writing notInService(2). Finally active or inactive rows can be
|
||||
deleted by writing the value destroy(6). The value of this field
|
||||
will never read as notReady(3)."
|
||||
::= { begemotSnmpdTransInetEntry 5 }
|
||||
|
||||
--
|
||||
-- XXX These should go into their own MIB
|
||||
--
|
||||
begemotSnmpdTransUdp OBJECT IDENTIFIER ::= { begemotSnmpdTransportMappings 2 }
|
||||
begemotSnmpdTransLsock OBJECT IDENTIFIER ::= { begemotSnmpdTransportMappings 3 }
|
||||
begemotSnmpdTransInet OBJECT IDENTIFIER ::= { begemotSnmpdTransportMappings 4 }
|
||||
|
||||
END
|
3898
mibs/bsd/BEGEMOT-WIRELESS-MIB
Normal file
3898
mibs/bsd/BEGEMOT-WIRELESS-MIB
Normal file
File diff suppressed because it is too large
Load Diff
57
mibs/bsd/FOKUS-MIB
Normal file
57
mibs/bsd/FOKUS-MIB
Normal file
@ -0,0 +1,57 @@
|
||||
--
|
||||
-- Copyright (c) 2001-2003
|
||||
-- Fraunhofer Institute for Open Communication Systems (FhG Fokus).
|
||||
-- All rights reserved.
|
||||
--
|
||||
-- Author: Harti Brandt <harti@freebsd.org>
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions
|
||||
-- are met:
|
||||
-- 1. Redistributions of source code must retain the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer.
|
||||
-- 2. Redistributions in binary form must reproduce the above copyright
|
||||
-- notice, this list of conditions and the following disclaimer in the
|
||||
-- documentation and/or other materials provided with the distribution.
|
||||
--
|
||||
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
-- ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
-- SUCH DAMAGE.
|
||||
--
|
||||
-- $Begemot: bsnmp/snmpd/FOKUS-MIB.txt,v 1.5 2004/08/06 08:47:08 brandt Exp $
|
||||
--
|
||||
-- Begemot private definitions and fokus root.
|
||||
--
|
||||
FOKUS-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, enterprises
|
||||
FROM SNMPv2-SMI;
|
||||
|
||||
fokus MODULE-IDENTITY
|
||||
LAST-UPDATED "200202050000Z"
|
||||
ORGANIZATION "Fraunhofer FOKUS, CATS"
|
||||
CONTACT-INFO
|
||||
" Hartmut Brandt
|
||||
|
||||
Postal: Fraunhofer Institute for Open Communication Systems
|
||||
Kaiserin-Augusta-Allee 31
|
||||
10589 Berlin
|
||||
Germany
|
||||
|
||||
Fax: +49 30 3463 7352
|
||||
|
||||
E-mail: harti@freebsd.org"
|
||||
DESCRIPTION
|
||||
"The root of the Fokus enterprises tree."
|
||||
::= { enterprises 12325 }
|
||||
|
||||
END
|
79
mibs/bsd/FREEBSD-MIB
Normal file
79
mibs/bsd/FREEBSD-MIB
Normal file
@ -0,0 +1,79 @@
|
||||
-- *****************************************************************
|
||||
-- This file is in the public domain.
|
||||
--
|
||||
-- FreeBSD SMI { enterprises 2238 }
|
||||
--
|
||||
-- $FreeBSD$
|
||||
--
|
||||
-- *****************************************************************
|
||||
|
||||
FREEBSD-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY,
|
||||
OBJECT-IDENTITY,
|
||||
enterprises
|
||||
FROM SNMPv2-SMI;
|
||||
|
||||
freeBSD MODULE-IDENTITY
|
||||
LAST-UPDATED "200610311000Z"
|
||||
ORGANIZATION "The FreeBSD Project."
|
||||
CONTACT-INFO
|
||||
"phk@FreeBSD.org is contact person for this file.
|
||||
core@FreeBSD.org is the final authority."
|
||||
DESCRIPTION
|
||||
"The Structure of Management Information for the
|
||||
FreeBSD Project enterprise MIB subtree."
|
||||
REVISION "200610310800Z"
|
||||
DESCRIPTION
|
||||
"Initial version of this MIB module."
|
||||
::= { enterprises 2238 } -- assigned by IANA
|
||||
|
||||
|
||||
freeBSDsrc OBJECT-IDENTITY
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Subtree for things which lives in the src tree."
|
||||
::= { freeBSD 1 }
|
||||
|
||||
freeBSDports OBJECT-IDENTITY
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Subtree for things which lives in the ports tree."
|
||||
::= { freeBSD 2 }
|
||||
|
||||
freeBSDpeople OBJECT-IDENTITY
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Subtree for FreeBSD people.
|
||||
Under this branch any FreeBSD committer may claim
|
||||
a subtree. Grab the next sequential oid in the list.
|
||||
These assignments are not revoked when committers leave
|
||||
the FreeBSD project.
|
||||
"
|
||||
::= { freeBSD 3 }
|
||||
|
||||
freeBSDpeoplePhk OBJECT-IDENTITY
|
||||
STATUS current DESCRIPTION
|
||||
"Subtree for phk@FreeBSD.org"
|
||||
::= {freeBSDpeople 1}
|
||||
|
||||
freeBSDVersion OBJECT-IDENTITY
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Subtree to register FreeBSD versions. The OID for a FreeBSD
|
||||
version is formed by appending the dot delimited numbers
|
||||
from the release number to this base OID. Examples:
|
||||
|
||||
5.2.1-STABLE: freeBSDVersion.5.2.1
|
||||
6.1-STABLE: freeBSDVersion.6.1
|
||||
7.0-CURRENT: freeBSDVersion.7.0
|
||||
|
||||
There is no indication whether this is STABLE or CURRENT.
|
||||
|
||||
The sysObjectId is automatically set to the value indicated
|
||||
by the uname(3) release field by bsnmpd(1). This initial
|
||||
value can be overwritten in the configuration file."
|
||||
::= { freeBSD 4 }
|
||||
|
||||
END
|
128
mibs/bsd/HALON-SP-MIB
Normal file
128
mibs/bsd/HALON-SP-MIB
Normal file
@ -0,0 +1,128 @@
|
||||
HALON-SP-MIB DEFINITIONS ::= BEGIN
|
||||
IMPORTS
|
||||
OBJECT-TYPE, MODULE-IDENTITY, enterprises,
|
||||
Counter64, Integer32
|
||||
FROM SNMPv2-SMI;
|
||||
|
||||
halonSecuritySP MODULE-IDENTITY
|
||||
LAST-UPDATED "201302061107Z"
|
||||
ORGANIZATION "Halon Security"
|
||||
CONTACT-INFO "http://www.halon.se"
|
||||
DESCRIPTION "SNMP MIB for Halon"
|
||||
|
||||
REVISION "201302071132Z"
|
||||
DESCRIPTION "Initial release"
|
||||
::= { halonSecurityProducts 1 }
|
||||
|
||||
|
||||
halonSecurity OBJECT IDENTIFIER ::= { enterprises 33234 }
|
||||
|
||||
halonSecurityProducts OBJECT IDENTIFIER ::= { halonSecurity 1 }
|
||||
|
||||
halonSecuritySPObjects OBJECT IDENTIFIER ::= { halonSecuritySP 1 }
|
||||
|
||||
serialNumber OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Serial number"
|
||||
::= { halonSecuritySPObjects 1 }
|
||||
|
||||
configurationRevision OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Running configuration revision"
|
||||
::= { halonSecuritySPObjects 2 }
|
||||
|
||||
mailQueueLength OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Length of mail queue to be delivered"
|
||||
::= { halonSecuritySPObjects 3 }
|
||||
|
||||
quarantinedMessages OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Messages in quarantine"
|
||||
::= { halonSecuritySPObjects 4 }
|
||||
|
||||
statTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF StatEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "Table containing statistics"
|
||||
::= { halonSecuritySPObjects 5 }
|
||||
|
||||
statEntry OBJECT-TYPE
|
||||
SYNTAX StatEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION "Statistic entry"
|
||||
INDEX {
|
||||
statKey1Index,
|
||||
statKey2Index,
|
||||
statKey3Index
|
||||
}
|
||||
::= { statTable 1 }
|
||||
|
||||
StatEntry ::= SEQUENCE {
|
||||
statKey1Index
|
||||
OCTET STRING,
|
||||
statKey2Index
|
||||
OCTET STRING,
|
||||
statKey3Index
|
||||
OCTET STRING,
|
||||
statCount
|
||||
Counter64,
|
||||
statCreated
|
||||
Integer32,
|
||||
statUpdated
|
||||
Integer32
|
||||
}
|
||||
|
||||
statKey1Index OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Key1"
|
||||
::= { statEntry 1 }
|
||||
|
||||
statKey2Index OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Key2"
|
||||
::= { statEntry 2 }
|
||||
|
||||
statKey3Index OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Key3"
|
||||
::= { statEntry 3 }
|
||||
|
||||
statCount OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Counter value"
|
||||
::= { statEntry 4 }
|
||||
|
||||
statCreated OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Unix timestamp when created"
|
||||
::= { statEntry 5 }
|
||||
|
||||
statUpdated OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION "Unix timestamp when last updated"
|
||||
::= { statEntry 6 }
|
||||
|
||||
END
|
363
mibs/bsd/NYMNETWORKS-MIB
Normal file
363
mibs/bsd/NYMNETWORKS-MIB
Normal file
@ -0,0 +1,363 @@
|
||||
NYMNETWORKS-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
enterprises FROM RFC1155-SMI
|
||||
OBJECT-TYPE FROM RFC-1212
|
||||
DisplayString FROM RFC-1213;
|
||||
|
||||
nymnetworks OBJECT IDENTIFIER ::= {enterprises 25359}
|
||||
|
||||
zfs OBJECT IDENTIFIER ::= {nymnetworks 1}
|
||||
ipmi OBJECT IDENTIFIER ::= {nymnetworks 2}
|
||||
ups OBJECT IDENTIFIER ::= {nymnetworks 3}
|
||||
|
||||
vols OBJECT IDENTIFIER ::= {zfs 5}
|
||||
|
||||
zfsVolumeName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The name of the filesystem type Volume."
|
||||
::= {vols 1}
|
||||
|
||||
zfsVolumeAvailableKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 KB blocks that are available for use."
|
||||
::= {vols 2}
|
||||
|
||||
zfsVolumeUsedKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 KB blocks that are in use."
|
||||
::= {vols 3}
|
||||
|
||||
zfsVolumeSizeKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 KB blocks of the volume."
|
||||
::= {vols 4}
|
||||
|
||||
zfsVolumeAvailableMB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 MB blocks that are available for use.
|
||||
Useful if zfsVolumeAvailableKB exceeds a 32 bit
|
||||
integer."
|
||||
::= {vols 12}
|
||||
|
||||
zfsVolumeUsedMB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 MB blocks that are in use Useful if
|
||||
zfsVolumeUsedKB exceeds a 32 bit integer."
|
||||
::= {vols 13}
|
||||
|
||||
zfsVolumeSizeMB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 MB blocks part of the volume Useful if
|
||||
zfsVolumeSizeKB exceeds a 32 bit integer."
|
||||
::= {vols 14}
|
||||
|
||||
fs OBJECT IDENTIFIER ::= {zfs 1}
|
||||
|
||||
zfsFilesystemName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The name of the filesystem."
|
||||
::= {fs 1}
|
||||
|
||||
zfsFilesystemAvailableKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 KB blocks that are available for use."
|
||||
::= {fs 2}
|
||||
|
||||
zfsFilesystemUsedKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 KB blocks that are in use."
|
||||
::= {fs 3}
|
||||
|
||||
zfsPoolHealth OBJECT-TYPE
|
||||
SYNTAX INTEGER { online(1), degraded(2), faulted(3), unknown(4) }
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The current health of the containing pool, as reported
|
||||
by zpool status."
|
||||
::= {fs 4}
|
||||
|
||||
zfsFilesystemSizeKB OBJECT-TYPE
|
||||
SYNTAX INTEGER { online(1), degraded(2), faulted(3), unknown(4) }
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 MB blocks that are assigned"
|
||||
::= {fs 5}
|
||||
|
||||
zfsFilesystemAvailableMB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 MB blocks that are available for use.
|
||||
Useful if zfsFilesystemAvailableKB exceeds a 32 bit
|
||||
integer."
|
||||
::= {fs 12}
|
||||
|
||||
zfsFilesystemUsedMB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 MB blocks that are in use Useful if
|
||||
zfsFilesystemUsedKB exceeds a 32 bit integer."
|
||||
::= {fs 13}
|
||||
|
||||
zfsFilesystemSizeMB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of 1 MB blocks that are assigned Useful if
|
||||
zfsFilesystemSizeKB exceeds a 32 bit integer."
|
||||
::= {fs 14}
|
||||
|
||||
arc OBJECT IDENTIFIER ::= {zfs 2}
|
||||
|
||||
zfsARCSizeKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The current ARC size in KB."
|
||||
::= {arc 1}
|
||||
|
||||
zfsARCMetadataSizeKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The amount of ARC space used for metadata storage, in KB."
|
||||
::= {arc 2}
|
||||
|
||||
zfsARCDataSizeKB OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The amount of ARC space used for file data storage, in KB."
|
||||
::= {arc 3}
|
||||
|
||||
zfsARCHits OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of ARC accesses that were cache hits."
|
||||
::= {arc 4}
|
||||
|
||||
zfsARCMisses OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of ARC accesses that were cache misses."
|
||||
::= {arc 5}
|
||||
|
||||
zfsARCTargetSize OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The amount of ARC Target size"
|
||||
::= {arc 6}
|
||||
|
||||
zfsARCMru OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The amount of ARC size most recently used."
|
||||
::= {arc 7}
|
||||
l2arc OBJECT IDENTIFIER ::= {zfs 3}
|
||||
|
||||
zfsL2ARCHits OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of L2ARC accesses that were cache hits."
|
||||
::= {l2arc 1}
|
||||
|
||||
zfsL2ARCMisses OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of L2ARC accesses that were cache misses."
|
||||
::= {l2arc 2}
|
||||
|
||||
zfsL2ARCReads OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of reads made from L2ARC devices."
|
||||
::= {l2arc 3}
|
||||
|
||||
zfsL2ARCWrites OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The number of writes made to L2ARC devices."
|
||||
::= {l2arc 4}
|
||||
|
||||
io OBJECT IDENTIFIER ::= {zfs 4}
|
||||
|
||||
zfsReadKB OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The amount of file data read from the ZFS filesystem layer, in KB."
|
||||
::= {io 1}
|
||||
|
||||
zfsReaddirKB OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The amount of directory data read from the ZFS filesystem layer, in KB."
|
||||
::= {io 2}
|
||||
|
||||
zfsWriteKB OBJECT-TYPE
|
||||
SYNTAX COUNTER
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The amount of file data written to the ZFS filesystem layer, in KB."
|
||||
::= {io 3}
|
||||
|
||||
temperature OBJECT IDENTIFIER ::= {ipmi 1}
|
||||
|
||||
tempSensorName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The name of the designated temperature sensor."
|
||||
::= {temperature 1}
|
||||
|
||||
tempSensorValue OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The current value of the designated temperature sensor."
|
||||
::= {temperature 2}
|
||||
|
||||
|
||||
upsId OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The UPS identifier."
|
||||
::= {ups 1}
|
||||
|
||||
upsModel OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The UPS model name."
|
||||
::= {ups 2}
|
||||
|
||||
upsManufacturer OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The UPS manufacturer name."
|
||||
::= {ups 3}
|
||||
|
||||
upsSerial OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The UPS serial number."
|
||||
::= {ups 4}
|
||||
|
||||
upsBatteryChargePercent OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The current battery charge in percent."
|
||||
::= {ups 5}
|
||||
|
||||
upsBatteryRuntimeSec OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The current remaining runtime in seconds."
|
||||
::= {ups 6}
|
||||
|
||||
upsBatteryVoltagedV OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The current battery voltage in dV."
|
||||
::= {ups 7}
|
||||
|
||||
upsBatteryNominalVoltagedV OBJECT-TYPE
|
||||
SYNTAX GAUGE
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The nominal battery voltage in dV."
|
||||
::= {ups 8}
|
||||
|
||||
upsBatteryType OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The battery type."
|
||||
::= {ups 9}
|
||||
|
||||
upsStatus OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"The current UPS status string."
|
||||
::= {ups 10}
|
||||
|
||||
END
|
64
mibs/bsd/OPENBSD-BASE-MIB
Normal file
64
mibs/bsd/OPENBSD-BASE-MIB
Normal file
@ -0,0 +1,64 @@
|
||||
-- $OpenBSD: OPENBSD-BASE-MIB.txt,v 1.7 2016/09/02 12:17:33 tb Exp $
|
||||
--
|
||||
-- Copyright (c) 2008 Reyk Floeter <reyk@openbsd.org>
|
||||
-- Copyright (c) 2004-2007 Joel Knight <knight.joel@gmail.com>
|
||||
--
|
||||
-- Permission to use, copy, modify, and distribute this document for any
|
||||
-- purpose with or without fee is hereby granted, provided that the above
|
||||
-- copyright notice and this permission notice appear in all copies.
|
||||
--
|
||||
-- THE DOCUMENT IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
-- WITH REGARD TO THIS DOCUMENT INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS DOCUMENT.
|
||||
|
||||
OPENBSD-BASE-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE, enterprises
|
||||
FROM SNMPv2-SMI
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF;
|
||||
|
||||
openBSD MODULE-IDENTITY
|
||||
LAST-UPDATED "201201310000Z"
|
||||
ORGANIZATION "OpenBSD"
|
||||
CONTACT-INFO
|
||||
"Editor: Reyk Floeter
|
||||
EMail: reyk@openbsd.org
|
||||
WWW: https://www.openbsd.org/
|
||||
|
||||
Editor: Joel Knight
|
||||
EMail: knight.joel@gmail.com
|
||||
WWW: http://www.packetmischief.ca/openbsd-snmp-mibs/"
|
||||
DESCRIPTION
|
||||
"The base MIB module for the OpenBSD project."
|
||||
REVISION "201201310000Z"
|
||||
DESCRIPTION
|
||||
"Document relayd(8)'s use of the openBSD.3 OID; move the CARP MIB to
|
||||
openBSD.6 to avoid a conflict with relayd."
|
||||
REVISION "200812230000Z"
|
||||
DESCRIPTION
|
||||
"Updated for MIB for the OpenBSD snmpd(8) implementation."
|
||||
::= { enterprises 30155 }
|
||||
|
||||
--
|
||||
-- OpenBSD sub-MIBs
|
||||
--
|
||||
|
||||
pfMIBObjects OBJECT IDENTIFIER ::= { openBSD 1 }
|
||||
sensorsMIBObjects OBJECT IDENTIFIER ::= { openBSD 2 }
|
||||
relaydMIBObjects OBJECT IDENTIFIER ::= { openBSD 3 }
|
||||
-- ipsecMIBObjects OBJECT IDENTIFIER ::= { openBSD 4 }
|
||||
memMIBObjects OBJECT IDENTIFIER ::= { openBSD 5 }
|
||||
carpMIBObjects OBJECT IDENTIFIER ::= { openBSD 6 }
|
||||
|
||||
-- Other values
|
||||
localSystem OBJECT IDENTIFIER ::= { openBSD 23 }
|
||||
openBSDDefaultObjectID OBJECT IDENTIFIER ::= { localSystem 1 }
|
||||
localTest OBJECT IDENTIFIER ::= { openBSD 42 }
|
||||
|
||||
END
|
365
mibs/bsd/OPENBSD-CARP-MIB
Normal file
365
mibs/bsd/OPENBSD-CARP-MIB
Normal file
@ -0,0 +1,365 @@
|
||||
-- $OpenBSD: OPENBSD-CARP-MIB.txt,v 1.4 2018/05/30 18:17:20 sthen Exp $
|
||||
--
|
||||
-- Copyright (c) 2006-2011 Joel Knight <knight.joel@gmail.com>
|
||||
--
|
||||
-- Permission to use, copy, modify, and distribute this document for any
|
||||
-- purpose with or without fee is hereby granted, provided that the above
|
||||
-- copyright notice and this permission notice appear in all copies.
|
||||
--
|
||||
-- THE DOCUMENT IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
-- WITH REGARD TO THIS DOCUMENT INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS DOCUMENT.
|
||||
|
||||
|
||||
OPENBSD-CARP-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE,
|
||||
Counter64, Integer32, enterprises
|
||||
FROM SNMPv2-SMI
|
||||
|
||||
TruthValue
|
||||
FROM SNMPv2-TC
|
||||
|
||||
openBSD
|
||||
FROM OPENBSD-BASE-MIB
|
||||
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF;
|
||||
|
||||
carpMIBObjects MODULE-IDENTITY
|
||||
LAST-UPDATED "201805140000Z"
|
||||
ORGANIZATION "OpenBSD"
|
||||
CONTACT-INFO "
|
||||
Author: Joel Knight
|
||||
email: knight.joel@gmail.com
|
||||
www: www.packetmischief.ca/openbsd-snmp-mibs/
|
||||
"
|
||||
DESCRIPTION "The MIB module for gathering information about
|
||||
Common Address Redundancy Protocol (CARP) interfaces."
|
||||
REVISION "201805140000Z"
|
||||
DESCRIPTION "Add the carpGroupTable to OPENBSD-CARP-MIB."
|
||||
REVISION "201201310000Z"
|
||||
DESCRIPTION "Add the OPENBSD-CARP-MIB to snmpd."
|
||||
::= { openBSD 6 }
|
||||
|
||||
|
||||
-- define the sections of the MIB
|
||||
|
||||
carpSysctl OBJECT IDENTIFIER ::= { carpMIBObjects 1 }
|
||||
carpIf OBJECT IDENTIFIER ::= { carpMIBObjects 2 }
|
||||
carpStats OBJECT IDENTIFIER ::= { carpMIBObjects 3 }
|
||||
|
||||
|
||||
-- carpSysctl
|
||||
carpAllow OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether the node will respond to CARP packets."
|
||||
::= { carpSysctl 1 }
|
||||
|
||||
carpPreempt OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether preemption is enabled."
|
||||
::= { carpSysctl 2 }
|
||||
|
||||
carpLog OBJECT-TYPE
|
||||
SYNTAX TruthValue
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether logging of invalid CARP packets is enabled."
|
||||
::= { carpSysctl 3 }
|
||||
|
||||
|
||||
-- carpIf
|
||||
|
||||
carpIfNumber OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of CARP interfaces present on this system."
|
||||
::= { carpIf 1 }
|
||||
|
||||
carpIfTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF CarpIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of individual CARP interfaces. The number of entries is
|
||||
given by the value of carpIfNumber."
|
||||
::= { carpIf 2 }
|
||||
|
||||
carpIfEntry OBJECT-TYPE
|
||||
SYNTAX CarpIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry containing management information applicable to a
|
||||
particular CARP interface."
|
||||
INDEX { carpIfIndex }
|
||||
::= { carpIfTable 1 }
|
||||
|
||||
CarpIfEntry ::=
|
||||
SEQUENCE {
|
||||
carpIfIndex Integer32,
|
||||
carpIfDescr OCTET STRING,
|
||||
carpIfVhid Integer32,
|
||||
carpIfDev OCTET STRING,
|
||||
carpIfAdvbase Integer32,
|
||||
carpIfAdvskew Integer32,
|
||||
carpIfState Integer32
|
||||
}
|
||||
|
||||
carpIfIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each CARP interface."
|
||||
::= { carpIfEntry 1 }
|
||||
|
||||
carpIfDescr OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the CARP interface."
|
||||
::= { carpIfEntry 2 }
|
||||
|
||||
carpIfVhid OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The Virtual HostID of the CARP interface."
|
||||
::= { carpIfEntry 3 }
|
||||
|
||||
carpIfDev OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The parent interface that the CARP interface is bound to."
|
||||
::= { carpIfEntry 4 }
|
||||
|
||||
carpIfAdvbase OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The advbase value of the CARP interface."
|
||||
::= { carpIfEntry 5 }
|
||||
|
||||
carpIfAdvskew OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The advskew value of the CARP interface."
|
||||
::= { carpIfEntry 6 }
|
||||
|
||||
carpIfState OBJECT-TYPE
|
||||
SYNTAX INTEGER { init(0), backup(1), master(2) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates the operational state of the CARP interface."
|
||||
::= { carpIfEntry 7 }
|
||||
|
||||
|
||||
-- carpGroup
|
||||
|
||||
carpGroupTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF CarpGroupEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of interface groups."
|
||||
::= { carpMIBObjects 4 }
|
||||
|
||||
carpGroupEntry OBJECT-TYPE
|
||||
SYNTAX CarpGroupEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry containing management information applicable to a
|
||||
particular interface group."
|
||||
INDEX { carpGroupIndex }
|
||||
::= { carpGroupTable 1 }
|
||||
|
||||
CarpGroupEntry ::=
|
||||
SEQUENCE {
|
||||
carpGroupIndex Integer32,
|
||||
carpGroupName OCTET STRING,
|
||||
carpGroupDemote Integer32
|
||||
}
|
||||
|
||||
carpGroupIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The demote value of the interface group."
|
||||
::= { carpGroupEntry 1 }
|
||||
|
||||
carpGroupName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the interface group."
|
||||
::= { carpGroupEntry 2 }
|
||||
|
||||
carpGroupDemote OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The demote value of the interface group."
|
||||
::= { carpGroupEntry 3 }
|
||||
|
||||
|
||||
-- carpStats
|
||||
|
||||
carpIpPktsRecv OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of IPv4 CARP packets received on all interfaces."
|
||||
::= { carpStats 1 }
|
||||
|
||||
carpIp6PktsRecv OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of IPv6 CARP packets received on all interfaces."
|
||||
::= { carpStats 2 }
|
||||
|
||||
carpPktDiscardsForBadInterface OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded due to being received on a
|
||||
non-CARP interface."
|
||||
::= { carpStats 3 }
|
||||
|
||||
carpPktDiscardsForWrongTtl OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded due to having a TTL less
|
||||
than 255."
|
||||
::= { carpStats 4 }
|
||||
|
||||
carpPktShorterThanHeader OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets received on any interface that is
|
||||
shorter than the size of the CARP packet header."
|
||||
::= { carpStats 5 }
|
||||
|
||||
carpPktDiscardsForBadChecksum OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded due to bad checksum."
|
||||
::= { carpStats 6 }
|
||||
|
||||
carpPktDiscardsForBadVersion OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded due to bad version in
|
||||
the packet header."
|
||||
::= { carpStats 7 }
|
||||
|
||||
carpPktDiscardsForTooShort OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded due to being too short."
|
||||
::= { carpStats 8 }
|
||||
|
||||
carpPktDiscardsForBadAuth OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded because they failed the
|
||||
HMAC authentication check."
|
||||
::= { carpStats 9 }
|
||||
|
||||
carpPktDiscardsForBadVhid OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded due to incorrect VHID in
|
||||
the packet header."
|
||||
::= { carpStats 10 }
|
||||
|
||||
carpPktDiscardsForBadAddressList OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets discarded due to bad addresses in
|
||||
the CARP packet."
|
||||
::= { carpStats 11 }
|
||||
|
||||
carpIpPktsSent OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of IPv4 CARP packets sent on all interfaces."
|
||||
::= { carpStats 12 }
|
||||
|
||||
carpIp6PktsSent OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of IPv6 CARP packets sent on all interfaces."
|
||||
::= { carpStats 13 }
|
||||
|
||||
carpNoMemory OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of CARP advertisements that failed because memory
|
||||
could not be allocated."
|
||||
::= { carpStats 14 }
|
||||
|
||||
carpTransitionsToMaster OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times the host has transitioned to MASTER state
|
||||
for any CARP group."
|
||||
::= { carpStats 15 }
|
||||
|
||||
END
|
||||
|
113
mibs/bsd/OPENBSD-MEM-MIB
Normal file
113
mibs/bsd/OPENBSD-MEM-MIB
Normal file
@ -0,0 +1,113 @@
|
||||
-- $OpenBSD: OPENBSD-MEM-MIB.txt,v 1.3 2016/09/02 12:17:33 tb Exp $
|
||||
--
|
||||
-- Copyright (c) 2008 Reyk Floeter <reyk@openbsd.org>
|
||||
--
|
||||
-- Permission to use, copy, modify, and distribute this document for any
|
||||
-- purpose with or without fee is hereby granted, provided that the above
|
||||
-- copyright notice and this permission notice appear in all copies.
|
||||
--
|
||||
-- THE DOCUMENT IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
-- WITH REGARD TO THIS DOCUMENT INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS DOCUMENT.
|
||||
|
||||
OPENBSD-MEM-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE, Counter64, Integer32
|
||||
FROM SNMPv2-SMI
|
||||
DisplayString
|
||||
FROM SNMPv2-TC
|
||||
ifIndex, ifNumber
|
||||
FROM IF-MIB
|
||||
openBSD
|
||||
FROM OPENBSD-BASE-MIB
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF;
|
||||
|
||||
memMIBObjects MODULE-IDENTITY
|
||||
LAST-UPDATED "201202090000Z"
|
||||
ORGANIZATION "OpenBSD"
|
||||
CONTACT-INFO
|
||||
"Editor: Reyk Floeter
|
||||
EMail: reyk@openbsd.org
|
||||
WWW: https://www.openbsd.org/"
|
||||
DESCRIPTION
|
||||
"The MIB module exporting OpenBSD memory statistics."
|
||||
REVISION "201202090000Z"
|
||||
DESCRIPTION
|
||||
"Correct problems reported by smilint."
|
||||
REVISION "200812230000Z"
|
||||
DESCRIPTION
|
||||
"Add the OPENBSD-MEM-MIB to snmpd."
|
||||
::= { openBSD 5 }
|
||||
|
||||
--
|
||||
-- Core MIB elements
|
||||
--
|
||||
|
||||
-- memMIBVersion OBJECT IDENTIFIER ::= { memMIBObjects 1 }
|
||||
-- memIfTable OBJECT IDENTIFIER ::= { memMIBObjects 2 }
|
||||
|
||||
--
|
||||
-- MIB details
|
||||
--
|
||||
|
||||
memMIBVersion OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The current version of this MIB supported by the agent.
|
||||
The memory MIB might be updated frequently to export
|
||||
statistics specific to the latest version of OpenBSD.
|
||||
The client should check this version."
|
||||
::= { memMIBObjects 1 }
|
||||
|
||||
memIfTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF MemIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of interface entries. The number of entries is given
|
||||
by the value of ifNumber."
|
||||
::= { memMIBObjects 2 }
|
||||
|
||||
memIfEntry OBJECT-TYPE
|
||||
SYNTAX MemIfEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry containing memory and systems statistics applicable
|
||||
to a particular interface."
|
||||
INDEX { ifIndex }
|
||||
::= { memIfTable 1 }
|
||||
|
||||
MemIfEntry ::= SEQUENCE {
|
||||
memIfName DisplayString,
|
||||
memIfLiveLocks Counter64
|
||||
}
|
||||
|
||||
memIfName OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The textual name of the interface as assigned by the operating
|
||||
system. For example, `lo0' for the first loopback device or
|
||||
`em1' for the second Ethernet device using the `em' driver."
|
||||
::= { memIfEntry 1 }
|
||||
|
||||
memIfLiveLocks OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of times the growth of the interface receive ring
|
||||
was limited as a response to high system load."
|
||||
::= { memIfEntry 2 }
|
||||
|
||||
END
|
1603
mibs/bsd/OPENBSD-PF-MIB
Normal file
1603
mibs/bsd/OPENBSD-PF-MIB
Normal file
File diff suppressed because it is too large
Load Diff
764
mibs/bsd/OPENBSD-RELAYD-MIB
Normal file
764
mibs/bsd/OPENBSD-RELAYD-MIB
Normal file
@ -0,0 +1,764 @@
|
||||
-- $OpenBSD: OPENBSD-RELAYD-MIB.txt,v 1.3 2015/10/15 19:18:01 sthen Exp $
|
||||
--
|
||||
-- Copyright (c) 2014 Bret Stephen Lambert <blambert@openbsd.org>
|
||||
--
|
||||
-- Permission to use, copy, modify, and distribute this software for any
|
||||
-- purpose with or without fee is hereby granted, provided that the above
|
||||
-- copyright notice and this permission notice appear in all copies.
|
||||
--
|
||||
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
--
|
||||
|
||||
OPENBSD-RELAYD-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE,
|
||||
Counter64, Integer32, Gauge32, TimeTicks, enterprises
|
||||
FROM SNMPv2-SMI
|
||||
|
||||
InetAddress, InetAddressType
|
||||
FROM INET-ADDRESS-MIB
|
||||
|
||||
openBSD
|
||||
FROM OPENBSD-BASE-MIB
|
||||
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF;
|
||||
|
||||
relaydMIBObjects MODULE-IDENTITY
|
||||
LAST-UPDATED "201510152116Z"
|
||||
ORGANIZATION "OpenBSD"
|
||||
CONTACT-INFO ""
|
||||
DESCRIPTION "The MIB module for gathering relayd status information"
|
||||
REVISION "201510152116Z"
|
||||
DESCRIPTION "Add missing comma, and missing range restriction for
|
||||
relaydSessionRelayIndex"
|
||||
REVISION "201510140000Z"
|
||||
DESCRIPTION "Correct typo in MODULE ID descriptor and OID value"
|
||||
REVISION "201403120000Z"
|
||||
DESCRIPTION "MIB describing relayd(8) information"
|
||||
::= { openBSD 3 }
|
||||
|
||||
relaydInfo OBJECT IDENTIFIER ::= { relaydMIBObjects 2 }
|
||||
|
||||
--
|
||||
-- "show redirects"
|
||||
--
|
||||
|
||||
relaydRedirects OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF RelaydRedirectEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of configured redirections"
|
||||
::= { relaydInfo 1 }
|
||||
|
||||
relaydRedirectEntry OBJECT-TYPE
|
||||
SYNTAX RelaydRedirectEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry describing a configured redirection"
|
||||
INDEX { relaydRedirectIndex }
|
||||
::= { relaydRedirects 1 }
|
||||
|
||||
RelaydRedirectEntry ::=
|
||||
SEQUENCE {
|
||||
relaydRedirectIndex Integer32,
|
||||
relaydRedirectStatus INTEGER,
|
||||
relaydRedirectName OCTET STRING,
|
||||
relaydRedirectCnt Counter64,
|
||||
relaydRedirectAvg Gauge32,
|
||||
relaydRedirectLast Gauge32,
|
||||
relaydRedirectAvgHour Gauge32,
|
||||
relaydRedirectLastHour Gauge32,
|
||||
relaydRedirectAvgDay Gauge32,
|
||||
relaydRedirectLastDay Gauge32
|
||||
}
|
||||
|
||||
relaydRedirectIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each redirection"
|
||||
::= { relaydRedirectEntry 1 }
|
||||
|
||||
relaydRedirectStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { active(0), disabled(1), down(2), backup(3) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Denotes whether the redirection is active, administively disabled, down,
|
||||
or configured as a backup"
|
||||
::= { relaydRedirectEntry 2 }
|
||||
|
||||
relaydRedirectName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the redirection"
|
||||
::= { relaydRedirectEntry 3 }
|
||||
|
||||
relaydRedirectCnt OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this redirect"
|
||||
::= { relaydRedirectEntry 4 }
|
||||
|
||||
relaydRedirectAvg OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Average number of packets passed via this redirect per statistics interval"
|
||||
::= { relaydRedirectEntry 5 }
|
||||
|
||||
relaydRedirectLast OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this redirect in the current statistics interval"
|
||||
::= { relaydRedirectEntry 6 }
|
||||
|
||||
relaydRedirectAvgHour OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Average number of packets passed via this redirect per hour"
|
||||
::= { relaydRedirectEntry 7 }
|
||||
|
||||
relaydRedirectLastHour OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this redirect in the previous hour"
|
||||
::= { relaydRedirectEntry 8 }
|
||||
|
||||
relaydRedirectAvgDay OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Average number of packets passed via this redirect per day"
|
||||
::= { relaydRedirectEntry 9 }
|
||||
|
||||
relaydRedirectLastDay OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this redirect in the previous day"
|
||||
::= { relaydRedirectEntry 10 }
|
||||
|
||||
--
|
||||
-- "show relays"
|
||||
--
|
||||
|
||||
relaydRelays OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF RelaydRelayEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of configured relays"
|
||||
::= { relaydInfo 2 }
|
||||
|
||||
relaydRelayEntry OBJECT-TYPE
|
||||
SYNTAX RelaydRelayEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry describing a configured relay"
|
||||
INDEX { relaydRelayIndex }
|
||||
::= { relaydRelays 1 }
|
||||
|
||||
RelaydRelayEntry ::=
|
||||
SEQUENCE {
|
||||
relaydRelayIndex Integer32,
|
||||
relaydRelayStatus INTEGER,
|
||||
relaydRelayName OCTET STRING,
|
||||
relaydRelayCnt Counter64,
|
||||
relaydRelayAvg Gauge32,
|
||||
relaydRelayLast Gauge32,
|
||||
relaydRelayAvgHour Gauge32,
|
||||
relaydRelayLastHour Gauge32,
|
||||
relaydRelayAvgDay Gauge32,
|
||||
relaydRelayLastDay Gauge32
|
||||
}
|
||||
|
||||
relaydRelayIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each relay"
|
||||
::= { relaydRelayEntry 1 }
|
||||
|
||||
relaydRelayStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { active(0), disabled(1) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether the relay is active or administratively disabled"
|
||||
::= { relaydRelayEntry 2 }
|
||||
|
||||
relaydRelayName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the relay"
|
||||
::= { relaydRelayEntry 3 }
|
||||
|
||||
relaydRelayCnt OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this relay"
|
||||
::= { relaydRelayEntry 4 }
|
||||
|
||||
relaydRelayAvg OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Average number of packets passed via this relay per statistics interval"
|
||||
::= { relaydRelayEntry 5 }
|
||||
|
||||
relaydRelayLast OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this relay in the current statistics interval"
|
||||
::= { relaydRelayEntry 6 }
|
||||
|
||||
relaydRelayAvgHour OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Average number of packets passed via this relay per hour"
|
||||
::= { relaydRelayEntry 7 }
|
||||
|
||||
relaydRelayLastHour OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this relay in the previous hour"
|
||||
::= { relaydRelayEntry 8 }
|
||||
|
||||
relaydRelayAvgDay OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Average number of packets passed via this relay per day"
|
||||
::= { relaydRelayEntry 9 }
|
||||
|
||||
relaydRelayLastDay OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of packets passed via this relay in the previous day"
|
||||
::= { relaydRelayEntry 10 }
|
||||
|
||||
--
|
||||
-- "show routers"
|
||||
--
|
||||
|
||||
relaydRouters OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF RelaydRouterEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of configured routers"
|
||||
::= { relaydInfo 3 }
|
||||
|
||||
relaydRouterEntry OBJECT-TYPE
|
||||
SYNTAX RelaydRouterEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry describing the configured router"
|
||||
INDEX {relaydRouterIndex }
|
||||
::= { relaydRouters 1 }
|
||||
|
||||
RelaydRouterEntry ::=
|
||||
SEQUENCE {
|
||||
relaydRouterIndex Integer32,
|
||||
relaydRouterTableIndex Integer32,
|
||||
relaydRouterStatus INTEGER,
|
||||
relaydRouterName OCTET STRING,
|
||||
relaydRouterLabel OCTET STRING,
|
||||
relaydRouterRtable INTEGER
|
||||
}
|
||||
|
||||
relaydRouterIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each router"
|
||||
::= { relaydRouterEntry 1 }
|
||||
|
||||
relaydRouterTableIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index of the Table entry under relaydTables which corresponds to this Router"
|
||||
::= { relaydRouterEntry 2 }
|
||||
|
||||
relaydRouterStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { active(0), disabled(1) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether the Router is active or administratively disabled"
|
||||
::= { relaydRouterEntry 3 }
|
||||
|
||||
relaydRouterName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of the Router"
|
||||
::= { relaydRouterEntry 4 }
|
||||
|
||||
relaydRouterLabel OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The PF label, if any, associated with this Router"
|
||||
::= { relaydRouterEntry 5 }
|
||||
|
||||
relaydRouterRtable OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Rtable number associated with this Router"
|
||||
::= { relaydRouterEntry 6 }
|
||||
|
||||
--
|
||||
-- routing table entries connected to "router" objects
|
||||
--
|
||||
relaydNetRoutes OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF RelaydNetRouteEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of configured network routes"
|
||||
::= { relaydInfo 4 }
|
||||
|
||||
relaydNetRouteEntry OBJECT-TYPE
|
||||
SYNTAX RelaydNetRouteEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry describing the configured network route"
|
||||
INDEX { relaydNetRouteIndex }
|
||||
::= { relaydNetRoutes 1 }
|
||||
|
||||
RelaydNetRouteEntry ::=
|
||||
SEQUENCE {
|
||||
relaydNetRouteIndex Integer32,
|
||||
relaydNetRouteAddr InetAddress,
|
||||
relaydNetRouteAddrType InetAddressType,
|
||||
relaydNetRoutePrefixLen INTEGER,
|
||||
relaydNetRouteRouterIndex Integer32
|
||||
}
|
||||
|
||||
relaydNetRouteIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each NetRoute"
|
||||
::= { relaydNetRouteEntry 1 }
|
||||
|
||||
relaydNetRouteAddr OBJECT-TYPE
|
||||
SYNTAX InetAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Network address portion of NetRoute"
|
||||
::= { relaydNetRouteEntry 2 }
|
||||
|
||||
relaydNetRouteAddrType OBJECT-TYPE
|
||||
SYNTAX InetAddressType
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Address family of NetRoute"
|
||||
::= { relaydNetRouteEntry 3 }
|
||||
|
||||
relaydNetRoutePrefixLen OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Length of address prefix of NetRoute"
|
||||
::= { relaydNetRouteEntry 4 }
|
||||
|
||||
relaydNetRouteRouterIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The index of the Router to which this NetRoute belongs"
|
||||
::= { relaydNetRouteEntry 5 }
|
||||
|
||||
--
|
||||
-- "show hosts"
|
||||
--
|
||||
|
||||
relaydHosts OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF RelaydHostEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of configured Host entries"
|
||||
::= { relaydInfo 5 }
|
||||
|
||||
relaydHostEntry OBJECT-TYPE
|
||||
SYNTAX RelaydHostEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry describing the configured Host"
|
||||
INDEX { relaydHostIndex }
|
||||
::= { relaydHosts 1 }
|
||||
|
||||
RelaydHostEntry ::=
|
||||
SEQUENCE {
|
||||
relaydHostIndex Integer32,
|
||||
relaydHostParentIndex Integer32,
|
||||
relaydHostTableIndex Integer32,
|
||||
relaydHostName OCTET STRING,
|
||||
relaydHostAddress InetAddress,
|
||||
relaydHostAddressType InetAddressType,
|
||||
relaydHostStatus INTEGER,
|
||||
relaydHostCheckCnt Counter64,
|
||||
relaydHostUpCnt Counter64,
|
||||
relaydHostErrno INTEGER
|
||||
}
|
||||
|
||||
relaydHostIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each Host"
|
||||
::= { relaydHostEntry 1 }
|
||||
|
||||
relaydHostParentIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index of Host, if any, from which up/down state is inherited"
|
||||
::= { relaydHostEntry 2 }
|
||||
|
||||
relaydHostTableIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Index of the Table to which this Host belongs"
|
||||
::= { relaydHostEntry 3 }
|
||||
|
||||
relaydHostName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name for Host"
|
||||
::= { relaydHostEntry 4 }
|
||||
|
||||
relaydHostAddress OBJECT-TYPE
|
||||
SYNTAX InetAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Internet address for Host"
|
||||
::= { relaydHostEntry 5 }
|
||||
|
||||
relaydHostAddressType OBJECT-TYPE
|
||||
SYNTAX InetAddressType
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"IP address version for Host"
|
||||
::= { relaydHostEntry 6 }
|
||||
|
||||
relaydHostStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { up(0), disabled(1), down(2), unknown(3) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Availability of Host"
|
||||
::= { relaydHostEntry 7 }
|
||||
|
||||
relaydHostCheckCnt OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of times the status of Host has been checked"
|
||||
::= { relaydHostEntry 8 }
|
||||
|
||||
relaydHostUpCnt OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of status checks for Host in which host has been up"
|
||||
::= { relaydHostEntry 9 }
|
||||
|
||||
relaydHostErrno OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
none(0),
|
||||
abort(1),
|
||||
intervalTimeout(2),
|
||||
icmpOk(3),
|
||||
icmpReadTimeout(4),
|
||||
icmpWriteTimeout(5),
|
||||
tcpSocketError(6),
|
||||
tcpSocketLimit(7),
|
||||
tcpSocketOption(8),
|
||||
tcpConnectFail(9),
|
||||
tcpConnectTimeout(10),
|
||||
tcpConnectOk(11),
|
||||
tcpWriteTimeout(12),
|
||||
tcpWriteFail(13),
|
||||
tcpReadTimeout(14),
|
||||
tcpReadFail(15),
|
||||
scriptOk(16),
|
||||
scriptFail(17),
|
||||
sslConnectError(18),
|
||||
sslConnectFail(19),
|
||||
sslConnectOk(20),
|
||||
sslConnectTimeout(21),
|
||||
sslReadTimeout(22),
|
||||
sslWriteTimeout(23),
|
||||
sslReadError(24),
|
||||
sslWriteError(25),
|
||||
sendExpectFail(26),
|
||||
sendExpectOk(27),
|
||||
httpCodeError(28),
|
||||
httpCodeFail(29),
|
||||
httpCodeOk(30),
|
||||
httpDigestError(31),
|
||||
httpDigestFail(32),
|
||||
httpDigestOk(33)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Error number for Host"
|
||||
::= { relaydHostEntry 10 }
|
||||
|
||||
--
|
||||
-- "show sessions"
|
||||
--
|
||||
|
||||
relaydSessions OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF RelaydSessionEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of active Sessions"
|
||||
::= { relaydInfo 6 }
|
||||
|
||||
relaydSessionEntry OBJECT-TYPE
|
||||
SYNTAX RelaydSessionEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry describing the active Session"
|
||||
INDEX { relaydSessionRelayIndex,
|
||||
relaydSessionIndex }
|
||||
::= { relaydSessions 1 }
|
||||
|
||||
RelaydSessionEntry ::=
|
||||
SEQUENCE {
|
||||
relaydSessionIndex Integer32,
|
||||
relaydSessionRelayIndex Integer32,
|
||||
relaydSessionInAddr InetAddress,
|
||||
relaydSessionInAddrType InetAddressType,
|
||||
relaydSessionOutAddr InetAddress,
|
||||
relaydSessionOutAddrType InetAddressType,
|
||||
relaydSessionPortIn INTEGER,
|
||||
relaydSessionPortOut INTEGER,
|
||||
relaydSessionAge TimeTicks,
|
||||
relaydSessionIdle TimeTicks,
|
||||
relaydSessionStatus INTEGER,
|
||||
relaydSessionPid INTEGER
|
||||
}
|
||||
|
||||
relaydSessionIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each Session"
|
||||
::= { relaydSessionEntry 1 }
|
||||
|
||||
relaydSessionRelayIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The index of the Relay to which this Session belongs"
|
||||
::= { relaydSessionEntry 2 }
|
||||
|
||||
relaydSessionInAddr OBJECT-TYPE
|
||||
SYNTAX InetAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Incoming address of this Session"
|
||||
::= { relaydSessionEntry 3 }
|
||||
|
||||
relaydSessionInAddrType OBJECT-TYPE
|
||||
SYNTAX InetAddressType
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Incoming address family of this Session"
|
||||
::= { relaydSessionEntry 4 }
|
||||
|
||||
relaydSessionOutAddr OBJECT-TYPE
|
||||
SYNTAX InetAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Outgoing address of this Session"
|
||||
::= { relaydSessionEntry 5 }
|
||||
|
||||
relaydSessionOutAddrType OBJECT-TYPE
|
||||
SYNTAX InetAddressType
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Outgoing address family of this Session"
|
||||
::= { relaydSessionEntry 6 }
|
||||
|
||||
relaydSessionPortIn OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Incoming port of this Session"
|
||||
::= { relaydSessionEntry 7 }
|
||||
|
||||
relaydSessionPortOut OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Outgoing port of this Session"
|
||||
::= { relaydSessionEntry 8 }
|
||||
|
||||
relaydSessionAge OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Age of this Session"
|
||||
::= { relaydSessionEntry 9 }
|
||||
|
||||
relaydSessionIdle OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Idle time of this Session"
|
||||
::= { relaydSessionEntry 10 }
|
||||
|
||||
relaydSessionStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { running(0), done(1) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Status of this Session"
|
||||
::= { relaydSessionEntry 11 }
|
||||
|
||||
relaydSessionPid OBJECT-TYPE
|
||||
SYNTAX INTEGER
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Process ID of process which is handling this Session"
|
||||
::= { relaydSessionEntry 12 }
|
||||
|
||||
--
|
||||
-- referenced via the "show" commands
|
||||
--
|
||||
relaydTables OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF RelaydTableEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of configured host tables"
|
||||
::= { relaydInfo 7 }
|
||||
|
||||
relaydTableEntry OBJECT-TYPE
|
||||
SYNTAX RelaydTableEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry describing the host table"
|
||||
INDEX { relaydTableIndex }
|
||||
::= { relaydTables 1 }
|
||||
|
||||
RelaydTableEntry ::=
|
||||
SEQUENCE {
|
||||
relaydTableIndex Integer32,
|
||||
relaydTableName OCTET STRING,
|
||||
relaydTableStatus INTEGER
|
||||
}
|
||||
|
||||
relaydTableIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each table"
|
||||
::= { relaydTableEntry 1 }
|
||||
|
||||
relaydTableName OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the table"
|
||||
::= { relaydTableEntry 2 }
|
||||
|
||||
relaydTableStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER { active(0), empty(1), disabled(2) }
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates the state of use of the table"
|
||||
::= { relaydTableEntry 3 }
|
||||
|
||||
END
|
190
mibs/bsd/OPENBSD-SENSORS-MIB
Normal file
190
mibs/bsd/OPENBSD-SENSORS-MIB
Normal file
@ -0,0 +1,190 @@
|
||||
-- $OpenBSD: OPENBSD-SENSORS-MIB.txt,v 1.7 2018/12/10 13:35:54 landry Exp $
|
||||
--
|
||||
-- Copyright (c) 2006-2007 Joel Knight <knight.joel@gmail.com>
|
||||
--
|
||||
-- Permission to use, copy, modify, and distribute this document for any
|
||||
-- purpose with or without fee is hereby granted, provided that the above
|
||||
-- copyright notice and this permission notice appear in all copies.
|
||||
--
|
||||
-- THE DOCUMENT IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
-- WITH REGARD TO THIS DOCUMENT INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS DOCUMENT.
|
||||
|
||||
OPENBSD-SENSORS-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE,
|
||||
Integer32, Unsigned32, TimeTicks, enterprises
|
||||
FROM SNMPv2-SMI
|
||||
openBSD
|
||||
FROM OPENBSD-BASE-MIB
|
||||
MODULE-COMPLIANCE, OBJECT-GROUP
|
||||
FROM SNMPv2-CONF;
|
||||
|
||||
sensorsMIBObjects MODULE-IDENTITY
|
||||
LAST-UPDATED "201812100000Z"
|
||||
ORGANIZATION "OpenBSD"
|
||||
CONTACT-INFO
|
||||
"Editor: Reyk Floeter
|
||||
EMail: reyk@openbsd.org
|
||||
WWW: https://www.openbsd.org/
|
||||
|
||||
Editor: Joel Knight
|
||||
EMail: knight.joel@gmail.com
|
||||
WWW: http://www.packetmischief.ca/openbsd-snmp-mibs/"
|
||||
DESCRIPTION
|
||||
"The MIB module for gathering information from
|
||||
OpenBSD's kernel sensor framework."
|
||||
REVISION "201812100000Z"
|
||||
DESCRIPTION
|
||||
"Add new sensor types."
|
||||
REVISION "201209200000Z"
|
||||
DESCRIPTION
|
||||
"Add new sensor types."
|
||||
REVISION "201201310000Z"
|
||||
DESCRIPTION
|
||||
"Update email address."
|
||||
REVISION "200812230000Z"
|
||||
DESCRIPTION
|
||||
"Updated for MIB for the OpenBSD snmpd(8) implementation."
|
||||
::= { openBSD 2 }
|
||||
|
||||
--
|
||||
-- Define the sections of the MIB
|
||||
--
|
||||
|
||||
sensors OBJECT IDENTIFIER ::= { sensorsMIBObjects 1 }
|
||||
|
||||
--
|
||||
-- MIB definitions
|
||||
--
|
||||
|
||||
sensorNumber OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of sensors present on this system."
|
||||
::= { sensors 1 }
|
||||
|
||||
sensorTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF SensorEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of individual sensors. The number of entries is
|
||||
given by the value of sensorNumber."
|
||||
::= { sensors 2 }
|
||||
|
||||
sensorEntry OBJECT-TYPE
|
||||
SYNTAX SensorEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry containing management information applicable to a
|
||||
particular sensor."
|
||||
INDEX { sensorIndex }
|
||||
::= { sensorTable 1 }
|
||||
|
||||
SensorEntry ::= SEQUENCE {
|
||||
sensorIndex Integer32,
|
||||
sensorDescr OCTET STRING,
|
||||
sensorType INTEGER,
|
||||
sensorDevice OCTET STRING,
|
||||
sensorValue OCTET STRING,
|
||||
sensorUnits OCTET STRING,
|
||||
sensorStatus INTEGER
|
||||
}
|
||||
|
||||
sensorIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A unique value, greater than zero, for each sensor."
|
||||
::= { sensorEntry 1 }
|
||||
|
||||
sensorDescr OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A description of the sensor indicating what information the
|
||||
sensor is monitoring."
|
||||
::= { sensorEntry 2 }
|
||||
|
||||
sensorType OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
temperature(0),
|
||||
fan(1),
|
||||
voltsdc(2),
|
||||
voltsac(3),
|
||||
resistance(4),
|
||||
power(5),
|
||||
current(6),
|
||||
watthour(7),
|
||||
amphour(8),
|
||||
indicator(9),
|
||||
raw(10),
|
||||
percent(11),
|
||||
illuminance(12),
|
||||
drive(13),
|
||||
timedelta(14),
|
||||
humidity(15),
|
||||
freq(16),
|
||||
angle(17),
|
||||
distance(18),
|
||||
pressure(19),
|
||||
accel(20),
|
||||
velocity(21)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates the type of sensor."
|
||||
::= { sensorEntry 3 }
|
||||
|
||||
sensorDevice OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of the sensor driver that provides the sensor."
|
||||
::= { sensorEntry 4 }
|
||||
|
||||
sensorValue OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The value the sensor is currently reporting."
|
||||
::= { sensorEntry 5 }
|
||||
|
||||
sensorUnits OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The units that the sensor reports in."
|
||||
::= { sensorEntry 6 }
|
||||
|
||||
sensorStatus OBJECT-TYPE
|
||||
SYNTAX INTEGER {
|
||||
unspecified(0),
|
||||
ok(1),
|
||||
warn(2),
|
||||
critical(3),
|
||||
unknown(4)
|
||||
}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Indicates whether the sensor value is within an acceptable
|
||||
range."
|
||||
::= { sensorEntry 7 }
|
||||
|
||||
END
|
89
mibs/bsd/OPENBSD-SNMPD-CONF
Normal file
89
mibs/bsd/OPENBSD-SNMPD-CONF
Normal file
@ -0,0 +1,89 @@
|
||||
-- $OpenBSD: OPENBSD-SNMPD-CONF.txt,v 1.6 2016/01/30 23:06:27 sthen Exp $
|
||||
--
|
||||
-- Copyright (c) 2008 Reyk Floeter <reyk@openbsd.org>
|
||||
--
|
||||
-- Permission to use, copy, modify, and distribute this document for any
|
||||
-- purpose with or without fee is hereby granted, provided that the above
|
||||
-- copyright notice and this permission notice appear in all copies.
|
||||
--
|
||||
-- THE DOCUMENT IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
-- WITH REGARD TO THIS DOCUMENT INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS DOCUMENT.
|
||||
|
||||
OPENBSD-SNMPD-CONF DEFINITIONS ::= BEGIN
|
||||
|
||||
--
|
||||
-- This file lists all the MIBs that OpenBSD snmpd(8) implements at
|
||||
-- present. Non-OpenBSD MIB files are not included in this distribution.
|
||||
--
|
||||
|
||||
IMPORTS
|
||||
-- Management Information Base (MIB) for the Simple Network
|
||||
-- Management Protocol (SNMPv2), RFC 3418, December 2002
|
||||
snmpMIB
|
||||
FROM SNMPv2-MIB
|
||||
|
||||
-- IANA ifTypes MIB, http://www.iana.org/assignments/ianaiftype-mib
|
||||
ianaifType
|
||||
FROM IANAifType-MIB
|
||||
|
||||
-- The Interface Group MIB, RFC 2863, June 2000
|
||||
ifMIB
|
||||
FROM IF-MIB
|
||||
|
||||
-- Definitions of Managed Objects for Bridges, RFC 4188,
|
||||
-- September 2005
|
||||
dot1dBridge
|
||||
FROM BRIDGE-MIB
|
||||
|
||||
-- Textual Conventions for Internet Network Addresses,
|
||||
-- RFC 4001, February 2005
|
||||
inetAddressMIB
|
||||
FROM INET-ADDRESS-MIB
|
||||
|
||||
-- Management Information Base for the Internet Protocol
|
||||
-- (IP), RFC 4293, April 2006
|
||||
ipMIB
|
||||
FROM IP-MIB
|
||||
|
||||
-- IP Forwarding MIB, RFC 4292, April 2006
|
||||
ipForward
|
||||
FROM IP-FORWARD-MIB
|
||||
|
||||
-- Host Resources MIB, RFC 2790, March 2000
|
||||
hostResourcesMibModule
|
||||
FROM HOST-RESOURCES-MIB
|
||||
|
||||
--
|
||||
-- OpenBSD-specific MIBs
|
||||
--
|
||||
|
||||
-- Base MIB, OPENBSD-BASE-MIB.txt, OpenBSD 4.3
|
||||
openBSD
|
||||
FROM OPENBSD-BASE-MIB
|
||||
|
||||
-- pf(4) statistics MIB, OPENBSD-PF-MIB.txt
|
||||
pfMIBObjects
|
||||
FROM OPENBSD-PF-MIB
|
||||
|
||||
-- Kernel sensors MIB, OPENBSD-SENSORS-MIB.txt, OpenBSD 4.3
|
||||
sensorsMIBObjects
|
||||
FROM OPENBSD-SENSORS-MIB
|
||||
|
||||
-- relayd(8) status MIB, OPENBSD-RELAYD-MIB.txt
|
||||
relaydMIBObjects
|
||||
FROM OPENBSD-RELAYD-MIB
|
||||
|
||||
-- Memory statistics MIB, OPENBSD-MEM-MIB.txt, OpenBSD 4.5
|
||||
memMIBObjects
|
||||
FROM OPENBSD-MEM-MIB
|
||||
|
||||
-- CARP interface & statistics MIB, OPENBSD-CARP-MIB.txt
|
||||
carpMIBObjects
|
||||
FROM OPENBSD-CARP-MIB;
|
||||
|
||||
END
|
Reference in New Issue
Block a user