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
298 lines
8.6 KiB
Plaintext
298 lines
8.6 KiB
Plaintext
-- *********************************************************************
|
||
-- *********************************************************************
|
||
-- ** Filename: PRVT-NETWORK-LOOPBACK-TEST-MIB
|
||
-- ** Project: Network Loopback Tester
|
||
-- ** Purpose: Private MIB
|
||
-- *********************************************************************
|
||
-- (c) Copyright, 2001, 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.
|
||
-- BATM Advanced Communications retains all title and
|
||
-- ownership in the Specification, including any revisions.
|
||
|
||
-- BATM Advanced Communications grants all interested parties a non-exclusive
|
||
-- license to use and distribute an unmodified copy of this
|
||
-- Specification in connection with management of BATM Advanced Communications
|
||
-- and Telco Systems products, and without fee, provided that the following
|
||
-- conditions are met:
|
||
-- 1. Redistributions of this specification 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.
|
||
-- 3. The name of the BATM Advanced Communications MAY NOT be used to endorse
|
||
-- or promote products derived from this specification without specific prior written
|
||
-- permission.
|
||
--
|
||
-- EXCEPT AS RESTRICTED BY LAW, OR AS PROVIDED IN BATM'S LIMITED
|
||
-- WARRANTY, THE SPECIFICATIONS 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 SPECIFICATION CONTAINED IN THIS FILE.
|
||
PRVT-MONITOR-SESSION-MIB DEFINITIONS ::= BEGIN
|
||
|
||
IMPORTS
|
||
MODULE-IDENTITY,
|
||
OBJECT-TYPE,
|
||
Integer32
|
||
FROM SNMPv2-SMI
|
||
|
||
|
||
|
||
MODULE-COMPLIANCE,
|
||
OBJECT-GROUP
|
||
FROM SNMPv2-CONF
|
||
|
||
|
||
-- [RFC2578]
|
||
|
||
DisplayString,
|
||
TEXTUAL-CONVENTION
|
||
FROM SNMPv2-TC
|
||
|
||
PortList
|
||
FROM Q-BRIDGE-MIB
|
||
|
||
switch
|
||
FROM PRVT-SWITCH-MIB;
|
||
|
||
-- The MONITOR SESSION MIB
|
||
prvtMonitorSessionMib MODULE-IDENTITY
|
||
|
||
LAST-UPDATED "201105230000Z"
|
||
ORGANIZATION "BATM Advanced Communication"
|
||
CONTACT-INFO
|
||
"BATM/Telco Systems Support team
|
||
Email:
|
||
For North America: [email protected]
|
||
For North Europe: [email protected], [email protected]
|
||
For the rest of the world: [email protected]"
|
||
|
||
DESCRIPTION
|
||
"This MIB contains manageable objects for
|
||
encapsulating Switched Port Analyzer(SPAN) feature."
|
||
|
||
REVISION "201105230000Z"
|
||
DESCRIPTION
|
||
"Initial version."
|
||
|
||
::= { switch 1000 }
|
||
|
||
|
||
-- -------------------------------------------------------------
|
||
-- Textual Conventions
|
||
-- -------------------------------------------------------------
|
||
Direction ::= TEXTUAL-CONVENTION
|
||
STATUS current
|
||
DESCRIPTION
|
||
"Monitor direction:
|
||
tx- Transmit
|
||
rx- Receive"
|
||
SYNTAX INTEGER
|
||
{
|
||
rx(1),
|
||
tx(2)
|
||
}
|
||
-- -------------------------------------------------------------
|
||
-- groups in the PRVT-MONITOR-SESSION MIB
|
||
-- -------------------------------------------------------------
|
||
prvtMonitorSessionNotification OBJECT IDENTIFIER ::= { prvtMonitorSessionMib 0 }
|
||
prvtMonitorSessionObjects OBJECT IDENTIFIER ::= { prvtMonitorSessionMib 1 }
|
||
prvtMonitorSessionConformance OBJECT IDENTIFIER ::= { prvtMonitorSessionMib 2 }
|
||
|
||
-- -------------------------------------------------------------
|
||
-- prvtMonitorSessionObjects group
|
||
-- -------------------------------------------------------------
|
||
prvtMonitorSessionTable OBJECT-TYPE
|
||
SYNTAX SEQUENCE OF PrvtMonitorSessionEntry
|
||
MAX-ACCESS not-accessible
|
||
STATUS current
|
||
DESCRIPTION
|
||
"This table contains object for enable and configure Enable Switched Port Analyzer."
|
||
::= { prvtMonitorSessionObjects 1 }
|
||
|
||
prvtMonitorSessionEntry OBJECT-TYPE
|
||
SYNTAX PrvtMonitorSessionEntry
|
||
MAX-ACCESS not-accessible
|
||
STATUS current
|
||
DESCRIPTION
|
||
"An entry in the table will describe all parameteres of Switched Port Analyzer per each direction Rx or Tx "
|
||
INDEX { prvtMonitorSessionDirection }
|
||
::= {prvtMonitorSessionTable 1}
|
||
|
||
PrvtMonitorSessionEntry ::= SEQUENCE{
|
||
prvtMonitorSessionDirection Direction,
|
||
prvtMonitorSessionSource PortList,
|
||
prvtMonitorSessionDestination Integer32
|
||
}
|
||
|
||
prvtMonitorSessionDirection OBJECT-TYPE
|
||
SYNTAX Direction
|
||
MAX-ACCESS not-accessible
|
||
STATUS current
|
||
DESCRIPTION
|
||
"Direction recived/trasmitted of the monitored traffic."
|
||
::= {prvtMonitorSessionEntry 1}
|
||
|
||
prvtMonitorSessionSource OBJECT-TYPE
|
||
SYNTAX PortList
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"Monitored source list representing the ports to be mirrored."
|
||
::= {prvtMonitorSessionEntry 2}
|
||
|
||
|
||
|
||
prvtMonitorSessionDestination OBJECT-TYPE
|
||
SYNTAX Integer32
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"Analyzer port."
|
||
::= {prvtMonitorSessionEntry 3}
|
||
|
||
prvtAnalyzerVLANTagTable OBJECT-TYPE
|
||
SYNTAX SEQUENCE OF PrvtAnalyzerVLANTagEntry
|
||
MAX-ACCESS not-accessible
|
||
STATUS current
|
||
DESCRIPTION
|
||
"This table contains object for enable and configure Remote Analyzer VLAN Tag"
|
||
::= { prvtMonitorSessionObjects 2 }
|
||
|
||
prvtAnalyzerVLANTagEntry OBJECT-TYPE
|
||
SYNTAX PrvtAnalyzerVLANTagEntry
|
||
MAX-ACCESS not-accessible
|
||
STATUS current
|
||
DESCRIPTION
|
||
"An entry in the table will describe all parameteres of Remote Analyzer VLAN Tag per each direction Rx or Tx "
|
||
INDEX { prvtMonitorSessionDirection }
|
||
::= {prvtAnalyzerVLANTagTable 1}
|
||
|
||
PrvtAnalyzerVLANTagEntry ::= SEQUENCE{
|
||
prvtAnalyzerVLANTagEnable INTEGER,
|
||
prvtAnalyzerVLANTagVID Integer32,
|
||
prvtAnalyzerVLANTagEtherType DisplayString,
|
||
prvtAnalyzerVLANTagCFI INTEGER,
|
||
prvtAnalyzerVLANTagVPT INTEGER
|
||
}
|
||
|
||
prvtAnalyzerVLANTagEnable OBJECT-TYPE
|
||
SYNTAX INTEGER
|
||
{
|
||
enable(1),
|
||
disable(2)
|
||
}
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"Enable Remote Analyzer VLAN Tag."
|
||
::= {prvtAnalyzerVLANTagEntry 1}
|
||
|
||
prvtAnalyzerVLANTagVID OBJECT-TYPE
|
||
SYNTAX Integer32 (1..4095)
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"The VLAN ID of the VLAN tag added to packet forwarded to Analyzer."
|
||
::= {prvtAnalyzerVLANTagEntry 2}
|
||
|
||
|
||
prvtAnalyzerVLANTagEtherType OBJECT-TYPE
|
||
SYNTAX DisplayString
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"The Vlan ether type of the VLAN tag added to packet forwarded to Analyzer."
|
||
::= {prvtAnalyzerVLANTagEntry 3}
|
||
|
||
|
||
prvtAnalyzerVLANTagCFI OBJECT-TYPE
|
||
SYNTAX INTEGER
|
||
{
|
||
clear(0),
|
||
set(1)
|
||
}
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"The CFI of the VLAN tag added to packet forwarded to Analyzer."
|
||
::= {prvtAnalyzerVLANTagEntry 4}
|
||
|
||
prvtAnalyzerVLANTagVPT OBJECT-TYPE
|
||
SYNTAX INTEGER
|
||
{
|
||
vpt-value0(0),
|
||
vpt-value1(1),
|
||
vpt-value2(2),
|
||
vpt-value3(3),
|
||
vpt-value4(4),
|
||
vpt-value5(5),
|
||
vpt-value6(6),
|
||
vpt-value7(7),
|
||
undefined(8)
|
||
}
|
||
MAX-ACCESS read-write
|
||
STATUS current
|
||
DESCRIPTION
|
||
"The VPT of the VLAN tag added to packet forwarded to Analyzer."
|
||
::= {prvtAnalyzerVLANTagEntry 5}
|
||
|
||
-- ----------------------------------------------------------------------------
|
||
-- Notifications
|
||
-- ----------------------------------------------------------------------------
|
||
|
||
-- ----------------------------------------------------------------------------
|
||
-- Conformance Information
|
||
-- ----------------------------------------------------------------------------
|
||
prvtMonitorSessionCompliances OBJECT IDENTIFIER ::= {prvtMonitorSessionConformance 1}
|
||
prvtMonitorSessionGroups OBJECT IDENTIFIER ::= {prvtMonitorSessionConformance 2}
|
||
|
||
-- compliance statements
|
||
prvtMonitorSessionCompliance MODULE-COMPLIANCE
|
||
STATUS current
|
||
DESCRIPTION
|
||
"The compliance statement for Switched Port Analyzer."
|
||
MODULE -- this module
|
||
MANDATORY-GROUPS {
|
||
prvtMonitorSessionMirroredGroup,
|
||
prvtMonitorSessionAnalyzerGroup
|
||
}
|
||
::= {prvtMonitorSessionCompliances 1}
|
||
|
||
prvtMonitorSessionMirroredGroup OBJECT-GROUP
|
||
OBJECTS {
|
||
prvtMonitorSessionSource
|
||
} STATUS current
|
||
DESCRIPTION
|
||
"The group of objects dedicated to mirrored source."
|
||
::= {prvtMonitorSessionGroups 1}
|
||
|
||
prvtMonitorSessionAnalyzerGroup OBJECT-GROUP
|
||
OBJECTS {
|
||
prvtMonitorSessionDestination,
|
||
prvtAnalyzerVLANTagEnable
|
||
} STATUS current
|
||
DESCRIPTION
|
||
"The group of objects dedicated to analyzer."
|
||
::= {prvtMonitorSessionGroups 2}
|
||
|
||
END
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|