mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Support for new os/devices, CTS (#15790)
* Support for new OS - CTS * Added test data for CTS * Added sensors support, new test data * Fixed POETotalPower num_oid * Removed comment --------- Co-authored-by: OSIRIS-REx <sphinxes@protonmail.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,15 @@
|
||||
os: cts
|
||||
text: 'Connection Technology Systems'
|
||||
type: network
|
||||
icon: cts
|
||||
group: cts
|
||||
mib_dir: cts
|
||||
ifname: true
|
||||
snmp_bulk: false
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.9304.
|
||||
discovery_modules:
|
||||
fdb-table: false
|
||||
@@ -0,0 +1,55 @@
|
||||
mib: IPS-3110-MIB:IPS-3110-PB-MIB:IPS-3106-SE-PB-MIB:IES-3110-MIB:HES-3112-MIB
|
||||
|
||||
modules:
|
||||
os:
|
||||
sysDescr_regex: '/(?<hardware>(.+)) (?<version>(Version .+))/'
|
||||
serial:
|
||||
- IPS-3110-MIB::swhSerialNumber.0
|
||||
- IPS-3110-PB-MIB::swhSerialNumber.0
|
||||
- IPS-3106-SE-PB-MIB::swhSerialNumber.0
|
||||
- IES-3110-MIB::swhSerialNumber.0
|
||||
- HES-3112-MIB::cvtSerialNumber.0
|
||||
# The following is for IPS-3106 because I cannot find a MIB for it
|
||||
- .1.3.6.1.4.1.9304.100.3106.1.2.14.0
|
||||
sensors:
|
||||
dbm:
|
||||
data:
|
||||
-
|
||||
oid: IPS-3110-MIB::swhSFPPortStateTable
|
||||
value: IPS-3110-MIB::swhSFPPortStateTXPower
|
||||
num_oid: '.1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.11.{{ $index }}'
|
||||
descr: '{{ IPS-3110-MIB::swhSFPPortStatePortName }} SFP Tx Power'
|
||||
index: 'ddmTx-{{ $index }}'
|
||||
group: '{{ IPS-3110-MIB::swhSFPPortStatePortName }}'
|
||||
-
|
||||
oid: IPS-3110-MIB::swhSFPPortStateTable
|
||||
value: IPS-3110-MIB::swhSFPPortStateRXPower
|
||||
num_oid: '.1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.13.{{ $index }}'
|
||||
descr: '{{ IPS-3110-MIB::swhSFPPortStatePortName }} SFP Rx Power'
|
||||
index: 'ddmRx-{{ $index }}'
|
||||
group: '{{ IPS-3110-MIB::swhSFPPortStatePortName }}'
|
||||
voltage:
|
||||
data:
|
||||
-
|
||||
oid: IPS-3110-MIB::swhSFPPortStateTable
|
||||
value: IPS-3110-MIB::swhSFPPortStateVoltage
|
||||
num_oid: '.1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.7.{{ $index }}'
|
||||
descr: '{{ IPS-3110-MIB::swhSFPPortStatePortName }} SFP Voltage'
|
||||
index: 'ddmVolt-{{ $index }}'
|
||||
group: '{{ IPS-3110-MIB::swhSFPPortStatePortName }}'
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: IPS-3110-MIB::swhSFPPortStateTable
|
||||
value: IPS-3110-MIB::swhSFPPortStateTemperature
|
||||
num_oid: '.1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.5.{{ $index }}'
|
||||
descr: '{{ IPS-3110-MIB::swhSFPPortStatePortName }} SFP Temperature'
|
||||
index: 'ddmTemp-{{ $index }}'
|
||||
group: '{{ IPS-3110-MIB::swhSFPPortStatePortName }}'
|
||||
power:
|
||||
data:
|
||||
-
|
||||
oid: IPS-3110-MIB::swhPOETotalPower
|
||||
num_oid: '.1.3.6.1.4.1.9304.100.3110.5.48.1.{{ $index }}'
|
||||
descr: 'Total PoE Power Consumption'
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
CTS-cvt_wac_wpc_mac_mpc3112-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
enterprises,Counter, TimeTicks, Gauge
|
||||
FROM RFC1155-SMI
|
||||
mib-2, DisplayString FROM RFC1213-MIB
|
||||
TRAP-TYPE FROM RFC-1215
|
||||
OBJECT-TYPE FROM RFC-1212;
|
||||
|
||||
CTS OBJECT IDENTIFIER ::= { enterprises 9304 }
|
||||
|
||||
PhysAddress ::= OCTET STRING
|
||||
|
||||
-- This data type is used to model media addresses. For many
|
||||
-- types of media, this will be in a binary representation.
|
||||
-- For example, an ethernet address would be represented as
|
||||
-- a string of 6 octets.
|
||||
|
||||
-- All representations of MAC addresses in this MIB Module use,
|
||||
-- as a textual convention (i.e., this convention does not affect
|
||||
-- their encoding), the data type:
|
||||
|
||||
MacAddress ::= OCTET STRING (SIZE (6)) -- a 6 octet address in
|
||||
-- the "canonical" order
|
||||
|
||||
VLANPortMember ::= DisplayString (SIZE (0..27))
|
||||
|
||||
CVT
|
||||
OBJECT IDENTIFIER ::= { CTS 50 }
|
||||
|
||||
cvt_wac_wpc_mac_mpc3112
|
||||
OBJECT IDENTIFIER ::= { CVT 3112 }
|
||||
|
||||
|
||||
-- cvt_wac_wpc_mac_mpc3112
|
||||
|
||||
SaveConfiguration OBJECT-TYPE
|
||||
SYNTAX INTEGER { normal(0), save(1)}
|
||||
ACCESS write-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION
|
||||
"Save Configuration to Flash ROM"
|
||||
::= { cvt_wac_wpc_mac_mpc3112 7 }
|
||||
|
||||
cvt_wac_wpc_mac_mpc3112Traps OBJECT IDENTIFIER
|
||||
::= { cvt_wac_wpc_mac_mpc3112 9 }
|
||||
|
||||
|
||||
-- cvt_wac_wpc_mac_mpc3112Traps
|
||||
SystemPowerDown TRAP-TYPE
|
||||
ENTERPRISE cvt_wac_wpc_mac_mpc3112Traps
|
||||
--&ACTIONS { critical }
|
||||
--&MESG "System Power Down"
|
||||
DESCRIPTION "when system power down, send this trap."
|
||||
::= 1
|
||||
|
||||
END
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,83 @@
|
||||
1.3.6.1.2.1.1.1.0|4|IPS-3110 Version 1.00.0P
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.9304.100.3110
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.2.1.2.2.1.2.1|4|Port1
|
||||
1.3.6.1.2.1.2.2.1.2.2|4|Port2
|
||||
1.3.6.1.2.1.2.2.1.2.3|4|Port3
|
||||
1.3.6.1.2.1.2.2.1.2.4|4|Port4
|
||||
1.3.6.1.2.1.2.2.1.2.5|4|Port5
|
||||
1.3.6.1.2.1.2.2.1.2.6|4|Port6
|
||||
1.3.6.1.2.1.2.2.1.2.7|4|Port7
|
||||
1.3.6.1.2.1.2.2.1.2.8|4|Port8
|
||||
1.3.6.1.2.1.2.2.1.2.9|4|Port9
|
||||
1.3.6.1.2.1.2.2.1.2.10|4|Port10
|
||||
1.3.6.1.2.1.2.2.1.3.1|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.2|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.3|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.4|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.5|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.6|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.7|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.8|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.9|2|6
|
||||
1.3.6.1.2.1.2.2.1.3.10|2|6
|
||||
1.3.6.1.2.1.2.2.1.8.1|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.2|2|1
|
||||
1.3.6.1.2.1.2.2.1.8.3|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.4|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.5|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.6|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.7|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.8|2|2
|
||||
1.3.6.1.2.1.2.2.1.8.9|2|1
|
||||
1.3.6.1.2.1.2.2.1.8.10|2|2
|
||||
1.3.6.1.2.1.17.1.4.1.2.1|2|1
|
||||
1.3.6.1.2.1.17.1.4.1.2.2|2|2
|
||||
1.3.6.1.2.1.17.1.4.1.2.3|2|3
|
||||
1.3.6.1.2.1.17.1.4.1.2.4|2|4
|
||||
1.3.6.1.2.1.17.1.4.1.2.5|2|5
|
||||
1.3.6.1.2.1.17.1.4.1.2.6|2|6
|
||||
1.3.6.1.2.1.17.1.4.1.2.7|2|7
|
||||
1.3.6.1.2.1.17.1.4.1.2.8|2|8
|
||||
1.3.6.1.2.1.17.1.4.1.2.9|2|9
|
||||
1.3.6.1.2.1.17.1.4.1.2.10|2|10
|
||||
1.3.6.1.2.1.31.1.1.1.1.1|4|Port1
|
||||
1.3.6.1.2.1.31.1.1.1.1.2|4|Port2
|
||||
1.3.6.1.2.1.31.1.1.1.1.3|4|Port3
|
||||
1.3.6.1.2.1.31.1.1.1.1.4|4|Port4
|
||||
1.3.6.1.2.1.31.1.1.1.1.5|4|Port5
|
||||
1.3.6.1.2.1.31.1.1.1.1.6|4|Port6
|
||||
1.3.6.1.2.1.31.1.1.1.1.7|4|Port7
|
||||
1.3.6.1.2.1.31.1.1.1.1.8|4|Port8
|
||||
1.3.6.1.2.1.31.1.1.1.1.9|4|Port9
|
||||
1.3.6.1.2.1.31.1.1.1.1.10|4|Port10
|
||||
1.3.6.1.2.1.31.1.1.1.18.1|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.2|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.3|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.4|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.5|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.6|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.7|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.8|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.9|4|
|
||||
1.3.6.1.2.1.31.1.1.1.18.10|4|
|
||||
1.3.6.1.4.1.2021.4.3.0|2|0
|
||||
1.3.6.1.4.1.2021.4.4.0|2|0
|
||||
1.3.6.1.4.1.2021.4.5.0|2|0
|
||||
1.3.6.1.4.1.2021.4.6.0|2|0
|
||||
1.3.6.1.4.1.2021.4.14.0|2|0
|
||||
1.3.6.1.4.1.2021.4.15.0|2|0
|
||||
1.3.6.1.4.1.2021.10.1.5.1|2|0
|
||||
1.3.6.1.4.1.2021.10.1.5.2|2|0
|
||||
1.3.6.1.4.1.2021.10.1.5.3|2|0
|
||||
1.3.6.1.4.1.9304.100.3110.1.2.14.0|4|<private>
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.5.1|4|43.9
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.5.2|4|47.1
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.7.1|4|3.25
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.7.2|4|3.24
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.11.1|4|-5.6
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.11.2|4|-5.6
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.13.1|4|-6.3
|
||||
1.3.6.1.4.1.9304.100.3110.5.34.2.1.1.13.2|4|-7.5
|
||||
1.3.6.1.4.1.9304.100.3110.5.48.1.0|4|47.39
|
||||
Reference in New Issue
Block a user