mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* 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>
131 lines
3.6 KiB
Plaintext
131 lines
3.6 KiB
Plaintext
-- *------------------------------------------------
|
|
-- * Firebrick CPU MIB
|
|
-- *
|
|
-- * June 2020, Cliff Hones
|
|
-- *
|
|
-- * Copyright (c) 2020 by Andrews & Arnold
|
|
-- *
|
|
-- * See the Firebrick Manuals for more information
|
|
-- *------------------------------------------------
|
|
|
|
FIREBRICK-CPU-MIB DEFINITIONS ::= BEGIN
|
|
|
|
IMPORTS
|
|
MODULE-IDENTITY,
|
|
OBJECT-TYPE,
|
|
Integer32,
|
|
enterprises
|
|
FROM SNMPv2-SMI
|
|
DisplayString
|
|
FROM SNMPv2-TC
|
|
InetAddressType,
|
|
InetAddress
|
|
FROM INET-ADDRESS-MIB
|
|
OBJECT-GROUP
|
|
FROM SNMPv2-CONF
|
|
firebrickNewStyle
|
|
FROM FIREBRICK-MIB
|
|
;
|
|
|
|
fbCpuMib MODULE-IDENTITY
|
|
LAST-UPDATED "202006170000Z"
|
|
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 Firebrick CPU usage."
|
|
REVISION "202006170000Z"
|
|
DESCRIPTION "Initial version of this MIB module"
|
|
::= { firebrickNewStyle 2 }
|
|
|
|
fbCpuUsageTable OBJECT-TYPE
|
|
SYNTAX SEQUENCE OF FbCpuUsageEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The table of CPU usage for this Firebrick"
|
|
::= { fbCpuMib 1 }
|
|
|
|
fbCpuUsageEntry OBJECT-TYPE
|
|
SYNTAX FbCpuUsageEntry
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"An entry in the CPU usage table"
|
|
INDEX { fbCpuPeriod, fbCpuCore }
|
|
::= { fbCpuUsageTable 1 }
|
|
|
|
FbCpuUsageEntry ::= SEQUENCE {
|
|
fbCpuIRQ Gauge32,
|
|
fbCpuAll Gauge32,
|
|
fbCpuIRQPeak Gauge32,
|
|
fbCpuAllPeak Gauge32,
|
|
fbCpuPeriod Integer32,
|
|
fbCpuCore Integer32
|
|
}
|
|
|
|
fbCpuPeriod OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The period in minutes covered by this table entry.
|
|
Zero indicates that an instantaneous value is required."
|
|
::= { fbCpuUsageEntry 5 }
|
|
|
|
fbCpuCore OBJECT-TYPE
|
|
SYNTAX Integer32
|
|
MAX-ACCESS not-accessible
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The CPU core number covered by this table entry.
|
|
The numbering starts at 1, so CPU0 (CORE) is 1 and CPU1 (NET) is 2."
|
|
::= { fbCpuUsageEntry 6 }
|
|
|
|
fbCpuIRQ OBJECT-TYPE
|
|
SYNTAX Gauge32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The percentage of CPU time spent in interrupt processing for this period.
|
|
If period is 0 the instantaneous usage in the last second is used.
|
|
Units are 100ths of a percent, so 10000 indicates 100%."
|
|
::= { fbCpuUsageEntry 1 }
|
|
|
|
fbCpuAll OBJECT-TYPE
|
|
SYNTAX Gauge32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The total percentage of CPU time spent non-idle for this period.
|
|
If period is 0 the instantaneous usage in the last second is used.
|
|
Units are 100ths of a percent, so 10000 indicates 100%."
|
|
::= { fbCpuUsageEntry 2 }
|
|
|
|
fbCpuIRQPeak OBJECT-TYPE
|
|
SYNTAX Gauge32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The peak percentage of CPU time in interrupt processing during this period.
|
|
If period is 0 the peak usage in the current minute is used.
|
|
Units are 100ths of a percent, so 10000 indicates 100%."
|
|
::= { fbCpuUsageEntry 3 }
|
|
|
|
fbCpuAllPeak OBJECT-TYPE
|
|
SYNTAX Gauge32
|
|
MAX-ACCESS read-only
|
|
STATUS current
|
|
DESCRIPTION
|
|
"The peak percentage of CPU time non-idle during this period.
|
|
If period is 0 the peak usage in the current minute is used.
|
|
Units are 100ths of a percent, so 10000 indicates 100%."
|
|
::= { fbCpuUsageEntry 4 }
|
|
END
|