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:
jozefrebjak
2018-10-01 04:28:33 +02:00
committed by Tony Murray
parent 56481c6681
commit c9bbaf5a9f
11 changed files with 3324 additions and 0 deletions

View 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 }

View 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

View File

@@ -0,0 +1,2 @@
<?php
$hardware = strtoupper($device['sysName']);