Files
librenms-librenms/mibs/firebrick/FIREBRICK-IPSEC-MIB
cjsoftuk 43ea55bcf3 Better firebrick support (#12600)
* Add Firebrick MIBs, temperatures and voltages.

* Add missing $sysOid checks.

* Add fan speed for FB6000 series.

* Add sane limits.

* Update Firebrick MIBs.

* Make BGP peers work.

* Better support for Firebricks.

* Add more firebrick support.

* Add BGP Peer States.

* Fix fan speed divisor now that Cliff has fixed the code.

* Fixes for BGP and sensors.

* Add Firebrick IPSec module.

* Add IPSec Tunnels (Base).

* Sort out the IPSec states (although they're still green for no real reason).

* Code style fixes.

* Add missing config definition.

* Fix code style issues.

* Move bgp-peers to its own file.

* Do fan speeds with yaml, not PHP.

* Add Firebrick 6000 snmprec.

* Move Firebrick tests to be FB6000 tests.

* Revert "Move Firebrick tests to be FB6000 tests."

This reverts commit 426c1db980.

* Add tests for specific firebrick variants (2900, 6000) rather than generic.

* Add the firebrick-ipsec-tunnels poller config option.

* Switch to cipsec-tunnels for Firebrick.

* Unnecessary as it's now in cipsec-tunnels.

* Add extra MIB fields for Firebrick BGP MIB.

* Minor fix for AS text.

* Fix the tests.

* Exclude build timestamp from the version.

* Fix a couple of careless errors.

* Code style fix.

* Better version strings.

* Fixes for BGP, and add "Routing Table" support (VRF).

* Add more test data for BGP peers.

* Fix test data for BGP.

* Remove processors for now - as we can't get the data sensibly.

* Fix code style.

* Update firebrick.inc.php

Force tests re-run

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-04 16:17:49 +02:00

147 lines
3.8 KiB
Plaintext

-- *------------------------------------------------
-- * Firebrick IPsec MIB
-- *
-- * June 2020, Cliff Hones
-- *
-- * Copyright (c) 2020 by Andrews & Arnold
-- *
-- * See the Firebrick Manuals for more information
-- *------------------------------------------------
FIREBRICK-IPSEC-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
enterprises
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
InetAddressType,
InetAddress
FROM INET-ADDRESS-MIB
firebrickNewStyle
FROM FIREBRICK-MIB
;
fbIPsecMib MODULE-IDENTITY
LAST-UPDATED "202006160000Z"
ORGANIZATION "Andrews & Arnold Limited"
CONTACT-INFO
"Andrews & Arnold
Unit 1&2, Enterprise Court
Bracknell, Berkshire, RG12 1QS
United Kingdom
Tel: +44 3333 400 999
Email: support@aa.net.uk"
DESCRIPTION
"This is a MIB Module for monitoring the Firebrick-specific structures
for IPSec."
REVISION "202006160000Z"
DESCRIPTION "Initial version of this MIB module"
::= { firebrickNewStyle 500 }
fbIPsecGeneral OBJECT IDENTIFIER ::= { fbIPsecMib 1 }
fbIPsecEstablished OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The count of currently established IKE connections."
::= { fbIPsecGeneral 1 }
fbIPsecHalfOpen OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The count of incoming IKE connections which have not yet authorized."
::= { fbIPsecGeneral 2 }
fbIPsecConnectionTable OBJECT-TYPE
SYNTAX SEQUENCE OF FbIPsecConnectionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The list of IPsec connections for this Firebrick"
::= { fbIPsecMib 2 }
fbIPsecConnectionEntry OBJECT-TYPE
SYNTAX FbIPsecConnectionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the IPsec connection table"
INDEX { fbIPsecConnectionIndex }
::= { fbIPsecConnectionTable 1 }
FbIPsecConnectionEntry ::= SEQUENCE {
fbIPsecConnectionIndex Integer32,
fbIPsecConnectionName DisplayString,
fbIPsecConnectionState Integer32,
fbIPsecConnectionUptime TimeTicks,
fbIPsecConnectionLocalId DisplayString,
fbIPsecConnectionPeerId DisplayString,
fbIPsecConnectionPeerAddress DisplayString
}
fbIPsecConnectionIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index for the connection table"
::= { fbIPsecConnectionEntry 1 }
fbIPsecConnectionName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The config name for this connection"
::= { fbIPsecConnectionEntry 2 }
fbIPsecConnectionState OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current state for this connection"
::= { fbIPsecConnectionEntry 3 }
fbIPsecConnectionUptime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The uptime for this connection"
::= { fbIPsecConnectionEntry 4 }
fbIPsecConnectionLocalID OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The local IKE ID for this connection"
::= { fbIPsecConnectionEntry 5 }
fbIPsecConnectionPeerID OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The peer IKE ID for this connection"
::= { fbIPsecConnectionEntry 6 }
fbIPsecConnectionPeerAddress OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The peer's IP address for this connection"
::= { fbIPsecConnectionEntry 7 }
END