mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added support for PBI Digital Decoder (#9223)
* added PBI MIB I finally found a MIB for PBI device * added PBI-MAIN-MIB * added another PBI MIB * added PBI MGSYSTEM-MIB * added ird.yaml to definition * added senors discovery for PBI devices * added ird.inc.php for polling * added logo for PBI * added ird.json * Rename PB-MAIN-MIB to PBI-MAIN-MIB * Update ird.json * Update PBI-4000P-5000P-MIB * Update PBI-MAIN-MIB * Update PBI-MGSIGNALCHARACTERISTICS-MIB * Update PBI-MGSYSTEM-MIB * Create ird.snmprec * Updated json test file * deleted frequency from yaml I think that better will be see values from frequency in wirelles frequency, where it is in MHz * Create Ird.php * Update Ird.php * Update Ird.php * Update ird.json * Update Ird.php
This commit is contained in:
68
includes/definitions/discovery/ird.yaml
Normal file
68
includes/definitions/discovery/ird.yaml
Normal file
@@ -0,0 +1,68 @@
|
||||
mib: PBI-4000P-5000P-MIB
|
||||
modules:
|
||||
sensors:
|
||||
dbm:
|
||||
data:
|
||||
-
|
||||
oid: tunerBER
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.1.1.7.
|
||||
descr: 'BER'
|
||||
index: 'tunerBER.{{ $index }}'
|
||||
-
|
||||
oid: tunerCN
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.1.1.8.
|
||||
descr: 'C/N'
|
||||
index: 'tunerCN.{{ $index }}'
|
||||
divisor: 10
|
||||
-
|
||||
oid: tunerEbNo
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.1.1.9.
|
||||
descr: 'Eb/N0'
|
||||
index: 'tunerEbNo.{{ $index }}'
|
||||
divisor: 10
|
||||
signal:
|
||||
data:
|
||||
-
|
||||
oid: tunerStrength
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.1.1.6.
|
||||
descr: 'Signal Strength'
|
||||
index: 'tunerStrength.{{ $index }}'
|
||||
divisor: -10
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: tunerLock
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.1.1.1.
|
||||
descr: Tuner Lock
|
||||
state_name: tunerLock
|
||||
states:
|
||||
- { descr: No, graph: 1, value: 0, generic: 3 }
|
||||
- { descr: Yes, graph: 1, value: 1, generic: 0 }
|
||||
-
|
||||
oid: lnbVoltage
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.3.4.
|
||||
descr: LNB Voltage
|
||||
state_name: lnbVoltage
|
||||
states:
|
||||
- { descr: Off, graph: 1, value: 0, generic: 3 }
|
||||
- { descr: 13V, graph: 1, value: 1, generic: 0 }
|
||||
- { descr: 18V, graph: 1, value: 2, generic: 0 }
|
||||
-
|
||||
oid: lnb22KHz
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.3.5.
|
||||
descr: LNB 22KHz
|
||||
state_name: lnb22KHz
|
||||
states:
|
||||
- { descr: Off, graph: 1, value: 0, generic: 3 }
|
||||
- { descr: On, graph: 1, value: 1, generic: 0 }
|
||||
-
|
||||
oid: diseqc
|
||||
num_oid: .1.3.6.1.4.1.1070.3.1.1.104.3.6.
|
||||
descr: DiSEqC
|
||||
state_name: diseq
|
||||
states:
|
||||
- { descr: Off, graph: 1, value: 0, generic: 3 }
|
||||
- { descr: PortA, graph: 1, value: 1, generic: 0 }
|
||||
- { descr: PortB, graph: 1, value: 2, generic: 0 }
|
||||
- { descr: PortC, graph: 1, value: 3, generic: 0 }
|
||||
- { descr: PortD, graph: 1, value: 4, generic: 0 }
|
13
includes/definitions/ird.yaml
Normal file
13
includes/definitions/ird.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
os: ird
|
||||
text: 'PBI Digital Decoder'
|
||||
type: network
|
||||
icon: pbi
|
||||
group: pbi
|
||||
mib_dir:
|
||||
- pbi
|
||||
over:
|
||||
- { graph: device_signal, text: 'Signal Strength' }
|
||||
- { graph: device_dbm, text: 'dBm' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.2021.250.10
|
2
includes/polling/os/ird.inc.php
Normal file
2
includes/polling/os/ird.inc.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
$hardware = strtoupper($device['sysName']);
|
Reference in New Issue
Block a user