mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Extract DiscoveryItem and move some things to better places. Extract model class Fix up model construction. I have problem with construction... Makeshift model working. Switch constructor to factory. discover() and create() Support legacy discovery. Remove uneeded custom pollers Remove netonix custom detection as we try ucd on all os now. Add a few yaml procs. Fix a couple things. More processor discovery conversions Move Calix e7 to standard hrProcessorLoad, but it doesn't fully implement the HR-MIB, move things around to make it work. Add a few yaml procs. Fix a couple things. Correct some stupid mib stuff. Move more, drop php 5.3 Add netscaler which uses string indexes. Port fiberhome to yaml and use skip_values More conversions. BroadcomProcessorUsage Trait Serveriron and Ironware share some mibs. Create a common abstract os for them. Add yaml support for mib specification in each data entry Make legacy discover_processor() set 0 for hrDeviceIndex Untangle Dell switch OS processors Use use shared OS for groups if they don't have a specific group. fix silly mib mistake Make index optional Move HR and UCD to Traits and out of Processor. * forgot to update the fortiswitch index * Make sgos and avaya-ers match the old index. * fix comware test data * fix merge errors * fix dsm and remove pointless empty modules * file not found exception is in the wrong place. * Updated processor development docs
169 lines
5.7 KiB
Plaintext
169 lines
5.7 KiB
Plaintext
-- *********************************************************************
|
|
-- **
|
|
-- ** BATM Advanced Communications.
|
|
-- **
|
|
-- *********************************************************************
|
|
-- ** Filename: PRVT-STORM-CTL-MIB.mib
|
|
-- ** Project: T-Metro Switches.
|
|
-- ** Purpose: Private MIB
|
|
-- *********************************************************************
|
|
-- (c) Copyright, 2009, BATM Advanced Communications. All rights reserved.
|
|
-- WARNING:
|
|
--
|
|
-- BY UTILIZING THIS FILE, YOU AGREE TO THE FOLLOWING:
|
|
--
|
|
-- This file is the property of BATM Advanced Communications and contains
|
|
-- proprietary and confidential information. This file is made
|
|
-- available to authorized BATM customers on the express
|
|
-- condition that neither it, nor any of the information contained
|
|
-- therein, shall be disclosed to third parties or be used for any
|
|
-- purpose other than to replace, modify or upgrade firmware and/or
|
|
-- software components of BATM manufactured equipment within the
|
|
-- authorized customer's network, and that such transfer be
|
|
-- completed in accordance with the instructions provided by
|
|
-- BATM. Any other use is strictly prohibited.
|
|
--
|
|
-- EXCEPT AS RESTRICTED BY LAW, OR AS PROVIDED IN BATM'S LIMITED
|
|
-- WARRANTY, THE SOFTWARE PROGRAMS CONTAINED IN THIS FILE ARE
|
|
-- PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES
|
|
-- OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
--
|
|
-- IN NO EVENT SHALL BATM BE LIABLE FOR ANY DAMAGES WHATSOEVER
|
|
-- INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
|
|
-- PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR
|
|
-- OTHER CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY
|
|
-- TO USE, THE SOFTWARE CONTAINED IN THIS FILE.
|
|
--
|
|
-- ----------------------------------------------------------------------------
|
|
|
|
PRVT-STORM-CTL-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
ifIndex
|
|
FROM IF-MIB
|
|
switch
|
|
FROM PRVT-SWITCH-MIB
|
|
MODULE-IDENTITY, OBJECT-TYPE, Unsigned32
|
|
FROM SNMPv2-SMI
|
|
RowStatus, TEXTUAL-CONVENTION, TruthValue
|
|
FROM SNMPv2-TC;
|
|
|
|
prvtStormCtlMIB MODULE-IDENTITY
|
|
LAST-UPDATED "201006210000Z"
|
|
ORGANIZATION
|
|
"BATM Advanced Communication"
|
|
CONTACT-INFO
|
|
"BATM/Telco Systems Support team
|
|
Email:
|
|
For North America: techsupport@telco.com
|
|
For North Europe: support@batm.de, info@batm.de
|
|
For the rest of the world: techsupport@telco.com"
|
|
DESCRIPTION
|
|
"The MIB module for managing storm control."
|
|
REVISION "201006210000Z"
|
|
DESCRIPTION
|
|
"Initial version."
|
|
::= { switch 171 }
|
|
|
|
|
|
RateThresholdType ::= TEXTUAL-CONVENTION
|
|
DISPLAY-HINT "d"
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A rate threshold in packets per seconds."
|
|
SYNTAX Unsigned32
|
|
|
|
prvtStormCtlMIBObjects OBJECT IDENTIFIER
|
|
::= { prvtStormCtlMIB 1 }
|
|
|
|
prvtStrmCtlPortTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF PrvtStrmCtlPortEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A list of interfaces that have storm control functionality configured."
|
|
::= { prvtStormCtlMIBObjects 1 }
|
|
|
|
prvtStrmCtlPortEntry OBJECT-TYPE
|
|
SYNTAX PrvtStrmCtlPortEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"An entry in prvtStrmCtlPortTable."
|
|
INDEX { ifIndex }
|
|
::= { prvtStrmCtlPortTable 1 }
|
|
|
|
PrvtStrmCtlPortEntry ::= SEQUENCE {
|
|
prvtStrmCtlPortRowStatus RowStatus,
|
|
prvtStrmCtlPortShutdown TruthValue
|
|
}
|
|
|
|
prvtStrmCtlPortRowStatus OBJECT-TYPE
|
|
SYNTAX RowStatus
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The RowStatus for this port."
|
|
::= { prvtStrmCtlPortEntry 1 }
|
|
|
|
prvtStrmCtlPortShutdown OBJECT-TYPE
|
|
SYNTAX TruthValue
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Set to 'false' to enable storm control functionality on this port."
|
|
::= { prvtStrmCtlPortEntry 3 }
|
|
|
|
prvtStrmCtlPortTrafficTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF PrvtStrmCtlPortTrafficEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"A table of traffic-type specific configuration for each interface.
|
|
Currently, only one traffic type is supported per interface."
|
|
::= { prvtStormCtlMIBObjects 3 }
|
|
|
|
prvtStrmCtlPortTrafficEntry OBJECT-TYPE
|
|
SYNTAX PrvtStrmCtlPortTrafficEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"An entry in prvtStrmCtlPortTrafficTable."
|
|
INDEX { ifIndex, prvtStrmCtlPortTrafficType }
|
|
::= { prvtStrmCtlPortTrafficTable 1 }
|
|
|
|
PrvtStrmCtlPortTrafficEntry ::= SEQUENCE {
|
|
prvtStrmCtlPortTrafficType INTEGER,
|
|
prvtStrmCtlPortTrafficRowStatus RowStatus,
|
|
prvtStrmCtlPortTrafficThreshold RateThresholdType
|
|
}
|
|
|
|
prvtStrmCtlPortTrafficType OBJECT-TYPE
|
|
SYNTAX INTEGER { all(0), unknown(1), multicast(2), broadcast(4) }
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The type of traffic to which this row applies "
|
|
::= { prvtStrmCtlPortTrafficEntry 1 }
|
|
|
|
prvtStrmCtlPortTrafficRowStatus OBJECT-TYPE
|
|
SYNTAX RowStatus
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The RowStatus for this traffic type."
|
|
::= { prvtStrmCtlPortTrafficEntry 2 }
|
|
|
|
prvtStrmCtlPortTrafficThreshold OBJECT-TYPE
|
|
SYNTAX RateThresholdType
|
|
UNITS "packets-per-second"
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The threshold at which, when exceeded, traffic will undergo
|
|
storm control action for this port and traffic type."
|
|
::= { prvtStrmCtlPortTrafficEntry 3 }
|
|
|
|
END -- end of module PRVT-STORM-CTL-MIB.
|