diff options
| author | Stef Walter <stef@memberwebs.com> | 2009-10-24 16:34:22 +0000 | 
|---|---|---|
| committer | Stef Walter <stef@memberwebs.com> | 2009-10-24 16:34:22 +0000 | 
| commit | fc9ee15902d0dc811bb56d65179c93231f05403c (patch) | |
| tree | 22a7d90e0daa97e5d9828d4df83861be09dfaa3a /mibs | |
| parent | 97e97c0b6f86079d57e6bdf1190fa0555a53eb20 (diff) | |
Add more MIB files from FreeBSD and BSNMP
Diffstat (limited to 'mibs')
| -rw-r--r-- | mibs/BEGEMOT-ATM-FREEBSD-MIB.txt | 99 | ||||
| -rw-r--r-- | mibs/BEGEMOT-BRIDGE-MIB.txt | 1166 | ||||
| -rw-r--r-- | mibs/BEGEMOT-HOSTRES-MIB.txt | 125 | ||||
| -rw-r--r-- | mibs/BEGEMOT-IP-MIB.txt | 61 | ||||
| -rw-r--r-- | mibs/BEGEMOT-MIB2-MIB.txt | 90 | ||||
| -rw-r--r-- | mibs/BEGEMOT-NTP-MIB.txt | 144 | ||||
| -rw-r--r-- | mibs/BEGEMOT-PF-MIB.txt | 1230 | ||||
| -rw-r--r-- | mibs/BEGEMOT-SNMPD.txt | 569 | ||||
| -rw-r--r-- | mibs/FREEBSD-MIB.txt | 79 | ||||
| -rw-r--r-- | mibs/NTP-MIB.txt | 627 | ||||
| -rw-r--r-- | mibs/NTP-PROXY-MIB.txt | 616 | ||||
| -rw-r--r-- | mibs/RSTP-MIB.txt | 325 | 
12 files changed, 5131 insertions, 0 deletions
| diff --git a/mibs/BEGEMOT-ATM-FREEBSD-MIB.txt b/mibs/BEGEMOT-ATM-FREEBSD-MIB.txt new file mode 100644 index 0000000..7122c12 --- /dev/null +++ b/mibs/BEGEMOT-ATM-FREEBSD-MIB.txt @@ -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: src/usr.sbin/bsnmpd/modules/snmp_atm/BEGEMOT-ATM-FREEBSD-MIB.txt,v 1.1.26.1 2009/08/03 08:13:06 kensmith Exp $ +-- +-- 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 diff --git a/mibs/BEGEMOT-BRIDGE-MIB.txt b/mibs/BEGEMOT-BRIDGE-MIB.txt new file mode 100644 index 0000000..a0c0e85 --- /dev/null +++ b/mibs/BEGEMOT-BRIDGE-MIB.txt @@ -0,0 +1,1166 @@ +-- +-- Copyright (C) 2006 Shteryana Shopova <syrinx@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 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: src/usr.sbin/bsnmpd/modules/snmp_bridge/BEGEMOT-BRIDGE-MIB.txt,v 1.3.10.1 2009/08/03 08:13:06 kensmith Exp $ +-- + +BEGEMOT-BRIDGE-MIB DEFINITIONS ::= BEGIN + +IMPORTS +    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, +    Counter32, Integer32, TimeTicks, mib-2 +	FROM SNMPv2-SMI +    TEXTUAL-CONVENTION, MacAddress, TruthValue, RowStatus +	FROM SNMPv2-TC +    BridgeId, Timeout +	FROM BRIDGE-MIB +    InterfaceIndex FROM IF-MIB +    begemot +	FROM BEGEMOT-MIB; + +begemotBridge MODULE-IDENTITY +    LAST-UPDATED "200708060000Z" +    ORGANIZATION "Sofia University St. Kliment Ohridski" +    CONTACT-INFO +	    "		Shteryana Shopova + +	     Postal:	Faculty of Mathematics and Informatics +			5 James Bourchier Blvd. +			1164 Sofia +			Bulgaria + +	     Fax:	+359 2 687 180 + +	     E-Mail:	syrinx@FreeBSD.org" +    DESCRIPTION +	    "The Begemot MIB for managing bridge interfaces." +    REVISION     "200708060000Z" +    DESCRIPTION +	     "Third revision adds begemotBridgeBasePortPrivate +	     object." +    REVISION     "200611210000Z" +    DESCRIPTION +	     "Second revision adds support for monitoring RSTP +	     specific variables." +    REVISION     "200607270000Z" +    DESCRIPTION +	    "Initial revision." +    ::= { begemot 205 } + +-- ---------------------------------------------------------- -- +BridgeIfName ::= TEXTUAL-CONVENTION +    DISPLAY-HINT "16a" +    STATUS	current +    DESCRIPTION +	"Name of a bridge interface." +    SYNTAX	OCTET STRING (SIZE(1..16)) + +BridgeIfNameOrEmpty ::= TEXTUAL-CONVENTION +    DISPLAY-HINT "16a" +    STATUS	current +    DESCRIPTION +	"Name of a bridge interface." +    SYNTAX	OCTET STRING (SIZE(0..16)) + +BridgePortId ::= TEXTUAL-CONVENTION +    DISPLAY-HINT "1x.1x" +    STATUS	current +    DESCRIPTION +	"A port identifier that contains a bridge port's STP priority +	in the first octet and the port number in the second octet." +    SYNTAX	OCTET STRING (SIZE(2)) + +-- ---------------------------------------------------------- -- +-- subtrees in the Begemot Bridge MIB +-- ---------------------------------------------------------- -- +begemotBridgeNotifications	OBJECT IDENTIFIER ::= { begemotBridge 0 } + +begemotBridgeBase		OBJECT IDENTIFIER ::= { begemotBridge 1 } + +begemotBridgeStp		OBJECT IDENTIFIER ::= { begemotBridge 2 } + +begemotBridgeTp			OBJECT IDENTIFIER ::= { begemotBridge 3 } + +begemotBridgePf			OBJECT IDENTIFIER ::= { begemotBridge 4 } + +begemotBridgeConfigObjects	OBJECT IDENTIFIER ::= { begemotBridge 5 } + +-- ---------------------------------------------------------- -- +-- the base Bridge interface table +-- ---------------------------------------------------------- -- + +begemotBridgeBaseTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeBaseEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table that contains generic information for each +	bridge interface on the managed device." +    ::= { begemotBridgeBase 1 } + +begemotBridgeBaseEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeBaseEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A list of information for the bridge interfaces on +	the managed device." +    INDEX  { begemotBridgeBaseName } +    ::= { begemotBridgeBaseTable 1 } + +BegemotBridgeBaseEntry ::= SEQUENCE { +    begemotBridgeBaseName			BridgeIfName, +    begemotBridgeBaseAddress			MacAddress, +    begemotBridgeBaseNumPorts			Integer32, +    begemotBridgeBaseType			INTEGER, +    begemotBridgeBaseStatus			RowStatus +} + +begemotBridgeBaseName OBJECT-TYPE +    SYNTAX	BridgeIfName +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The name of the bridge interface for which this +	entry contains management information." +    ::= { begemotBridgeBaseEntry 1 } + +begemotBridgeBaseAddress OBJECT-TYPE +    SYNTAX	MacAddress +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The MAC address of the bridge interface." +    ::= { begemotBridgeBaseEntry 2 } + +begemotBridgeBaseNumPorts OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of ports, members of this bridge." +    ::= { begemotBridgeBaseEntry 3 } + +begemotBridgeBaseType OBJECT-TYPE +    SYNTAX	INTEGER { +		    unknown(1), +		    transparent-only(2), +		    sourceroute-only(3), +		    srt(4) +		} +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Indicates what type of bridging this bridge can +	perform." +    ::= { begemotBridgeBaseEntry 4 } + +begemotBridgeBaseStatus OBJECT-TYPE +    SYNTAX	RowStatus +    MAX-ACCESS	read-create +    STATUS	current +    DESCRIPTION +	"Used to create/destroy bridge interfaces on the +	managed device." +    ::= { begemotBridgeBaseEntry 5 } + +-- ---------------------------------------------------------- -- +-- the base Bridge ports table +-- ---------------------------------------------------------- -- + +begemotBridgeBasePortTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeBasePortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table containing generic information about ports, +	members of each bridge interface." +    ::= { begemotBridgeBase 2 } + +begemotBridgeBasePortEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeBasePortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A list of information about a specific port, member of +	a bridge interface." +    INDEX { begemotBridgeBaseName, begemotBridgeBasePortIfIndex } +    ::= { begemotBridgeBasePortTable 1 } + +BegemotBridgeBasePortEntry  ::= SEQUENCE { +    begemotBridgeBasePort			Integer32, +    begemotBridgeBasePortIfIndex		InterfaceIndex, +    begemotBridgeBaseSpanEnabled		INTEGER, +    begemotBridgeBasePortDelayExceededDiscards	Counter32, +    begemotBridgeBasePortMtuExceededDiscards	Counter32, +    begemotBridgeBasePortStatus			RowStatus, +    begemotBridgeBasePortPrivate		TruthValue +} + +begemotBridgeBasePort OBJECT-TYPE +    SYNTAX	Integer32 (1..65535) +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The system interface index of the interface corresponding +	to this port." +    ::= { begemotBridgeBasePortEntry 1 } + +begemotBridgeBasePortIfIndex OBJECT-TYPE +    SYNTAX	InterfaceIndex +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The value of the instance of the ifIndex object, +	defined in IF-MIB, for the interface corresponding +	to this port." +    ::= { begemotBridgeBasePortEntry 2 } + +begemotBridgeBaseSpanEnabled OBJECT-TYPE +    SYNTAX	INTEGER { +		    enabled(1), +		    disabled(2) +		} +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The value of this objects reflects whether the port +	is a span port on the specified bridge interface." +    ::= { begemotBridgeBasePortEntry 3 } + +begemotBridgeBasePortDelayExceededDiscards OBJECT-TYPE +    SYNTAX	Counter32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of frames discarded by this port due +	to excessive transit delay through the bridge." +    ::= { begemotBridgeBasePortEntry 4 } + +begemotBridgeBasePortMtuExceededDiscards OBJECT-TYPE +    SYNTAX	Counter32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of frames discarded by this port due +	to an excessive size." +    ::= { begemotBridgeBasePortEntry 5 } + +begemotBridgeBasePortStatus OBJECT-TYPE +    SYNTAX	RowStatus +    MAX-ACCESS	read-create +    STATUS	current +    DESCRIPTION +	"Used to control addition of member ports to or +	removal of member ports from a specified bridge." +    ::= { begemotBridgeBasePortEntry 6 } + +begemotBridgeBasePortPrivate OBJECT-TYPE +    SYNTAX		TruthValue +    MAX-ACCESS		read-write +    STATUS		current +    DESCRIPTION +	"The value of this objects reflects whether the port +	has a PRIVATE flag set. A port with this flags set +	can only communicate with ports not having the +	PRIVATE flag set." +    ::= { begemotBridgeBasePortEntry 7 } + +-- ---------------------------------------------------------- -- +-- the Bridge interface STP table +-- ---------------------------------------------------------- -- + +begemotBridgeStpTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeStpEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table that contains Spanning Tree Protocol information +	for each bridge interface on the managed device." +    ::= { begemotBridgeStp 1 } + +begemotBridgeStpEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeStpEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A list of information about the Spanning Tree Protocol +	operation on a bridge interface." +    AUGMENTS { begemotBridgeBaseEntry } +    ::= { begemotBridgeStpTable 1 } + +BegemotBridgeStpEntry ::= SEQUENCE { +    begemotBridgeStpProtocolSpecification		INTEGER, +    begemotBridgeStpPriority				Integer32, +    begemotBridgeStpTimeSinceTopologyChange		TimeTicks, +    begemotBridgeStpTopChanges				Counter32, +    begemotBridgeStpDesignatedRoot			BridgeId, +    begemotBridgeStpRootCost				Integer32, +    begemotBridgeStpRootPort				Integer32, +    begemotBridgeStpMaxAge				Timeout, +    begemotBridgeStpHelloTime				Timeout, +    begemotBridgeStpHoldTime				Integer32, +    begemotBridgeStpForwardDelay			Timeout, +    begemotBridgeStpBridgeMaxAge			Timeout, +    begemotBridgeStpBridgeHelloTime			Timeout, +    begemotBridgeStpBridgeForwardDelay			Timeout, +    begemotBridgeStpVersion				INTEGER, +    begemotBridgeStpTxHoldCount				Integer32 +} + +begemotBridgeStpProtocolSpecification OBJECT-TYPE +    SYNTAX	INTEGER { +		    unknown(1), +		    decLb100(2), +		    ieee8021d(3) +		} +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The Spanning Tree Protocol version being run on the +	bridge interface. The value 'decLb100(2)' indicates the +	DEC LANbridge 100 Spanning Tree protocol, 'ieee8021d(3)' +	indicates the bridge is running IEEE 802.1D STP +	implementation." +    ::= { begemotBridgeStpEntry 1 } + +begemotBridgeStpPriority OBJECT-TYPE +    SYNTAX	Integer32 (0..65535) +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The priority value of the bridge interface forming the +	first two octets of the bridge identifier. Acceptable +	values are 0-61440, in steps of 4096." +    ::= { begemotBridgeStpEntry 2 } + +begemotBridgeStpTimeSinceTopologyChange OBJECT-TYPE +    SYNTAX	TimeTicks +    UNITS	"centi-seconds" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The time (in hundreds of a second) since a topology change +	was last detected by this bridge." +    ::= { begemotBridgeStpEntry 3 } + +begemotBridgeStpTopChanges OBJECT-TYPE +    SYNTAX	Counter32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of times a topology change was detected by the +	bridge interface since the management entity was initialized +	or reset." +    ::= { begemotBridgeStpEntry 4 } + +begemotBridgeStpDesignatedRoot OBJECT-TYPE +    SYNTAX	BridgeId +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The bridge identifier of the root of the spanning tree as +	calculated by the Spanning Tree Protocol." +    ::= { begemotBridgeStpEntry 5 } + +begemotBridgeStpRootCost OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The cost of the path from this bridge to the root bridge." +    ::= { begemotBridgeStpEntry 6 } + +begemotBridgeStpRootPort OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The port number of the port that offers the lowest +	cost path from this bridge to the root bridge of +	the spanning tree. If this bridge is the root bridge, +	this object shall have a value of zero." +    ::= { begemotBridgeStpEntry 7 } + +begemotBridgeStpMaxAge OBJECT-TYPE +    SYNTAX	Timeout +    UNITS	"centi-seconds" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The maximum age of Spanning Tree Protocol information +	received from the network on any port, before that +	information is discarded. This is the actual value that +	the bridge is currently using." +    ::= { begemotBridgeStpEntry 8 } + +begemotBridgeStpHelloTime OBJECT-TYPE +    SYNTAX	Timeout +    UNITS	"centi-seconds" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The amount of time between transmission of +	Configuration BPDUs by this bridge on any port, +	when it is the root of the spanning tree or is +	trying to become so. This is the actual value that +	this bridge is currently using." +    ::= { begemotBridgeStpEntry 9 } + +begemotBridgeStpHoldTime OBJECT-TYPE +    SYNTAX	Integer32 +    UNITS	"centi-seconds" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"This time value determines the interval length +	during which no more than two Configuration BPDUs +	shall be transmitted by this node, in units of +	hundredths of a second." +    ::= { begemotBridgeStpEntry 10 } + +begemotBridgeStpForwardDelay OBJECT-TYPE +    SYNTAX	Timeout +    UNITS	"centi-seconds" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"This value, measured in units of hundredths of a second +	determines how long a port will stay consecutively in the +	Listening and Learning states before transitioning to +	Forwarding state. +	This is the actual value currently used by the bridge +	as opposed to begemotBridgeStpBridgeForwardDelay, which +	is the value this and all bridges participating in the +	spanning tree were to use, if this was the root bridge." +    ::= { begemotBridgeStpEntry 11 } + +begemotBridgeStpBridgeMaxAge OBJECT-TYPE +    SYNTAX	Timeout (600..4000) +    UNITS	"centi-seconds" +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The value that all bridges participating in the +	spanning tree would use for MaxAge if this bridge +	was the root of the spanning tree." +    ::= { begemotBridgeStpEntry 12 } + +begemotBridgeStpBridgeHelloTime OBJECT-TYPE +    SYNTAX	Timeout (100..1000) +    UNITS	"centi-seconds" +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The value that all bridges participating in the +	spanning tree would use for HelloTime if this +	bridge was the root of the spanning tree." +    ::= { begemotBridgeStpEntry 13 } + +begemotBridgeStpBridgeForwardDelay OBJECT-TYPE +    SYNTAX	Timeout (400..3000) +    UNITS	"centi-seconds" +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The value that all bridges participating in the +	spanning tree would use for ForwardDelay if this +	bridge was the root of the spanning tree." +    ::= { begemotBridgeStpEntry 14 } + +begemotBridgeStpVersion OBJECT-TYPE +    SYNTAX	INTEGER { +		    stpCompatible(0), +		    rstp(2) +		} +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The version of Spanning Tree Protocol the bridge is +	currently running.  The value 'stpCompatible(0)' +	indicates the Spanning Tree Protocol specified in +	IEEE 802.1D-1998 and 'rstp(2)' indicates the Rapid +	Spanning Tree Protocol specified in IEEE 802.1w and +	clause 17 of 802.1D-2004.  The values are directly from +	the IEEE standard.  New values may be defined as future +	versions of the protocol become available. + +	The value of this object MUST be retained across +	reinitializations of the management system." +    DEFVAL	{ rstp } +    ::= { begemotBridgeStpEntry 15 } + +begemotBridgeStpTxHoldCount OBJECT-TYPE +    SYNTAX	Integer32 (1..10) +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The value used by the Port Transmit state machine to limit +	the maximum transmission rate of BPDUs on the bridge interface. + +	The value of this object MUST be retained across +	reinitializations of the management system." +    DEFVAL	{ 3 } +    ::= { begemotBridgeStpEntry 16 } + +-- ---------------------------------------------------------- -- +-- the Bridge STP ports table +-- ---------------------------------------------------------- -- + +begemotBridgeStpPortTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeStpPortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table containing Spanning Tree Protocol information +	about the members of each bridge interface." +    ::= { begemotBridgeStp 2 } + +begemotBridgeStpPortEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeStpPortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A list of Spanning Tree Protocol information about +	a specific member of a bridge interface." +    INDEX  { begemotBridgeBaseName,  begemotBridgeBasePortIfIndex } +    ::= { begemotBridgeStpPortTable 1 } + +BegemotBridgeStpPortEntry  ::= SEQUENCE { +    begemotBridgeStpPort			Integer32, +    begemotBridgeStpPortPriority		Integer32, +    begemotBridgeStpPortState			INTEGER, +    begemotBridgeStpPortEnable			INTEGER, +    begemotBridgeStpPortPathCost		Integer32, +    begemotBridgeStpPortDesignatedRoot		BridgeId, +    begemotBridgeStpPortDesignatedCost		Integer32, +    begemotBridgeStpPortDesignatedBridge	BridgeId, +    begemotBridgeStpPortDesignatedPort		BridgePortId, +    begemotBridgeStpPortForwardTransitions	Counter32 +} + +begemotBridgeStpPort OBJECT-TYPE +    SYNTAX	Integer32 (1..65535) +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The system interface index of the interface corresponding +	to this port, for which the management entity has Spanning +	Tree Protocol information." +    ::= { begemotBridgeStpPortEntry 1 } + +begemotBridgeStpPortPriority OBJECT-TYPE +    SYNTAX	Integer32 (0..255) +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The STP priority of this port that is contained in the first +	octet of its Port Identifier. The second octet contains the +	value of begemotBridgeStpPort." +    ::= { begemotBridgeStpPortEntry 2 } + +begemotBridgeStpPortState OBJECT-TYPE +    SYNTAX	INTEGER { +		    disabled(1), +		    blocking(2), +		    listening(3), +		    learning(4), +		    forwarding(5), +		    broken(6) +		} +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The current state of the port as defined by the operation +	of the Spanning Tree Protocol. If the Spanning Tree Protocol +	is administratively disabled on the port, this object shall +	have value disabled(1). A value of broken(6) does not correspond +	to any legal state of a port, and if present should indicate +	error in the operation of either the Spanning Tree Protocol +	implementation running on the device or the management entity." +    ::= { begemotBridgeStpPortEntry 3 } + +begemotBridgeStpPortEnable OBJECT-TYPE +    SYNTAX	INTEGER { +		    enabled(1), +		    disabled(2) +		} +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The administrative Spanning Tree Protocol state of the +	port - value of enabled(1) indicates that the port is +	participating in the Spanning Tree Protocol operation." +    ::= { begemotBridgeStpPortEntry 4 } + +begemotBridgeStpPortPathCost OBJECT-TYPE +    SYNTAX	Integer32 (1..65535) +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The contribution of the path through this port, when the port +	is the Root Port, to the total cost of the path to the root +	bridge for this bridge." +    ::= { begemotBridgeStpPortEntry 5 } + +begemotBridgeStpPortDesignatedRoot OBJECT-TYPE +    SYNTAX	BridgeId +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The unique Bridge Identifier of the bridge recorded as the +	root in the Root Identifier parameter of Configuration BPDUs +	transmitted by the Designated Bridge for the LAN to which +	the port is attached." +    ::= { begemotBridgeStpPortEntry 6 } + +begemotBridgeStpPortDesignatedCost OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"For a Designated port, the path cost (equal to the Root +	Path Cost of the bridge) offered to the LAN to which the +	port is attached otherwise the cost of the path to the Root +	offered by the Designated Port on the LAN to which this +	Port is attached." +    ::= { begemotBridgeStpPortEntry 7 } + +begemotBridgeStpPortDesignatedBridge OBJECT-TYPE +    SYNTAX	BridgeId +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The unique Bridge Identifier of the bridge to which the +	port belongs, in the case when the port is a designated +	port, otherwise the bridge believed to be the Designated +	Bridge for the LAN to which this port is attached." +    ::= { begemotBridgeStpPortEntry 8 } + +begemotBridgeStpPortDesignatedPort OBJECT-TYPE +    SYNTAX	BridgePortId +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The Port Identifier of the Bridge port, on the Designated +	Bridge, through which the Designated Bridge transmits the +	Configuration Message information stored by this port." +    ::= { begemotBridgeStpPortEntry 9 } + +begemotBridgeStpPortForwardTransitions OBJECT-TYPE +    SYNTAX	Counter32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of times this port has transitioned +	from the Learning state to the Forwarding state." +    ::= { begemotBridgeStpPortEntry 10 } + +-- ---------------------------------------------------------- -- +-- the Bridge STP extended ports table +-- ---------------------------------------------------------- -- + +begemotBridgeStpExtPortTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeStpExtPortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table that contains port-specific Rapid Spanning Tree +	information for the bridge interface members." +    ::= { begemotBridgeStp 3 } + +begemotBridgeStpExtPortEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeStpExtPortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A list of Rapid Spanning Tree information maintained by +	each bridge interface member." +    AUGMENTS    { begemotBridgeStpPortEntry } +    ::= { begemotBridgeStpExtPortTable 1 } + +BegemotBridgeStpExtPortEntry ::= SEQUENCE { +    begemotBridgeStpPortProtocolMigration	TruthValue, +    begemotBridgeStpPortAdminEdgePort		TruthValue, +    begemotBridgeStpPortOperEdgePort		TruthValue, +    begemotBridgeStpPortAdminPointToPoint	INTEGER, +    begemotBridgeStpPortOperPointToPoint	TruthValue, +    begemotBridgeStpPortAdminPathCost		Integer32 +} + +begemotBridgeStpPortProtocolMigration OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"When operating in RSTP (version 2) mode, writing true(1) +	to this object forces this port to transmit RSTP BPDUs. +	Any other operation on this object has no effect and +	it always returns false(2) when read." +    ::= { begemotBridgeStpExtPortEntry 1 } + +begemotBridgeStpPortAdminEdgePort OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The administrative value of the Edge Port parameter. A +	value of true(1) indicates that this port should be +	assumed as an edge-port, and a value of false(2) indicates +	that this port should be assumed as a non-edge-port. +	Setting this object will also cause the corresponding +	instance of begemotBridgeStpPortOperEdgePort to change to +	the same value.  Note that even when this object's value +	is true, the value of the corresponding instance of +	begemotBridgeStpPortOperEdgePort can be false if a BPDU +	has been received. + +	The value of this object MUST be retained across +	reinitializations of the management system." +    ::= { begemotBridgeStpExtPortEntry 2 } + +begemotBridgeStpPortOperEdgePort OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The operational value of the Edge Port parameter. The +	object is initialized to the value of the corresponding +	instance of begemotBridgeStpPortAdminEdgePort. When the +	corresponding instance of begemotBridgeStpPortAdminEdgePort +	is set, this object will be changed as well. This object +	will also be changed to false on reception of a BPDU." +    ::= { begemotBridgeStpExtPortEntry 3 } + +begemotBridgeStpPortAdminPointToPoint OBJECT-TYPE +    SYNTAX	INTEGER { +		    forceTrue(0), +		    forceFalse(1), +		    auto(2) +		} +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The administrative point-to-point status of the LAN segment +	attached to this port, using the enumeration values of the +	IEEE 802.1w clause.  A value of forceTrue(0) indicates +	that this port should always be treated as if it is +	connected to a point-to-point link. A value of +	forceFalse(1) indicates that this port should be treated as +	having a shared media connection.  A value of auto(2) +	indicates that this port is considered to have a +	point-to-point link if it is an Aggregator and all of its +	members are aggregatable, or if the MAC entity +	is configured for full duplex operation, either through +	auto-negotiation or by management means.  Manipulating this +	object changes the underlying adminPortToPortMAC. + +	The value of this object MUST be retained across +	reinitializations of the management system." +    ::= { begemotBridgeStpExtPortEntry 4 } + +begemotBridgeStpPortOperPointToPoint OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The operational point-to-point status of the LAN segment +	attached to this port. It indicates whether a port is +	considered to have a point-to-point connection. +	If adminPointToPointMAC is set to auto(2), then the value +	of operPointToPointMAC is determined in accordance with the +	specific procedures defined for the MAC entity concerned, +	as defined in IEEE 802.1w, clause 6.5. The value is +	determined dynamically; that is, it is re-evaluated whenever +	the value of adminPointToPointMAC changes, and whenever +	the specific procedures defined for the MAC entity evaluates +	a change in its point-to-point status." +    ::= { begemotBridgeStpExtPortEntry 5 } + +begemotBridgeStpPortAdminPathCost OBJECT-TYPE +    SYNTAX	Integer32 (0..200000000) +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The administratively assigned value for the contribution +	of this port to the path cost of paths toward the spanning +	tree root. + +	Writing a value of '0' assigns the automatically calculated +	default Path Cost value to the port. If the default Path +	Cost is being used, this object returns '0' when read. + +	This complements the object begemotBridgeStpPortPathCost or +	begemotBridgeStpPortPathCost32, which returns the operational +	value of the path cost. + +	The value of this object MUST be retained across +	reinitializations of the management system." +    ::= { begemotBridgeStpExtPortEntry 6 } + +-- ---------------------------------------------------------- -- +-- the Bridge interface Transparent bridging table +-- ---------------------------------------------------------- -- + +begemotBridgeTpTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeTpEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table that contains information regarding transparent +	bridging for each bridge interface on the managed device." +    ::= { begemotBridgeTp 1 } + +begemotBridgeTpEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeTpEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A list of information regarding transparent bridging +	on a bridge interface." +    AUGMENTS { begemotBridgeBaseEntry } +    ::= { begemotBridgeTpTable 1 } + +BegemotBridgeTpEntry ::= SEQUENCE { +    begemotBridgeTpLearnedEntryDiscards		Counter32, +    begemotBridgeTpAgingTime			Integer32, +    begemotBridgeTpMaxAddresses			Integer32 +} + +begemotBridgeTpLearnedEntryDiscards OBJECT-TYPE +    SYNTAX	Counter32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The total number of Forwarding Database entries that would +	have been learnt, but have been discarded due to Forwarding +	Address Table having reached it's maximum entries limit." +    ::= { begemotBridgeTpEntry 1 } + +begemotBridgeTpAgingTime OBJECT-TYPE +    SYNTAX	Integer32 (10..1000000) +    UNITS	"seconds" +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The timeout period in seconds before aging out +        dynamically learnt forwarding entries." +    ::= { begemotBridgeTpEntry 2 } + +begemotBridgeTpMaxAddresses OBJECT-TYPE +    SYNTAX	Integer32 (1..10000) +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The maximum number of entires that this bridge can +	learn in it's Forwarding Address Table and use for +	making forwarding decisions." +    ::= { begemotBridgeTpEntry 3 } + +-- ---------------------------------------------------------- -- +--  The Forwarding Database for Transparent Bridging interfaces +-- ---------------------------------------------------------- -- + +begemotBridgeTpFdbTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeTpFdbEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table that contains information about unicast entries +	for which the bridge interfaces have forwarding and/or +	filtering information. This information is used by the +	bridge interfaces to make forwarding decisions." +    ::= { begemotBridgeTp 2 } + +begemotBridgeTpFdbEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeTpFdbEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"Information about a specific unicast MAC address +	for which the bridge interface has some forwarding +	and/or filtering information." +    INDEX   { begemotBridgeBaseName, begemotBridgeTpFdbAddress } +    ::= { begemotBridgeTpFdbTable 1 } + +BegemotBridgeTpFdbEntry ::= SEQUENCE { +    begemotBridgeTpFdbAddress			MacAddress, +    begemotBridgeTpFdbPort			Integer32, +    begemotBridgeTpFdbStatus			INTEGER +} + +begemotBridgeTpFdbAddress OBJECT-TYPE +    SYNTAX	MacAddress +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"A unicast MAC address for which the bridge has which the +	bridge interface has some forwarding and/or filtering +	information." +    ::= { begemotBridgeTpFdbEntry 1 } + +begemotBridgeTpFdbPort OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The port number of the bridge port on which a frame having +	a source address equal to the value of the corresponding +	instance of begemotBridgeTpFdbAddress has been seen." +    ::= { begemotBridgeTpFdbEntry 2 } + +begemotBridgeTpFdbStatus OBJECT-TYPE +    SYNTAX	INTEGER { +		    other(1), +		    invalid(2), +		    learned(3), +		    self(4), +		    mgmt(5) +		} +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The status of this entry.  The meanings of the +	values are: +	    other(1) - none of the following. +	    invalid(2) - this entry is no longer valid (e.g., +		it was learned but has since aged out), but has +		not yet been flushed from the table. +	    learned(3) - the value of the corresponding instance +		of begemotBridgeTpFdbPort was learned, and is being +		used. +	    self(4) - the value of the corresponding instance of +		begemotBridgeTpFdbAddress represents one of the +		bridge's addresses.  The corresponding instance of +		begemotBridgeTpFdbPort indicates which of the bridge's +		ports has this address. +	    mgmt(5) - the value of the corresponding instance of +		begemotBridgeTpFdbAddress has been added to the +		bridge's Forwarding Database by some management +		means." +    ::= { begemotBridgeTpFdbEntry 3 } + +-- ---------------------------------------------------------- -- +--  Ports table for Transparent Bridging interfaces +-- ---------------------------------------------------------- -- + +begemotBridgeTpPortTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF BegemotBridgeTpPortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A table that contains information about every bridge port, +	member of a bridge interface, associated with the transparent +	bridging function of the bridge." +    ::= { begemotBridgeTp 3 } + +begemotBridgeTpPortEntry OBJECT-TYPE +    SYNTAX	BegemotBridgeTpPortEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A list of information about every bridge port, member of a +	bridge interface, associated with the bridge's transparent +	bridging function." +    INDEX  { begemotBridgeBaseName,  begemotBridgeBasePortIfIndex } +    ::= { begemotBridgeTpPortTable 1 } + +BegemotBridgeTpPortEntry  ::= SEQUENCE { +    begemotBridgeTpPort				Integer32, +    begemotBridgeTpPortMaxInfo			Integer32, +    begemotBridgeTpPortInFrames			Counter32, +    begemotBridgeTpPortOutFrames		Counter32, +    begemotBridgeTpPortInDiscards		Counter32 +} + +begemotBridgeTpPort OBJECT-TYPE +    SYNTAX	Integer32 (1..65535) +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The system interface index of the port for which this entry +	contains Transparent bridging management information." +    ::= { begemotBridgeTpPortEntry 1 } + +begemotBridgeTpPortMaxInfo OBJECT-TYPE +    SYNTAX	Integer32 +    UNITS	"bytes" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The maximum size of the INFO (non-MAC) field that this port +	will receive or transmit." +    ::= { begemotBridgeTpPortEntry 2 } + +begemotBridgeTpPortInFrames OBJECT-TYPE +    SYNTAX	Counter32 +    UNITS	"frames" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of frames that have been received by this +	port from its segment.  Note that a frame received on the +	interface corresponding to this port is only counted by +	this object if and only if it is for a protocol being +	processed by the local bridging function, including +	bridge management frames." +    ::= { begemotBridgeTpPortEntry 3 } + +begemotBridgeTpPortOutFrames OBJECT-TYPE +    SYNTAX	Counter32 +    UNITS	"frames" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of frames that have been transmitted by this +	port to its segment.  Note that a frame transmitted on +	the interface corresponding to this port is only counted +	by this object if and only if it is for a protocol being +	processed by the local bridging function, including +	bridge management frames." +    ::= { begemotBridgeTpPortEntry 4 } + +begemotBridgeTpPortInDiscards OBJECT-TYPE +    SYNTAX	Counter32 +    UNITS	"frames" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Count of received valid frames that were discarded +	(i.e., filtered) by the Forwarding Process." +    ::= { begemotBridgeTpPortEntry  5 } + +-- ---------------------------------------------------------- -- +-- the begemotBridgePf objects +-- ---------------------------------------------------------- -- + +begemotBridgePfilStatus OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"Indicates whether packet filtering by some firewall +	package is enabled on the bridge interface." +    ::= { begemotBridgePf 1 } + +begemotBridgePfilMembers OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"A value of true(1) indicates that packet filtering is +	enabled on both incoming and outgoing bridge member +	interfaces." +    ::= { begemotBridgePf 2 } + +begemotBridgePfilIpOnly OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"This value controls the handling of non-IP packets which +	are not passed on for further processing to a firewall +	package. A value of false(0) indicates that all non-IP +	Ethernet frames are passed unconditionally." +    ::= { begemotBridgePf 3 } + +begemotBridgeLayer2PfStatus OBJECT-TYPE +    SYNTAX	INTEGER { +		    enabled(1), +		    disabled(2) +		} +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"This value indicates whether layer2 filtering by a +	firewall package is enabled for bridge interfaces." +    ::= { begemotBridgePf 4 } + +-- ---------------------------------------------------------- -- +-- the begemotBridgeConfigObjects objects +-- ---------------------------------------------------------- -- + +begemotBridgeDefaultBridgeIf OBJECT-TYPE + +    SYNTAX	BridgeIfNameOrEmpty +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The name of the bridge interface that will be managed +	via objects in IETF BRIDGE-MIB (RFC4188). If the +	object's value is set to an empty string, bridge interfaces +	will only be managed via objects in this MIB module." +    DEFVAL	{ "bridge0" } +    ::= { begemotBridgeConfigObjects 1 } + +begemotBridgeDataUpdate OBJECT-TYPE + +    SYNTAX	Timeout (1..300) +    UNITS       "seconds" +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The maximum age in seconds of the cached data." +    DEFVAL	{ 10 } +    ::= { begemotBridgeConfigObjects 2 } + +begemotBridgeDataPoll OBJECT-TYPE + +    SYNTAX	Timeout (1..3600) +    UNITS       "seconds" +    MAX-ACCESS	read-write +    STATUS	current +    DESCRIPTION +	"The polling rate of data when the module is idle." +    DEFVAL	{ 300 } +    ::= { begemotBridgeConfigObjects 3 } + +-- ---------------------------------------------------------- -- +-- Notifications for the Spanning Tree Protocol +-- ---------------------------------------------------------- -- + +begemotBridgeNewRoot NOTIFICATION-TYPE +    OBJECTS	{ begemotBridgeBaseName } +    STATUS	current +    DESCRIPTION +	"The begemotBridgeNewRoot trap indicates that one of the +	bridge interfaces on the sending agent's device has +	become the new root of the spanning tree topology it is +	participating in." +    ::= { begemotBridgeNotifications 1 } + +begemotBridgeTopologyChange NOTIFICATION-TYPE +    OBJECTS	{ begemotBridgeBaseName } +    STATUS	current +    DESCRIPTION +	"A begemotBridgeTopologyChange trap is send when a member +	port on one of the bridge interfaces, monitored by the agent, +	transitions from the Learning state to the Forwarding state, +	or from the Forwarding state to the Blocking state. The trap +	is not sent if a begemotBridgeNewRoot trap is sent for the +	same transition." +    ::= { begemotBridgeNotifications 2 } + +END diff --git a/mibs/BEGEMOT-HOSTRES-MIB.txt b/mibs/BEGEMOT-HOSTRES-MIB.txt new file mode 100644 index 0000000..209c80e --- /dev/null +++ b/mibs/BEGEMOT-HOSTRES-MIB.txt @@ -0,0 +1,125 @@ +-- +-- 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: src/usr.sbin/bsnmpd/modules/snmp_hostres/BEGEMOT-HOSTRES-MIB.txt,v 1.2.12.1 2009/08/03 08:13:06 kensmith Exp $ +-- +-- 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." +    ::= { 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 diff --git a/mibs/BEGEMOT-IP-MIB.txt b/mibs/BEGEMOT-IP-MIB.txt new file mode 100644 index 0000000..761876a --- /dev/null +++ b/mibs/BEGEMOT-IP-MIB.txt @@ -0,0 +1,61 @@ +-- +-- 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." +    ::= { begemot 3 } + +begemotIpObjects	OBJECT IDENTIFIER ::= { begemotIp 1 } + +END diff --git a/mibs/BEGEMOT-MIB2-MIB.txt b/mibs/BEGEMOT-MIB2-MIB.txt new file mode 100644 index 0000000..32cf7a6 --- /dev/null +++ b/mibs/BEGEMOT-MIB2-MIB.txt @@ -0,0 +1,90 @@ +-- +-- 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 "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 private mib2 stuff." +    ::= { 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 } + +END diff --git a/mibs/BEGEMOT-NTP-MIB.txt b/mibs/BEGEMOT-NTP-MIB.txt new file mode 100644 index 0000000..cfd2bc7 --- /dev/null +++ b/mibs/BEGEMOT-NTP-MIB.txt @@ -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 diff --git a/mibs/BEGEMOT-PF-MIB.txt b/mibs/BEGEMOT-PF-MIB.txt new file mode 100644 index 0000000..2a00aeb --- /dev/null +++ b/mibs/BEGEMOT-PF-MIB.txt @@ -0,0 +1,1230 @@ +-- +-- ---------------------------------------------------------------------------- +-- "THE BEER-WARE LICENSE" (Revision 42): +-- <philip@FreeBSD.org> wrote this file.  As long as you retain this notice you +-- can do whatever you want with this stuff. If we meet some day, and you think +-- this stuff is worth it, you can buy me a beer in return.   -Philip Paeps +-- ---------------------------------------------------------------------------- +-- +-- $FreeBSD: src/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt,v 1.1.22.1 2009/08/03 08:13:06 kensmith Exp $ +-- + +BEGEMOT-PF-MIB DEFINITIONS ::= BEGIN + +IMPORTS +    MODULE-IDENTITY, OBJECT-TYPE, Counter64, Integer32, +    TimeTicks, Unsigned32 +	FROM SNMPv2-SMI +    TruthValue +	FROM SNMPv2-TC +    begemot +	FROM BEGEMOT-MIB; + +begemotPf MODULE-IDENTITY +    LAST-UPDATED "200501240000Z" +    ORGANIZATION "NixSys BVBA" +    CONTACT-INFO +	    "		Philip Paeps + +	     Postal:	NixSys BVBA +			Louizastraat 14 +			BE-2800 Mechelen +			Belgium + +	     E-Mail:	philip@FreeBSD.org" +    DESCRIPTION +	    "The Begemot MIB for the pf packet filter." + +    ::= { begemot 200 } + +begemotPfObjects	OBJECT IDENTIFIER ::= { begemotPf 1 } + +-- -------------------------------------------------------------------------- + +pfStatus		OBJECT IDENTIFIER ::= { begemotPfObjects 1 } +pfCounter		OBJECT IDENTIFIER ::= { begemotPfObjects 2 } +pfStateTable		OBJECT IDENTIFIER ::= { begemotPfObjects 3 } +pfSrcNodes		OBJECT IDENTIFIER ::= { begemotPfObjects 4 } +pfLimits		OBJECT IDENTIFIER ::= { begemotPfObjects 5 } +pfTimeouts		OBJECT IDENTIFIER ::= { begemotPfObjects 6 } +pfLogInterface		OBJECT IDENTIFIER ::= { begemotPfObjects 7 } +pfInterfaces		OBJECT IDENTIFIER ::= { begemotPfObjects 8 } +pfTables		OBJECT IDENTIFIER ::= { begemotPfObjects 9 } +pfAltq			OBJECT IDENTIFIER ::= { begemotPfObjects 10 } + +-- -------------------------------------------------------------------------- + +-- +-- status information +-- + +pfStatusRunning OBJECT-TYPE +    SYNTAX	TruthValue +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"True if pf is currently enabled." +    ::= { pfStatus 1 } + +pfStatusRuntime OBJECT-TYPE +    SYNTAX	TimeTicks +    UNITS	"1/100th of a Second" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Indicates how long pf has been enabled.  If pf is not currently +	enabled, indicates how long it has been disabled.  If pf has not +	been enabled or disabled since the system was started, the value +	will be 0." +    ::= { pfStatus 2 } + +pfStatusDebug OBJECT-TYPE +    SYNTAX	INTEGER { none(0), urgent(1), misc(2), loud(3) } +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Indicates the debug level at which pf is running." +    ::= { pfStatus 3 } + +pfStatusHostId OBJECT-TYPE +    SYNTAX	OCTET STRING +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The (unique) host identifier of the machine running pf." +    ::= { pfStatus 4 } + +-- -------------------------------------------------------------------------- + +-- +-- counters +-- + +pfCounterMatch OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of packets that matched a filter rule." +    ::= { pfCounter 1 } + +pfCounterBadOffset OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of packets with bad offset." +    ::= { pfCounter 2 } + +pfCounterFragment OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of fragmented packets." +    ::= { pfCounter 3 } + +pfCounterShort OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of short packets." +    ::= { pfCounter 4 } + +pfCounterNormalize OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of normalized packets." +    ::= { pfCounter 5 } + +pfCounterMemDrop OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of packets dropped due to memory limitations." +    ::= { pfCounter 6 } + +-- -------------------------------------------------------------------------- + +-- +-- state table +-- + +pfStateTableCount OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of entries in the state table." +    ::= { pfStateTable 1 } + +pfStateTableSearches OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of searches against the state table." +    ::= { pfStateTable 2 } + +pfStateTableInserts OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of entries inserted into the state table." +    ::= { pfStateTable 3 } + +pfStateTableRemovals OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of entries removed from the state table." +    ::= { pfStateTable 4 } + +-- -------------------------------------------------------------------------- + +-- +-- source nodes +-- + +pfSrcNodesCount OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of entries in the source tracking table." +    ::= { pfSrcNodes 1 } + +pfSrcNodesSearches OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of searches against the source tracking table." +    ::= { pfSrcNodes 2 } + +pfSrcNodesInserts OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of entries inserted into the source tracking table." +    ::= { pfSrcNodes 3 } + +pfSrcNodesRemovals OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of entries removed from the source tracking table." +    ::= { pfSrcNodes 4 } + +-- -------------------------------------------------------------------------- + +-- +-- limits +-- + +pfLimitsStates OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Maximum number of 'keep state' rules in the ruleset." +    ::= { pfLimits 1 } + +pfLimitsSrcNodes OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Maximum number of 'sticky-address' or 'source-track' rules +	in the ruleset." +    ::= { pfLimits 2 } + +pfLimitsFrags OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Maximum number of 'scrub' rules in the ruleset." +    ::= { pfLimits 3 } + +-- -------------------------------------------------------------------------- + +-- +-- timeouts +-- + +pfTimeoutsTcpFirst OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after the first packet in a connection." +    ::= { pfTimeouts 1 } + +pfTimeoutsTcpOpening OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State before the destination host ever sends a packet." +    ::= { pfTimeouts 2 } + +pfTimeoutsTcpEstablished OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The fully established state." +    ::= { pfTimeouts 3 } + +pfTimeoutsTcpClosing OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after the first FIN has been sent." +    ::= { pfTimeouts 4 } + +pfTimeoutsTcpFinWait OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after both FINs have been exchanged and the +	connection is closed." +    ::= { pfTimeouts 5 } + +pfTimeoutsTcpClosed OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after one endpoint sends an RST." +    ::= { pfTimeouts 6 } + +pfTimeoutsUdpFirst OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after the first packet." +    ::= { pfTimeouts 7 } + +pfTimeoutsUdpSingle OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State if the source host sends more than one packet but +	the destination host has never sent one back." +    ::= { pfTimeouts 8 } + +pfTimeoutsUdpMultiple OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State if both hosts have sent packets." +    ::= { pfTimeouts 9 } + +pfTimeoutsIcmpFirst OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after the first packet." +    ::= { pfTimeouts 10 } + +pfTimeoutsIcmpError OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after an ICMP error came back in response to an +	ICMP packet." +    ::= { pfTimeouts 11 } + +pfTimeoutsOtherFirst OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State after the first packet." +    ::= { pfTimeouts 12 } + +pfTimeoutsOtherSingle OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State if the source host sends more than one packet but +	the destination host has never sent one back." +    ::= { pfTimeouts 13 } + +pfTimeoutsOtherMultiple OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"State if both hosts have sent packets." +    ::= { pfTimeouts 14 } + +pfTimeoutsFragment OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Seconds before an unassembled fragment is expired." +    ::= { pfTimeouts 15 } + +pfTimeoutsInterval OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Interval between purging expired states and fragments." +    ::= { pfTimeouts 16 } + +pfTimeoutsAdaptiveStart OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"When the number of state entries exceeds this value, +	adaptive scaling begins." +    ::= { pfTimeouts 17 } + +pfTimeoutsAdaptiveEnd OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"When reaching this number of state entries, all timeout +	values become zero, effectively purging all state entries +	immediately." +    ::= { pfTimeouts 18 } + +pfTimeoutsSrcNode OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Length of time to retain a source tracking entry after +	the last state expires." +    ::= { pfTimeouts 19 } + +-- -------------------------------------------------------------------------- + +-- +-- log interface +-- + +pfLogInterfaceName OBJECT-TYPE +    SYNTAX	OCTET STRING +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The name of the interface configured with 'set loginterface'. +	If no interface has been configured, the object will be empty." +    ::= { pfLogInterface 1 } + +pfLogInterfaceIp4BytesIn OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv4 bytes passed in on the loginterface." +    ::= { pfLogInterface 2 } + +pfLogInterfaceIp4BytesOut OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv4 bytes passed out on the loginterface." +    ::= { pfLogInterface 3 } + +pfLogInterfaceIp4PktsInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv4 packets passed in on the loginterface." +    ::= { pfLogInterface 4 } + +pfLogInterfaceIp4PktsInDrop OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv4 packets dropped coming in on the loginterface." +    ::= { pfLogInterface 5 } + +pfLogInterfaceIp4PktsOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv4 packets passed out on the loginterface." +    ::= { pfLogInterface 6 } + +pfLogInterfaceIp4PktsOutDrop OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv4 packets dropped going out on the loginterface." +    ::= { pfLogInterface 7 } + +pfLogInterfaceIp6BytesIn OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv6 bytes passed in on the loginterface." +    ::= { pfLogInterface 8 } + +pfLogInterfaceIp6BytesOut OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv6 bytes passed out on the loginterface." +    ::= { pfLogInterface 9 } + +pfLogInterfaceIp6PktsInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv6 packets passed in on the loginterface." +    ::= { pfLogInterface 10 } + +pfLogInterfaceIp6PktsInDrop OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv6 packets dropped coming in on the loginterface." +    ::= { pfLogInterface 11 } + +pfLogInterfaceIp6PktsOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv6 packets passed out on the loginterface." +    ::= { pfLogInterface 12 } + +pfLogInterfaceIp6PktsOutDrop OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Number of IPv6 packets dropped going out on the loginterface." +    ::= { pfLogInterface 13 } + +-- -------------------------------------------------------------------------- + +-- +-- interfaces +-- + +pfInterfacesIfNumber OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of network interfaces on this system." +    ::= { pfInterfaces 1 } + +pfInterfacesIfTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF PfInterfacesIfEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"Table of network interfaces, indexed on pfInterfacesIfNumber." +    ::= { pfInterfaces 2 } + +pfInterfacesIfEntry OBJECT-TYPE +    SYNTAX	PfInterfacesIfEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"An entry in the pfInterfacesIfTable containing information +	about a particular network interface in the machine." +    INDEX	{ pfInterfacesIfIndex } +    ::= { pfInterfacesIfTable 1 } + +PfInterfacesIfEntry ::= SEQUENCE { +    pfInterfacesIfIndex		    Integer32, +    pfInterfacesIfDescr		    OCTET STRING, +    pfInterfacesIfType		    INTEGER, +    pfInterfacesIfTZero		    TimeTicks, +    pfInterfacesIfRefsState	    Unsigned32, +    pfInterfacesIfRefsRule	    Unsigned32, +    pfInterfacesIf4BytesInPass	    Counter64, +    pfInterfacesIf4BytesInBlock	    Counter64, +    pfInterfacesIf4BytesOutPass	    Counter64, +    pfInterfacesIf4BytesOutBlock    Counter64, +    pfInterfacesIf4PktsInPass	    Counter64, +    pfInterfacesIf4PktsInBlock	    Counter64, +    pfInterfacesIf4PktsOutPass	    Counter64, +    pfInterfacesIf4PktsOutBlock	    Counter64, +    pfInterfacesIf6BytesInPass	    Counter64, +    pfInterfacesIf6BytesInBlock	    Counter64, +    pfInterfacesIf6BytesOutPass	    Counter64, +    pfInterfacesIf6BytesOutBlock    Counter64, +    pfInterfacesIf6PktsInPass	    Counter64, +    pfInterfacesIf6PktsInBlock	    Counter64, +    pfInterfacesIf6PktsOutPass	    Counter64, +    pfInterfacesIf6PktsOutBlock	    Counter64 +} + +pfInterfacesIfIndex OBJECT-TYPE +    SYNTAX	Integer32 (1..2147483647) +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A unique value, greater than zero, for each interface." +    ::= { pfInterfacesIfEntry 1 } + +pfInterfacesIfDescr OBJECT-TYPE +    SYNTAX	OCTET STRING +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The name of the interface." +    ::= { pfInterfacesIfEntry 2 } + +pfInterfacesIfType OBJECT-TYPE +    SYNTAX	INTEGER { group(0), instance(1), detached(2) } +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Indicates whether the interface is a group inteface, an +	interface instance, or whether it has been removed or +	destroyed." +    ::= { pfInterfacesIfEntry 3 } + +pfInterfacesIfTZero OBJECT-TYPE +    SYNTAX	TimeTicks +    UNITS	"1/100th of a Second" +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Time since statistics were last reset or since the +	interface was loaded." +    ::= { pfInterfacesIfEntry 4 } + +pfInterfacesIfRefsState OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of state and/or source track entries referencing +	this interface." +    ::= { pfInterfacesIfEntry 5 } + +pfInterfacesIfRefsRule OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of rules referencing this interface." +    ::= { pfInterfacesIfEntry 6 } + +pfInterfacesIf4BytesInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 bytes passed coming in on this interface." +    ::= { pfInterfacesIfEntry 7 } + +pfInterfacesIf4BytesInBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 bytes blocked coming in on this interface." +    ::= { pfInterfacesIfEntry 8 } + +pfInterfacesIf4BytesOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 bytes passed going out on this interface." +    ::= { pfInterfacesIfEntry 9 } + +pfInterfacesIf4BytesOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 bytes blocked going out on this interface." +    ::= { pfInterfacesIfEntry 10 } + +pfInterfacesIf4PktsInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 packets passed coming in on this interface." +    ::= { pfInterfacesIfEntry 11 } + +pfInterfacesIf4PktsInBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 packets blocked coming in on this interface." +    ::= { pfInterfacesIfEntry 12 } + +pfInterfacesIf4PktsOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 packets passed going out on this interface." +    ::= { pfInterfacesIfEntry 13 } + +pfInterfacesIf4PktsOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv4 packets blocked going out on this interface." +    ::= { pfInterfacesIfEntry 14 } + +pfInterfacesIf6BytesInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 bytes passed coming in on this interface." +    ::= { pfInterfacesIfEntry 15 } + +pfInterfacesIf6BytesInBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 bytes blocked coming in on this interface." +    ::= { pfInterfacesIfEntry 16 } + +pfInterfacesIf6BytesOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 bytes passed going out on this interface." +    ::= { pfInterfacesIfEntry 17 } + +pfInterfacesIf6BytesOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 bytes blocked going out on this interface." +    ::= { pfInterfacesIfEntry 18 } + + +pfInterfacesIf6PktsInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 packets passed coming in on this interface." +    ::= { pfInterfacesIfEntry 19 } + +pfInterfacesIf6PktsInBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 packets blocked coming in on this interface." +    ::= { pfInterfacesIfEntry 20 } + +pfInterfacesIf6PktsOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 packets passed going out on this interface." +    ::= { pfInterfacesIfEntry 21 } + +pfInterfacesIf6PktsOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of IPv6 packets blocked going out on this interface." +    ::= { pfInterfacesIfEntry 22 } + +-- -------------------------------------------------------------------------- + +-- +-- tables +-- + +pfTablesTblNumber OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of tables on this system." +    ::= { pfTables 1 } + +pfTablesTblTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF PfTablesTblEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"Table of tables, index on pfTablesTblIndex." +    ::= { pfTables 2 } + +pfTablesTblEntry OBJECT-TYPE +    SYNTAX	PfTablesTblEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"Any entry in the pfTablesTblTable containing information +	about a particular table on the system." +    INDEX	{ pfTablesTblIndex } +    ::= { pfTablesTblTable 1 } + +PfTablesTblEntry ::= SEQUENCE { +    pfTablesTblIndex		    Integer32, +    pfTablesTblDescr		    OCTET STRING, +    pfTablesTblCount		    Integer32, +    pfTablesTblTZero		    TimeTicks, +    pfTablesTblRefsAnchor	    Integer32, +    pfTablesTblRefsRule		    Integer32, +    pfTablesTblEvalMatch	    Counter64, +    pfTablesTblEvalNoMatch	    Counter64, +    pfTablesTblBytesInPass	    Counter64, +    pfTablesTblBytesInBlock	    Counter64, +    pfTablesTblBytesInXPass	    Counter64, +    pfTablesTblBytesOutPass	    Counter64, +    pfTablesTblBytesOutBlock	    Counter64, +    pfTablesTblBytesOutXPass	    Counter64, +    pfTablesTblPktsInPass	    Counter64, +    pfTablesTblPktsInBlock	    Counter64, +    pfTablesTblPktsInXPass	    Counter64, +    pfTablesTblPktsOutPass	    Counter64, +    pfTablesTblPktsOutBlock	    Counter64, +    pfTablesTblPktsOutXPass	    Counter64 +} + +pfTablesTblIndex OBJECT-TYPE +    SYNTAX	Integer32 (1..2147483647) +    MAX-ACCESS  not-accessible +    STATUS	current +    DESCRIPTION +        "A unique value, greater than zero, for each table." +    ::= { pfTablesTblEntry 1 } + +pfTablesTblDescr OBJECT-TYPE +    SYNTAX	OCTET STRING +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The name of the table." +    ::= { pfTablesTblEntry 2 } + +pfTablesTblCount OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of addresses in the table." +    ::= { pfTablesTblEntry 3 } + +pfTablesTblTZero OBJECT-TYPE +    SYNTAX	TimeTicks +    UNITS	"1/100th of a Second" +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The time passed since the statistics of this table were last +        cleared or the time since this table was loaded, whichever is +        sooner." +    ::= { pfTablesTblEntry 4 } + +pfTablesTblRefsAnchor OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of anchors referencing this table." +    ::= { pfTablesTblEntry 5 } + +pfTablesTblRefsRule OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of rules referencing this table." +    ::= { pfTablesTblEntry 6 } + +pfTablesTblEvalMatch OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of evaluations returning a match." +    ::= { pfTablesTblEntry 7 } + +pfTablesTblEvalNoMatch OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of evaluations not returning a match." +    ::= { pfTablesTblEntry 8 } + +pfTablesTblBytesInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of bytes passed in matching the table." +    ::= { pfTablesTblEntry 9 } + +pfTablesTblBytesInBlock	OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of bytes blocked coming in matching the table." +    ::= { pfTablesTblEntry 10 } + +pfTablesTblBytesInXPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of bytes statefully passed in where the state +        entry refers to the table, but the table no longer contains +	the address in question." +    ::= { pfTablesTblEntry 11 } + +pfTablesTblBytesOutPass	OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of bytes passed out matching the table." +    ::= { pfTablesTblEntry 12 } + +pfTablesTblBytesOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of bytes blocked going out matching the table." +    ::= { pfTablesTblEntry 13 } + +pfTablesTblBytesOutXPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of bytes statefully passed out where the state +        entry refers to the table, but the table no longer contains +	the address in question." +    ::= { pfTablesTblEntry 14 } + +pfTablesTblPktsInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of packets passed in matching the table." +    ::= { pfTablesTblEntry 15 } + +pfTablesTblPktsInBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of packets blocked coming in matching the table." +    ::= { pfTablesTblEntry 16 } + +pfTablesTblPktsInXPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of packets statefully passed in where the state +        entry refers to the table, but the table no longer contains +	the address in question." +    ::= { pfTablesTblEntry 17 } + +pfTablesTblPktsOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of packets passed out matching the table." +    ::= { pfTablesTblEntry 18 } + +pfTablesTblPktsOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of packets blocked going out matching the table." +    ::= { pfTablesTblEntry 19 } + +pfTablesTblPktsOutXPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of packets statefully passed out where the state +        entry refers to the table, but the table no longer contains +	the address in question." +    ::= { pfTablesTblEntry 20 } + +pfTablesAddrTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF PfTablesAddrEntry +    MAX-ACCESS  not-accessible +    STATUS	current +    DESCRIPTION +        "Table of addresses from every table on the system." +    ::= { pfTables 3 } + +pfTablesAddrEntry OBJECT-TYPE +    SYNTAX	PfTablesAddrEntry +    MAX-ACCESS  not-accessible +    STATUS	current +    DESCRIPTION +        "An entry in the pfTablesAddrTable containing information +        about a particular entry in a table." +    INDEX	{ pfTablesAddrIndex } +    ::= { pfTablesAddrTable 1 } + +PfTablesAddrEntry ::= SEQUENCE { +    pfTablesAddrIndex		    Integer32, +    pfTablesAddrNet		    IpAddress, +    pfTablesAddrMask		    Integer32, +    pfTablesAddrTZero		    TimeTicks, +    pfTablesAddrBytesInPass	    Counter64, +    pfTablesAddrBytesInBlock	    Counter64, +    pfTablesAddrBytesOutPass	    Counter64, +    pfTablesAddrBytesOutBlock	    Counter64, +    pfTablesAddrPktsInPass	    Counter64, +    pfTablesAddrPktsInBlock	    Counter64, +    pfTablesAddrPktsOutPass	    Counter64, +    pfTablesAddrPktsOutBlock	    Counter64 +} + +pfTablesAddrIndex OBJECT-TYPE +    SYNTAX	Integer32 (1..2147483647) +    MAX-ACCESS  not-accessible +    STATUS	current +    DESCRIPTION +        "A unique value, greater than zero, for each address." +    ::= { pfTablesAddrEntry 1 } + +pfTablesAddrNet OBJECT-TYPE +    SYNTAX	IpAddress +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The IP address of this particular table entry." +    ::= { pfTablesAddrEntry 2 } + +pfTablesAddrMask OBJECT-TYPE +    SYNTAX	Integer32 (0..32) +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The CIDR netmask of this particular table entry." +    ::= { pfTablesAddrEntry 3 } + +pfTablesAddrTZero OBJECT-TYPE +    SYNTAX	TimeTicks +    UNITS	"1/100th of a Second" +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The time passed since this entry's statistics were last +	cleared, or the time passed since this entry was loaded +	into the table, whichever is sooner." +    ::= { pfTablesAddrEntry 4 } + +pfTablesAddrBytesInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of inbound bytes passed as a result of this entry." +    ::= { pfTablesAddrEntry 5 } + +pfTablesAddrBytesInBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of inbound bytes blocked as a result of this entry." +    ::= { pfTablesAddrEntry 6 } + +pfTablesAddrBytesOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of outbound bytes passed as a result of this entry." +    ::= { pfTablesAddrEntry 7 } + +pfTablesAddrBytesOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of outbound bytes blocked as a result of this entry." +    ::= { pfTablesAddrEntry 8 } + +pfTablesAddrPktsInPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of inbound packets passed as a result of this entry." +    ::= { pfTablesAddrEntry 9 } + +pfTablesAddrPktsInBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of inbound packets blocked as a result of this entry." +    ::= { pfTablesAddrEntry 10 } + +pfTablesAddrPktsOutPass OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of outbound packets passed as a result of this entry." +    ::= { pfTablesAddrEntry 11 } + +pfTablesAddrPktsOutBlock OBJECT-TYPE +    SYNTAX	Counter64 +    MAX-ACCESS  read-only +    STATUS	current +    DESCRIPTION +        "The number of outbound packets blocked as a result of this +        entry." +    ::= { pfTablesAddrEntry 12 } + +-- -------------------------------------------------------------------------- + +-- +-- Altq information +-- + +pfAltqQueueNumber OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The number of queues in the active set." +    ::= { pfAltq 1 } + +pfAltqQueueTable OBJECT-TYPE +    SYNTAX	SEQUENCE OF PfAltqQueueEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"Table containing the rules that are active on this system." +    ::= { pfAltq 2 } + +pfAltqQueueEntry OBJECT-TYPE +    SYNTAX	PfAltqQueueEntry +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"An entry in the pfAltqQueueTable table." +    INDEX	{ pfAltqQueueIndex } +    ::= { pfAltqQueueTable 1 } + +PfAltqQueueEntry ::= SEQUENCE { +    pfAltqQueueIndex		    Integer32, +    pfAltqQueueDescr		    OCTET STRING, +    pfAltqQueueParent		    OCTET STRING, +    pfAltqQueueScheduler	    INTEGER, +    pfAltqQueueBandwidth	    Unsigned32, +    pfAltqQueuePriority		    Integer32, +    pfAltqQueueLimit		    Integer32 +} + +pfAltqQueueIndex OBJECT-TYPE +    SYNTAX	Integer32 (1..2147483647) +    MAX-ACCESS	not-accessible +    STATUS	current +    DESCRIPTION +	"A unique value, greater than zero, for each queue." +    ::= { pfAltqQueueEntry 1 } + +pfAltqQueueDescr OBJECT-TYPE +    SYNTAX	OCTET STRING +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"The name of the queue." +    ::= { pfAltqQueueEntry 2 } + +pfAltqQueueParent OBJECT-TYPE +    SYNTAX	OCTET STRING +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Name of the queue's parent if it has one." +    ::= { pfAltqQueueEntry 3 } + +pfAltqQueueScheduler OBJECT-TYPE +    SYNTAX	INTEGER { cbq(1), hfsc(8), priq(11) } +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Scheduler algorithm implemented by this queue." +    ::= { pfAltqQueueEntry 4 } + +pfAltqQueueBandwidth OBJECT-TYPE +    SYNTAX	Unsigned32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Bandwitch assigned to this queue." +    ::= { pfAltqQueueEntry 5 } + +pfAltqQueuePriority OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Priority level of the queue." +    ::= { pfAltqQueueEntry 6 } + +pfAltqQueueLimit OBJECT-TYPE +    SYNTAX	Integer32 +    MAX-ACCESS	read-only +    STATUS	current +    DESCRIPTION +	"Maximum number of packets in the queue." +    ::= { pfAltqQueueEntry 7 } + +END diff --git a/mibs/BEGEMOT-SNMPD.txt b/mibs/BEGEMOT-SNMPD.txt new file mode 100644 index 0000000..e9ca2cf --- /dev/null +++ b/mibs/BEGEMOT-SNMPD.txt @@ -0,0 +1,569 @@ +-- +-- 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-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, +    Unsigned32, IpAddress +	FROM SNMPv2-SMI +    TEXTUAL-CONVENTION, TruthValue, RowStatus +	FROM SNMPv2-TC +    MODULE-COMPLIANCE, OBJECT-GROUP +	FROM SNMPv2-CONF +    begemot +	FROM BEGEMOT-MIB; + +begemotSnmpd MODULE-IDENTITY +    LAST-UPDATED "200212040000Z" +    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." +    ::= { 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	INTEGER (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	INTEGER (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" +    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	INTEGER (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	current +    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	current +    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	current +    DESCRIPTION +	    "The IP address to bind to." +    ::= { begemotSnmpdPortEntry 1 } + +begemotSnmpdPortPort OBJECT-TYPE +    SYNTAX	INTEGER (1..65535) +    MAX-ACCESS	not-accessible +    STATUS	current +    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	current +    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 +} + +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 } + +-- +-- 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	INTEGER (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 } + +-- +-- XXX These should go into their own MIB +-- +begemotSnmpdTransUdp	OBJECT IDENTIFIER ::= { begemotSnmpdTransportMappings 2 } +begemotSnmpdTransLsock	OBJECT IDENTIFIER ::= { begemotSnmpdTransportMappings 3 } + +END diff --git a/mibs/FREEBSD-MIB.txt b/mibs/FREEBSD-MIB.txt new file mode 100644 index 0000000..cf55f6e --- /dev/null +++ b/mibs/FREEBSD-MIB.txt @@ -0,0 +1,79 @@ +-- ***************************************************************** +-- This file is in the public domain. +-- +-- FreeBSD SMI { enterprises 2238 } +-- +-- $FreeBSD: src/share/snmp/mibs/FREEBSD-MIB.txt,v 1.5.10.1 2009/08/03 08:13:06 kensmith Exp $ +-- +-- ***************************************************************** + +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 diff --git a/mibs/NTP-MIB.txt b/mibs/NTP-MIB.txt new file mode 100644 index 0000000..37418a7 --- /dev/null +++ b/mibs/NTP-MIB.txt @@ -0,0 +1,627 @@ +-- +-- NTP MIB, Revision 0.2, 7/25/97 +-- + +NTP-MIB DEFINITIONS ::= BEGIN + +IMPORTS +    Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, +    enterprises +        FROM SNMPv2-SMI + +    TEXTUAL-CONVENTION, TruthValue +        FROM SNMPv2-TC; + +ntpMIB MODULE-IDENTITY +    LAST-UPDATED "199707251530Z" +    ORGANIZATION +        "University of Delaware" +    CONTACT-INFO +        "Adarsh Sethi +         Department of Computer & Information Sciences +         University of Delaware +         Newark, DE 19716 +         Tel: +1 302 831 1945 +         E-mail: sethi@cis.udel.edu + +         David Mills +         Department of Electrical Engineering +         University of Delaware +         Newark, DE 19716 +         Tel: +1 302 831 ???? +         E-mail: mills@ee.udel.edu" +    DESCRIPTION +        "This MIB module defines a MIB which provides mechanisms to +         monitor and control an NTP server." +    ::= { udel 3 } + +-- +-- Position within the OID hierarchy of this MIB: +-- +udel OBJECT IDENTIFIER +    ::= { enterprises 1277 } + +-- +-- The various groups defined within this MIB definition: +-- +ntpSystem OBJECT IDENTIFIER +    ::= { ntpMIB 1 } + +ntpPeers OBJECT IDENTIFIER +    ::= { ntpMIB 2 } + +ntpFilter OBJECT IDENTIFIER +    ::= { ntpMIB 3 } + +-- +-- Textual conventions: +-- + +NTPTimeStamp ::= TEXTUAL-CONVENTION +    DISPLAY-HINT "4x.4x" +    STATUS      current +    DESCRIPTION +        "" +    SYNTAX      OCTET STRING (SIZE(8)) + +NTPLeapIndicator ::= TEXTUAL-CONVENTION +    STATUS      current +    DESCRIPTION +        "" +    SYNTAX      INTEGER { +		    noWarning(0), +		    addSecond(1), +		    subtractSecond(2), +                    alarm(3) } + +-- +-- System Group +-- + +ntpSysLeap OBJECT-TYPE +    SYNTAX      NTPLeapIndicator +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " two-bit code warning of an impending leap +         second to be inserted in the NTP timescale." +    ::= { ntpSystem 1 } + +ntpSysStratum OBJECT-TYPE +    SYNTAX      Integer32 (0..255) +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " indicating the stratum of the local clock. +         0, unspecified +         1, primary reference (e.g.,, calibrated atomic clock, +            radio clock) +         2-255, secondary reference (via NTP)" +    ::= { ntpSystem 2 } + +ntpSysPrecision OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "signed integer indicating the precision +         of the various clocks, in seconds to the nearest power +         of two." +    ::= { ntpSystem 3 } + +ntpSysRootDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the total roundtrip delay to the primary +         reference source at the root of the synchronization +         subnet, in seconds" +    ::= { ntpSystem 4 } + +ntpSysRootDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the maximum error relative to the primary +         reference source at the root of the synchronization +         subnet, in seconds. Only positive values greater +         than zero are possible" +    ::= { ntpSystem 5 } + +ntpSysRefId OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the particular reference clock. In the case of +         stratum 0 (unspecified) or stratum 1 (primary reference +         source), this is a four-octet, left-justified,zero-padded +         ASCII string.In the case of stratum 2 and greater (secondary +         reference) this is the four-octet Internet address of the +         peer selected for synchronization." +    ::= { ntpSystem 6 } + +ntpSysRefTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the local time when the local clock was last +         updated. If the local clock has neverbeen synchronized, +         the value is zero." +    ::= { ntpSystem 7 } + +ntpSysPoll OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the minimum interval between transmitted +         messages, in seconds as a power of two. For instance, +         a value of six indicates a minimum interval of 64 seconds." +    ::= { ntpSystem 8 } + +ntpSysPeer OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the current synchronization source. Usually +         this will be a pointer to a structure containing the peer +         variables. The special value NULL indicates there is no +         currently valid synchronization source." +    ::= { ntpSystem 9 } + +ntpSysPhase OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpSystem 10 } + +ntpSysFreq OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpSystem 11 } + +ntpSysError OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpSystem 12 } + +ntpSysClock OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the current local time. Local time is derived +         from the hardware clock of the particular machine and +         increments at intervals depending on the design used." +    ::= { ntpSystem 13 } + +ntpSysSystem OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the type of the local Operating System" +    ::= { ntpSystem 14 } + +ntpSysProcessor OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the type of the local Processor" +    ::= { ntpSystem 15 } + +-- +-- Peers Group +-- + +-- +-- Peer Variables Table +-- + +ntpPeersVarTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF NtpPeersVarEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpPeers 1 } + +ntpPeersVarEntry OBJECT-TYPE +    SYNTAX      NtpPeersVarEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    INDEX       { ntpPeersAssocId } +    ::= { ntpPeersVarTable 1 } + +NtpPeersVarEntry ::= SEQUENCE { +    ntpPeersAssocId         Unsigned32, +    ntpPeersConfigured      TruthValue, +    ntpPeersPeerAddress     IpAddress, +    ntpPeersPeerPort        Unsigned32, +    ntpPeersHostAddress     IpAddress, +    ntpPeersHostPort        Unsigned32, +    ntpPeersLeap            NTPLeapIndicator, +    ntpPeersMode            INTEGER, +    ntpPeersStratum         Integer32, +    ntpPeersPeerPoll        Integer32, +    ntpPeersHostPoll        Integer32, +    ntpPeersPrecision       Integer32, +    ntpPeersRootDelay       OCTET STRING, +    ntpPeersRootDispersion  OCTET STRING, +    ntpPeersRefId           OCTET STRING, +    ntpPeersRefTime         NTPTimeStamp, +    ntpPeersOrgTime         NTPTimeStamp, +    ntpPeersReceiveTime     NTPTimeStamp, +    ntpPeersTransmitTime    NTPTimeStamp, +    ntpPeersUpdateTime      NTPTimeStamp, +    ntpPeersReach           Unsigned32, +    ntpPeersTimer           Integer32, +    ntpPeersOffset          OCTET STRING, +    ntpPeersDelay           OCTET STRING, +    ntpPeersDispersion      OCTET STRING +} + +ntpPeersAssocId OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpPeersVarEntry 1 } + +ntpPeersConfigured OBJECT-TYPE +    SYNTAX      TruthValue +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " This is a bit indicating that the association +         was created from configuration information and should not +         be demobilized if the peer becomes unreachable." +    ::= { ntpPeersVarEntry 2 } + +ntpPeersPeerAddress OBJECT-TYPE +    SYNTAX      IpAddress +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the Internet address of the peer" +    ::= { ntpPeersVarEntry 3 } + +ntpPeersPeerPort OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " 16-bit port number of the peer." +    ::= { ntpPeersVarEntry 4 } + +ntpPeersHostAddress OBJECT-TYPE +    SYNTAX      IpAddress +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the Internet address of the host" +    ::= { ntpPeersVarEntry 5 } + +ntpPeersHostPort OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " 16-bit port number of the host" +    ::= { ntpPeersVarEntry 6 } + +ntpPeersLeap OBJECT-TYPE +    SYNTAX      NTPLeapIndicator +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " two-bit code warning of an impending leap +         second to be inserted in the NTP timescale." +    ::= { ntpPeersVarEntry 7 } + +ntpPeersMode OBJECT-TYPE +    SYNTAX      INTEGER { +		   unspecified(0), +		   symmetricActive(1), +                   symmetricPassive(2), +		   client(3), +		   server(4), +                   broadcast(5), +		   reservedControl(6), +		   reservedPrivate(7) +		} +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the association mode,with values coded as +         follows: +         0, unspecified +         1, symmetric active +         2, symmetric passive +         3, client +         4, server +         5, broadcast +         6, reserved for NTP control messages +         7, reserved for private use +         " +    ::= { ntpPeersVarEntry 8 } + +ntpPeersStratum OBJECT-TYPE +    SYNTAX      Integer32 (0..255) +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " indicating the stratum of the peer clock. +         0, unspecified +         1, primary reference (e.g.,, calibrated atomic clock, +         radio clock) +         2-255, secondary reference (via NTP)" +    ::= { ntpPeersVarEntry 9 } + +ntpPeersPeerPoll OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "poll interval of the peer" +    ::= { ntpPeersVarEntry 10 } + +ntpPeersHostPoll OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "poll interval of the host" +    ::= { ntpPeersVarEntry 11 } + +ntpPeersPrecision OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the same as the systemPrecision except this is +         for the peer" +    ::= { ntpPeersVarEntry 12 } + +ntpPeersRootDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the same as the systemRootDealy except this is for +         the peer" +    ::= { ntpPeersVarEntry 13 } + +ntpPeersRootDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the same as the systemDispersion except this is for +         the peer" +    ::= { ntpPeersVarEntry 14 } + +ntpPeersRefId OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the same as the systemRefid except this is for +         the peer" +    ::= { ntpPeersVarEntry 15 } + +ntpPeersRefTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the same as the systemRefTime except this is for +         the peer" +    ::= { ntpPeersVarEntry 16 } + +ntpPeersOrgTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " the local time at the peer when its latest +         NTP message was sent. If the peer becomes unreachable the +         value is set to zero." +    ::= { ntpPeersVarEntry 17 } + +ntpPeersReceiveTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the local time when the latest NTP message +         from the peer arrived. If the peer becomes unreachable the +         value is set to zero." +    ::= { ntpPeersVarEntry 18 } + +ntpPeersTransmitTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the local time at which the NTP message +         departed the sender." +    ::= { ntpPeersVarEntry 19 } + +ntpPeersUpdateTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        " " +    ::= { ntpPeersVarEntry 20 } + +ntpPeersReach OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "a shift register of NTP.WINDOW bits used to determine +         the reachability status of the peer, with bits entering +         from the least significant (rightmost) end. A peer is +         considered reachable if at least one bit in this register is +         set to one." +    ::= { ntpPeersVarEntry 21 } + +ntpPeersTimer OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpPeersVarEntry 22 } + +ntpPeersOffset OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpPeersVarEntry 23 } + +ntpPeersDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpPeersVarEntry 24 } + +ntpPeersDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpPeersVarEntry 25 } + +-- +-- Filter Group +-- +-- Implementation of this group is optional. It must be implemented +-- when the filter and selection algorithms described in Section 4 +-- of RFC 1305 are used. +-- + +-- +-- Filter Group Peer Variables Table +-- +ntpFilterPeersVarTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF NtpFilterPeersVarEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "This table is an extension of the Peer Variables Table +         in the Peer Group." +    ::= { ntpFilter 1 } + +ntpFilterPeersVarEntry OBJECT-TYPE +    SYNTAX      NtpFilterPeersVarEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    AUGMENTS    { ntpPeersVarEntry } +    ::= { ntpFilterPeersVarTable 1 } + +NtpFilterPeersVarEntry ::= SEQUENCE { +    ntpFilterValidEntries   Integer32 +} + +ntpFilterValidEntries OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "The number of valid entries for a peer in the Filter Register Table." +    ::= { ntpFilterPeersVarEntry 1 } + +-- +-- Filter Register Table +-- + +ntpFilterRegisterTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF NtpFilterRegisterEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpFilter 2 } + +ntpFilterRegisterEntry OBJECT-TYPE +    SYNTAX      NtpFilterRegisterEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    INDEX       { ntpPeersAssocId, ntpFilterIndex } +    ::= { ntpFilterRegisterTable 1 } + +NtpFilterRegisterEntry ::= SEQUENCE { +    ntpFilterIndex              Unsigned32, +    ntpFilterPeersOffset        OCTET STRING, +    ntpFilterPeersDelay         OCTET STRING, +    ntpFilterPeersDispersion    OCTET STRING +} + +ntpFilterIndex OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpFilterRegisterEntry 1 } + +ntpFilterPeersOffset OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the offset of the peer clock relative to the +         local clock in seconds" +    ::= { ntpFilterRegisterEntry 2 } + +ntpFilterPeersDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "roundtrip delay of the peer clock relative to the +         local clock over the network path between them, in seconds. +         this variable can take on both positive and negative values, +         depending on clock precision and skew-error accumulation." +    ::= { ntpFilterRegisterEntry 3 } + +ntpFilterPeersDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "the maximum error of the peer clock relative to the +         local clock over the network path between them, in seconds. +         Only positive values greater than zero are possible." +    ::= { ntpFilterRegisterEntry 4 } + +END diff --git a/mibs/NTP-PROXY-MIB.txt b/mibs/NTP-PROXY-MIB.txt new file mode 100644 index 0000000..a356992 --- /dev/null +++ b/mibs/NTP-PROXY-MIB.txt @@ -0,0 +1,616 @@ +-- +-- NTP Proxy MIB, Revision 0.2, 7/25/97 +-- + +NTP-PROXY-MIB DEFINITIONS ::= BEGIN + +IMPORTS +    NTPLeapIndicator, NTPTimeStamp +        FROM NTP-MIB + +    Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, +    enterprises +        FROM SNMPv2-SMI + +    TEXTUAL-CONVENTION, TruthValue +        FROM SNMPv2-TC; + +ntpProxyMIB MODULE-IDENTITY +    LAST-UPDATED "199707251540Z" +    ORGANIZATION +        "University of Delaware" +    CONTACT-INFO +        "Adarsh Sethi +         Department of Computer & Information Sciences +         University of Delaware +         Newark, DE 19716 +         Tel: +1 302 831 1945 +         E-mail: sethi@cis.udel.edu + +         David Mills +         Department of Electrical Engineering +         University of Delaware +         Newark, DE 19716 +         Tel: +1 302 831 ???? +         E-mail: mills@ee.udel.edu" +    DESCRIPTION +        "This MIB module defines a MIB which provides mechanisms to +         monitor and control many NTP servers via a Proxy Agent." +    ::= { enterprises 1277 4 } + +-- +-- The position within the OID hierarchy of this MIB: +-- + +udel OBJECT IDENTIFIER +    ::= { enterprises 1277 } + +-- +-- The various groups defined within this MIB definition: +-- + +ntpProxyControl OBJECT IDENTIFIER +    ::= { ntpProxyMIB 1 } + +-- +-- Textual conventions: +-- + +NTPRowStatus ::= TEXTUAL-CONVENTION +    STATUS      current +    DESCRIPTION +        "The NTPRowStatus textual convention is modeled after the +         RowStatus textual convention of RFC 1903, but is simpler +         because it only allows one create operation (the create- +         and-go of RowStatus) and does not allow row deletion. If +         the state of the status column is `notInService' and the +         management station tries to set it to `create', the +         corresponding row is created and the operation is successful. +         If the set to `create' is attempted when the status column +         is in state `active', the operation fails and inconsistentValue +         is returned. A management station is not permitted to delete +         the conceptual row; deletion is carried out by the agent +         in an autonomous manner." +    SYNTAX      INTEGER { +		   -- the following values are states: +		   -- these values may be read, but not written +		   active(1), +		   notInService(2), +		   -- the following value is an action: +		   -- this value may be written, but is never read +		   create(3) +		} + +-- +-- Control group +-- + +-- +-- ProxyControl Table +-- + +ntpProxyControlTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF NtpProxyControlEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyControl 1 } + +ntpProxyControlEntry OBJECT-TYPE +    SYNTAX      NtpProxyControlEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    INDEX       { ntpProxyServerIPAddr } +    ::= { ntpProxyControlTable 1 } + +NtpProxyControlEntry ::= SEQUENCE { +    ntpProxyServerIPAddr    IpAddress, +    ntpProxyControlStatus   NTPRowStatus +} + +ntpProxyServerIPAddr OBJECT-TYPE +    SYNTAX      IpAddress +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyControlEntry 1 } + +ntpProxyControlStatus OBJECT-TYPE +    SYNTAX      NTPRowStatus +    MAX-ACCESS  read-create +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyControlEntry 2 } + +-- +-- Proxy Server System Table +-- + +ntpProxyServerSystemTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF NtpProxyServerSystemEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyControl 2 } + +ntpProxyServerSystemEntry OBJECT-TYPE +    SYNTAX      NtpProxyServerSystemEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    INDEX       { ntpProxyServerIPAddr } +    ::= { ntpProxyServerSystemTable 1 } + +NtpProxyServerSystemEntry ::= SEQUENCE { +    ntpProxyServerSysLeap               NTPLeapIndicator, +    ntpProxyServerSysStratum            Integer32, +    ntpProxyServerSysPrecision          Integer32, +    ntpProxyServerSysRootDelay          OCTET STRING, +    ntpProxyServerSysRootDispersion     OCTET STRING, +    ntpProxyServerSysRefId              OCTET STRING, +    ntpProxyServerSysRefTime            NTPTimeStamp, +    ntpProxyServerSysPoll               Integer32, +    ntpProxyServerSysPeer               Unsigned32, +    ntpProxyServerSysPhase              OCTET STRING, +    ntpProxyServerSysFreq               OCTET STRING, +    ntpProxyServerSysError              OCTET STRING, +    ntpProxyServerSysClock              NTPTimeStamp, +    ntpProxyServerSysSystem             OCTET STRING, +    ntpProxyServerSysProcessor          OCTET STRING +} + +ntpProxyServerSysLeap OBJECT-TYPE +    SYNTAX      NTPLeapIndicator +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 1 } + +ntpProxyServerSysStratum OBJECT-TYPE +    SYNTAX      Integer32 (0..255) +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 2 } + +ntpProxyServerSysPrecision OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 3 } + +ntpProxyServerSysRootDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 4 } + +ntpProxyServerSysRootDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 5 } + +ntpProxyServerSysRefId OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 6 } + +ntpProxyServerSysRefTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 7 } + +ntpProxyServerSysPoll OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 8 } + +ntpProxyServerSysPeer OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 9 } + +ntpProxyServerSysPhase OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 10 } + +ntpProxyServerSysFreq OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 11 } + +ntpProxyServerSysError OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 12 } + +ntpProxyServerSysClock OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 13 } + +ntpProxyServerSysSystem OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 14 } + +ntpProxyServerSysProcessor OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyServerSystemEntry 15 } + +-- +-- Proxy Peer Variables Table +-- +ntpProxyPeersVarTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF NtpProxyPeersVarEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyControl 3 } + +ntpProxyPeersVarEntry OBJECT-TYPE +    SYNTAX      NtpProxyPeersVarEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    INDEX       { ntpProxyServerIPAddr, ntpProxyPeersAssocId } +    ::= { ntpProxyPeersVarTable 1 } + +NtpProxyPeersVarEntry ::= SEQUENCE { +    ntpProxyPeersAssocId                Unsigned32, +    ntpProxyPeersConfigured             TruthValue, +    ntpProxyPeersPeerAddress            IpAddress, +    ntpProxyPeersPeerPort               Unsigned32, +    ntpProxyPeersHostAddress            IpAddress, +    ntpProxyPeersHostPort               Unsigned32, +    ntpProxyPeersLeap                   NTPLeapIndicator, +    ntpProxyPeersMode                   INTEGER, +    ntpProxyPeersStratum                Integer32, +    ntpProxyPeersPeerPoll               Integer32, +    ntpProxyPeersHostPoll               Integer32, +    ntpProxyPeersPrecision              Integer32, +    ntpProxyPeersRootDelay              OCTET STRING, +    ntpProxyPeersRootDispersion         OCTET STRING, +    ntpProxyPeersRefId                  OCTET STRING, +    ntpProxyPeersRefTime                NTPTimeStamp, +    ntpProxyPeersOrgTime                NTPTimeStamp, +    ntpProxyPeersReceiveTime            NTPTimeStamp, +    ntpProxyPeersTransmitTime           NTPTimeStamp, +    ntpProxyPeersUpdateTime             NTPTimeStamp, +    ntpProxyPeersReach                  Unsigned32, +    ntpProxyPeersTimer                  Integer32, +    ntpProxyPeersOffset                 OCTET STRING, +    ntpProxyPeersDelay                  OCTET STRING, +    ntpProxyPeersDispersion             OCTET STRING, +    ntpProxyPeersFilterValidEntries     Integer32 +} + +ntpProxyPeersAssocId OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 1 } + +ntpProxyPeersConfigured OBJECT-TYPE +    SYNTAX      TruthValue +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 2 } + +ntpProxyPeersPeerAddress OBJECT-TYPE +    SYNTAX      IpAddress +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 3 } + +ntpProxyPeersPeerPort OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 4 } + +ntpProxyPeersHostAddress OBJECT-TYPE +    SYNTAX      IpAddress +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 5 } + +ntpProxyPeersHostPort OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 6 } + +ntpProxyPeersLeap OBJECT-TYPE +    SYNTAX      NTPLeapIndicator +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 7 } + +ntpProxyPeersMode OBJECT-TYPE +    SYNTAX      INTEGER { +		   unspecified(0), +		   symmetricActive(1), +                   symmetricPassive(2), +		   client(3), +		   server(4), +                   broadcast(5), +		   reservedControl(6), +		   reservedPrivate(7) } +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 8 } + +ntpProxyPeersStratum OBJECT-TYPE +    SYNTAX      Integer32 (0..255) +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 9 } + +ntpProxyPeersPeerPoll OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 10 } + +ntpProxyPeersHostPoll OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 11 } + +ntpProxyPeersPrecision OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 12 } + +ntpProxyPeersRootDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 13 } + +ntpProxyPeersRootDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 14 } + +ntpProxyPeersRefId OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 15 } + +ntpProxyPeersRefTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 16 } + +ntpProxyPeersOrgTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 17 } + +ntpProxyPeersReceiveTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 18 } + +ntpProxyPeersTransmitTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 19 } + +ntpProxyPeersUpdateTime OBJECT-TYPE +    SYNTAX      NTPTimeStamp +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 20 } + +ntpProxyPeersReach OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 21 } + +ntpProxyPeersTimer OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 22 } + +ntpProxyPeersOffset OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 23 } + +ntpProxyPeersDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 24 } + +ntpProxyPeersDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyPeersVarEntry 25 } + +ntpProxyPeersFilterValidEntries OBJECT-TYPE +    SYNTAX      Integer32 +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "The number of valid entries for a peer in the Proxy Filter +         Register Table. This number can be zero." +    ::= { ntpProxyPeersVarEntry 26 } + +-- +-- Proxy Filter Register Table +-- + +ntpProxyFilterRegisterTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF NtpProxyFilterRegisterEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyControl 4 } + +ntpProxyFilterRegisterEntry OBJECT-TYPE +    SYNTAX      NtpProxyFilterRegisterEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    INDEX       { ntpProxyServerIPAddr, ntpProxyPeersAssocId, +                  ntpProxyFilterIndex } +    ::= { ntpProxyFilterRegisterTable 1 } + +NtpProxyFilterRegisterEntry ::= SEQUENCE { +    ntpProxyFilterIndex             Unsigned32, +    ntpProxyFilterPeersOffset       OCTET STRING, +    ntpProxyFilterPeersDelay        OCTET STRING, +    ntpProxyFilterPeersDispersion   OCTET STRING +} + +ntpProxyFilterIndex OBJECT-TYPE +    SYNTAX      Unsigned32 +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyFilterRegisterEntry 1 } + +ntpProxyFilterPeersOffset OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyFilterRegisterEntry 2 } + +ntpProxyFilterPeersDelay OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyFilterRegisterEntry 3 } + +ntpProxyFilterPeersDispersion OBJECT-TYPE +    SYNTAX      OCTET STRING +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "" +    ::= { ntpProxyFilterRegisterEntry 4 } + +END diff --git a/mibs/RSTP-MIB.txt b/mibs/RSTP-MIB.txt new file mode 100644 index 0000000..26c1ee7 --- /dev/null +++ b/mibs/RSTP-MIB.txt @@ -0,0 +1,325 @@ +-- +-- Copyright (C) The Internet Society (2005). +-- +-- This document is subject to the rights, licenses and restrictions +-- contained in BCP 78, and except as set forth therein, the authors +-- retain all their rights. +-- +-- This document and the information contained herein are provided on an +-- "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS +-- OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET +-- ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, +-- INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE +-- INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED +-- WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. +-- +-- $FreeBSD: src/usr.sbin/bsnmpd/modules/snmp_bridge/RSTP-MIB.txt,v 1.1.12.1 2009/08/03 08:13:06 kensmith Exp $ +-- + +RSTP-MIB DEFINITIONS ::= BEGIN + +-- ------------------------------------------------------------- +-- MIB for IEEE 802.1w Rapid Spanning Tree Protocol +-- ------------------------------------------------------------- + +IMPORTS +    MODULE-IDENTITY, OBJECT-TYPE, Integer32, mib-2 +        FROM SNMPv2-SMI +    TruthValue +        FROM SNMPv2-TC +    MODULE-COMPLIANCE, OBJECT-GROUP +        FROM SNMPv2-CONF +    dot1dStp, dot1dStpPortEntry +        FROM BRIDGE-MIB; + +rstpMIB MODULE-IDENTITY +    LAST-UPDATED "200512070000Z" +    ORGANIZATION "IETF Bridge MIB Working Group" +    CONTACT-INFO +        "Email: Bridge-mib@ietf.org" +    DESCRIPTION +        "The Bridge MIB Extension module for managing devices +         that support the Rapid Spanning Tree Protocol defined +         by IEEE 802.1w. + +         Copyright (C) The Internet Society (2005).  This version of +         this MIB module is part of RFC 4318; See the RFC itself for +         full legal notices." + +    REVISION     "200512070000Z" +    DESCRIPTION +         "The initial version of this MIB module as published in +          RFC 4318." +    ::= { mib-2 134 } + +-- ---------------------------------------------------------- -- +-- subtrees in the RSTP-MIB +-- ---------------------------------------------------------- -- + +rstpNotifications OBJECT IDENTIFIER ::= { rstpMIB 0 } +rstpObjects       OBJECT IDENTIFIER ::= { rstpMIB 1 } +rstpConformance   OBJECT IDENTIFIER ::= { rstpMIB 2 } + +-- ------------------------------------------------------------- +-- Addition to the dot1dStp group +-- ------------------------------------------------------------- + +dot1dStpVersion OBJECT-TYPE +    SYNTAX      INTEGER { +                    stpCompatible(0), +                    rstp(2) +                } +    MAX-ACCESS  read-write +    STATUS      current +    DESCRIPTION +        "The version of Spanning Tree Protocol the bridge is +         currently running.  The value 'stpCompatible(0)' +         indicates the Spanning Tree Protocol specified in +         IEEE 802.1D-1998 and 'rstp(2)' indicates the Rapid +         Spanning Tree Protocol specified in IEEE 802.1w and +         clause 17 of 802.1D-2004.  The values are directly from +         the IEEE standard.  New values may be defined as future +         versions of the protocol become available. + +         The value of this object MUST be retained across +         reinitializations of the management system." +    REFERENCE +        "IEEE 802.1w clause 14.8.1, 17.12, 17.16.1" +    DEFVAL      { rstp } +    ::= { dot1dStp 16 } + +dot1dStpTxHoldCount OBJECT-TYPE +    SYNTAX      Integer32 (1..10) +    MAX-ACCESS  read-write +    STATUS      current +    DESCRIPTION +        "The value used by the Port Transmit state machine to limit +         the maximum transmission rate. + +         The value of this object MUST be retained across +         reinitializations of the management system." + +    REFERENCE +        "IEEE 802.1w clause 17.16.6" +    DEFVAL      { 3 } +    ::= { dot1dStp 17 } + +-- +-- { dot1dStp 18 } was used to represent dot1dStpPathCostDefault +-- in an earlier version of this MIB.  It has since been +-- obsoleted, and should not be used. +-- + +dot1dStpExtPortTable OBJECT-TYPE +    SYNTAX      SEQUENCE OF Dot1dStpExtPortEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "A table that contains port-specific Rapid Spanning Tree +         information." +    ::= { dot1dStp 19 } + +dot1dStpExtPortEntry OBJECT-TYPE +    SYNTAX      Dot1dStpExtPortEntry +    MAX-ACCESS  not-accessible +    STATUS      current +    DESCRIPTION +        "A list of Rapid Spanning Tree information maintained by +         each port." +    AUGMENTS    { dot1dStpPortEntry } +    ::= { dot1dStpExtPortTable 1 } + +Dot1dStpExtPortEntry ::= +    SEQUENCE { +        dot1dStpPortProtocolMigration +            TruthValue, +        dot1dStpPortAdminEdgePort +            TruthValue, +        dot1dStpPortOperEdgePort +            TruthValue, +        dot1dStpPortAdminPointToPoint +            INTEGER, +        dot1dStpPortOperPointToPoint +            TruthValue, +        dot1dStpPortAdminPathCost +            Integer32 +    } + +dot1dStpPortProtocolMigration OBJECT-TYPE +    SYNTAX      TruthValue +    MAX-ACCESS  read-write +    STATUS      current +    DESCRIPTION +        "When operating in RSTP (version 2) mode, writing true(1) +         to this object forces this port to transmit RSTP BPDUs. +         Any other operation on this object has no effect and +         it always returns false(2) when read." +    REFERENCE +        "IEEE 802.1w clause 14.8.2.4, 17.18.10, 17.26" +    ::= { dot1dStpExtPortEntry 1 } + +dot1dStpPortAdminEdgePort OBJECT-TYPE +    SYNTAX      TruthValue +    MAX-ACCESS  read-write +    STATUS      current +    DESCRIPTION +        "The administrative value of the Edge Port parameter.  A +         value of true(1) indicates that this port should be +         assumed as an edge-port, and a value of false(2) indicates +         that this port should be assumed as a non-edge-port. +         Setting this object will also cause the corresponding +         instance of dot1dStpPortOperEdgePort to change to the +         same value.  Note that even when this object's value +         is true, the value of the corresponding instance of +         dot1dStpPortOperEdgePort can be false if a BPDU has +         been received. + +         The value of this object MUST be retained across +         reinitializations of the management system." + +    REFERENCE +        "IEEE 802.1t clause 14.8.2, 18.3.3" +    ::= { dot1dStpExtPortEntry 2 } + +dot1dStpPortOperEdgePort OBJECT-TYPE +    SYNTAX      TruthValue +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "The operational value of the Edge Port parameter.  The +         object is initialized to the value of the corresponding +         instance of dot1dStpPortAdminEdgePort.  When the +         corresponding instance of dot1dStpPortAdminEdgePort is +         set, this object will be changed as well.  This object +         will also be changed to false on reception of a BPDU." + +    REFERENCE +        "IEEE 802.1t clause 14.8.2, 18.3.4" +    ::= { dot1dStpExtPortEntry 3 } + +dot1dStpPortAdminPointToPoint OBJECT-TYPE +    SYNTAX      INTEGER { +                    forceTrue(0), +                    forceFalse(1), +                    auto(2) +                } +    MAX-ACCESS  read-write +    STATUS      current +    DESCRIPTION +        "The administrative point-to-point status of the LAN segment +         attached to this port, using the enumeration values of the +         IEEE 802.1w clause.  A value of forceTrue(0) indicates +         that this port should always be treated as if it is +         connected to a point-to-point link.  A value of +         forceFalse(1) indicates that this port should be treated as +         having a shared media connection.  A value of auto(2) +         indicates that this port is considered to have a +         point-to-point link if it is an Aggregator and all of its +         members are aggregatable, or if the MAC entity +         is configured for full duplex operation, either through +         auto-negotiation or by management means.  Manipulating this +         object changes the underlying adminPortToPortMAC. + +         The value of this object MUST be retained across +         reinitializations of the management system." + +   REFERENCE +       "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2" +   ::= { dot1dStpExtPortEntry 4 } + +dot1dStpPortOperPointToPoint OBJECT-TYPE +    SYNTAX      TruthValue +    MAX-ACCESS  read-only +    STATUS      current +    DESCRIPTION +        "The operational point-to-point status of the LAN segment +         attached to this port.  It indicates whether a port is +         considered to have a point-to-point connection. +         If adminPointToPointMAC is set to auto(2), then the value +         of operPointToPointMAC is determined in accordance with the +         specific procedures defined for the MAC entity concerned, +         as defined in IEEE 802.1w, clause 6.5.  The value is +         determined dynamically; that is, it is re-evaluated whenever +         the value of adminPointToPointMAC changes, and whenever +         the specific procedures defined for the MAC entity evaluate +         a change in its point-to-point status." +    REFERENCE +        "IEEE 802.1w clause 6.4.3, 6.5, 14.8.2" +    ::= { dot1dStpExtPortEntry 5 } + +dot1dStpPortAdminPathCost OBJECT-TYPE +    SYNTAX      Integer32 (0..200000000) +    MAX-ACCESS  read-write +    STATUS      current +    DESCRIPTION +        "The administratively assigned value for the contribution +         of this port to the path cost of paths toward the spanning +         tree root. + +         Writing a value of '0' assigns the automatically calculated +         default Path Cost value to the port.  If the default Path +         Cost is being used, this object returns '0' when read. + +         This complements the object dot1dStpPortPathCost or +         dot1dStpPortPathCost32, which returns the operational value +         of the path cost. + +         The value of this object MUST be retained across +         reinitializations of the management system." +    REFERENCE +        "IEEE 802.1D-1998: Section 8.5.5.3" +    ::= { dot1dStpExtPortEntry 6 } + +-- ------------------------------------------------------------- +-- rstpMIB - Conformance Information +-- ------------------------------------------------------------- + +rstpGroups OBJECT IDENTIFIER ::= { rstpConformance 1 } + +rstpCompliances OBJECT IDENTIFIER ::= { rstpConformance 2 } + +-- ------------------------------------------------------------- +-- Units of conformance +-- ------------------------------------------------------------- + +rstpBridgeGroup OBJECT-GROUP +    OBJECTS { +        dot1dStpVersion, +        dot1dStpTxHoldCount +    } +    STATUS      current +    DESCRIPTION +        "Rapid Spanning Tree information for the bridge." +    ::= { rstpGroups 1 } + +rstpPortGroup OBJECT-GROUP +    OBJECTS { +        dot1dStpPortProtocolMigration, +        dot1dStpPortAdminEdgePort, +        dot1dStpPortOperEdgePort, +        dot1dStpPortAdminPointToPoint, +        dot1dStpPortOperPointToPoint, +        dot1dStpPortAdminPathCost +    } +    STATUS      current +    DESCRIPTION +        "Rapid Spanning Tree information for individual ports." +    ::= { rstpGroups 2 } + +-- ------------------------------------------------------------- +-- Compliance statements +-- ------------------------------------------------------------- + +rstpCompliance MODULE-COMPLIANCE +    STATUS      current +    DESCRIPTION +        "The compliance statement for device support of Rapid +         Spanning Tree Protocol (RSTP) bridging services." +    MODULE +        MANDATORY-GROUPS { +            rstpBridgeGroup, +            rstpPortGroup +        } +    ::= { rstpCompliances 1 } + +END | 
