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
174 lines
6.0 KiB
Plaintext
174 lines
6.0 KiB
Plaintext
-- *********************************************************************
|
|
-- **
|
|
-- ** BATM Advanced Communications.
|
|
-- **
|
|
-- *********************************************************************
|
|
-- ** Filename: PRVT-RESILIENT-LINK-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-RESILIENT-LINK-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
InterfaceIndex, InterfaceIndexOrZero
|
|
FROM IF-MIB
|
|
switch
|
|
FROM PRVT-SWITCH-MIB
|
|
Integer32, MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE,
|
|
Unsigned32
|
|
FROM SNMPv2-SMI
|
|
RowStatus, TruthValue
|
|
FROM SNMPv2-TC;
|
|
|
|
prvtResilientLinkMIB MODULE-IDENTITY
|
|
LAST-UPDATED "201005170000Z"
|
|
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 Resilient Link MIB module for managing switch or ipSwitch
|
|
resilient link"
|
|
REVISION "201005170000Z"
|
|
DESCRIPTION
|
|
"Initial version."
|
|
::= { switch 4 }
|
|
|
|
|
|
prvtResilientLinkNotifications OBJECT IDENTIFIER
|
|
::= { prvtResilientLinkMIB 0 }
|
|
|
|
prvtResilientLinkObjects OBJECT IDENTIFIER
|
|
::= { prvtResilientLinkMIB 1 }
|
|
|
|
prvtResilientLinkTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF PrvtResilientLinkEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This table contains config and status information for resilient links."
|
|
::= { prvtResilientLinkObjects 1 }
|
|
|
|
prvtResilientLinkEntry OBJECT-TYPE
|
|
SYNTAX PrvtResilientLinkEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"An entry in prvtResilientLinkTable."
|
|
INDEX { prvtResilientLinkIndex }
|
|
::= { prvtResilientLinkTable 1 }
|
|
|
|
PrvtResilientLinkEntry ::= SEQUENCE {
|
|
prvtResilientLinkIndex Integer32,
|
|
prvtResilientLinkRowStatus RowStatus,
|
|
prvtResilientLinkPrimaryPort InterfaceIndex,
|
|
prvtResilientLinkBackupPort InterfaceIndex,
|
|
prvtResilientLinkBackupMode INTEGER,
|
|
prvtResilientLinkStatusActive InterfaceIndexOrZero,
|
|
prvtResilientLinkStatusSwaps Unsigned32
|
|
}
|
|
|
|
prvtResilientLinkIndex OBJECT-TYPE
|
|
SYNTAX Integer32 (1..256)
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"This object uniquely identifies the resilient link."
|
|
::= { prvtResilientLinkEntry 1 }
|
|
|
|
prvtResilientLinkRowStatus OBJECT-TYPE
|
|
SYNTAX RowStatus
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"RowStatus for prvtResilientLinkTable."
|
|
::= { prvtResilientLinkEntry 2 }
|
|
|
|
prvtResilientLinkPrimaryPort OBJECT-TYPE
|
|
SYNTAX InterfaceIndex
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The primary port for the resilient link."
|
|
::= { prvtResilientLinkEntry 3 }
|
|
|
|
prvtResilientLinkBackupPort OBJECT-TYPE
|
|
SYNTAX InterfaceIndex
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The back-up port for the resilient link."
|
|
::= { prvtResilientLinkEntry 4 }
|
|
|
|
prvtResilientLinkBackupMode OBJECT-TYPE
|
|
SYNTAX INTEGER { standby(1), shutdown(2) }
|
|
MAX-ACCESS read-create
|
|
STATUS current
|
|
DESCRIPTION
|
|
"Configures the behavior of the back-up link."
|
|
::= { prvtResilientLinkEntry 5 }
|
|
|
|
prvtResilientLinkStatusActive OBJECT-TYPE
|
|
SYNTAX InterfaceIndexOrZero
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The currently selected active port.
|
|
A value of zero indicates that neither port has yet been selected as the active port."
|
|
::= { prvtResilientLinkEntry 7 }
|
|
|
|
prvtResilientLinkStatusSwaps OBJECT-TYPE
|
|
SYNTAX Unsigned32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The number of times the resilient link's ports have swapped states.
|
|
(i.e. the number of times that prvtResilientLinkStatusActive has changed."
|
|
::= { prvtResilientLinkEntry 8 }
|
|
|
|
prvtResilientLinkStatusChange NOTIFICATION-TYPE
|
|
OBJECTS { prvtResilientLinkPrimaryPort,
|
|
prvtResilientLinkBackupPort }
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The resilientLinkStatusChange trap indicates that
|
|
the sending agent monitor detected a change in the status of the
|
|
resilient link, identified by resilientLinkIndex."
|
|
::= { prvtResilientLinkNotifications 1 }
|
|
|
|
END -- end of module PRVT-RESILIENT-LINK-MIB.
|