Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Protelevision DVB-T Transmitter #9648

Merged
merged 32 commits into from Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8a725aa
Create protelevision-t1.yaml
jozefrebjak Jan 11, 2019
703f689
Create protelevision-t1.yaml
jozefrebjak Jan 11, 2019
7d17390
Create PT-MIB
jozefrebjak Jan 11, 2019
d960c7f
Create PT3080-MIB
jozefrebjak Jan 11, 2019
9d8b764
Add files via upload
jozefrebjak Jan 11, 2019
7e093ed
Create protelevision-t1.snmprec
jozefrebjak Jan 11, 2019
e156a8a
Create protelevision-t1.json
jozefrebjak Jan 11, 2019
9519b5e
Create protelevision-t1.inc.php
jozefrebjak Jan 11, 2019
ca188eb
Add files via upload
jozefrebjak Jan 13, 2019
024af50
Delete protelevision.png
jozefrebjak Jan 13, 2019
7054db8
added indexes to dbm sensors
jozefrebjak Jan 17, 2019
31ef1a2
Update protelevision-t1.yaml
jozefrebjak Jan 17, 2019
35cbadb
added On Air TS Bitrate
jozefrebjak Jan 17, 2019
c92eb4e
Update protelevision-t1.yaml
jozefrebjak Jan 17, 2019
4ac1678
added more sensors
jozefrebjak Jan 17, 2019
1506f4f
Update ProtelevisionT1.php
jozefrebjak Jan 17, 2019
db72114
Update protelevision-t1.yaml
jozefrebjak Jan 17, 2019
4d79419
Update protelevision-t1.yaml
jozefrebjak Jan 17, 2019
bc4235d
Update protelevision-t1.yaml
jozefrebjak Jan 17, 2019
d3dd0a0
Update protelevision-t1.snmprec
jozefrebjak Jan 17, 2019
4984a84
Update protelevision-t1.json
jozefrebjak Jan 17, 2019
8d2f7ef
Update protelevision-t1.yaml
jozefrebjak Jan 17, 2019
d05e107
Update protelevision-t1.snmprec
jozefrebjak Jan 25, 2019
5bb2a3c
Update protelevision-t1.json
jozefrebjak Jan 25, 2019
bdf0921
added more sensors and grouping of state sensors
jozefrebjak Jan 25, 2019
a208993
Add files via upload
jozefrebjak Jan 25, 2019
dfa6c30
Update protelevision-t1.json
jozefrebjak Jan 25, 2019
bad2d7d
Update protelevision-t1.json
jozefrebjak Feb 5, 2019
2633ef4
Update protelevision-t1.snmprec
jozefrebjak Feb 5, 2019
5fcbe0f
Update protelevision-t1.yaml
jozefrebjak Feb 6, 2019
e0339b7
Update protelevision-t1.json
murrant Feb 7, 2019
2bcc84d
Update protelevision-t1.json
murrant Feb 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added html/images/logos/protelevision.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions includes/definitions/discovery/protelevision-t1.yaml
@@ -0,0 +1,93 @@
mib: PT3080-MIB
modules:
sensors:
state:
data:
-
oid: pt3080InputTSPrimaryStatus
num_oid: '.1.3.6.1.4.1.18086.3080.3.36.{{ $index }}'
descr: TS Primary Status
state_name: pt3080InputTSPrimaryStatus
states:
- { descr: 'Available', graph: 1, value: 0, generic: 0 }
- { descr: 'Unavailable', graph: 1, value: 1, generic: 1 }
- { descr: 'No sync', graph: 1, value: 2, generic: 2 }
-
oid: pt3080InputTSSecondaryStatus
num_oid: '.1.3.6.1.4.1.18086.3080.3.37.{{ $index }}'
descr: TS Secondary Status
state_name: pt3080InputTSSecondaryStatus
states:
- { descr: 'Available', graph: 1, value: 0, generic: 0 }
- { descr: 'Unavailable', graph: 1, value: 1, generic: 3 }
- { descr: 'No sync', graph: 1, value: 2, generic: 2 }
-
oid: pt3080InputTSHp
num_oid: '.1.3.6.1.4.1.18086.3080.3.38.{{ $index }}'
descr: Input source On Air
state_name: pt3080InputTSHp
states:
- { descr: 'asi-in-1', graph: 1, value: 0, generic: 0 }
- { descr: 'asi-in-2', graph: 1, value: 1, generic: 0 }
- { descr: 'demodulator-1', graph: 1, value: 2, generic: 0 }
- { descr: 'demodulator-2', graph: 1, value: 3, generic: 0 }
- { descr: 'tsoip-rx1', graph: 1, value: 4, generic: 0 }
- { descr: 'tsoip-rx2', graph: 1, value: 5, generic: 0 }
- { descr: 'satRecv', graph: 1, value: 6, generic: 0 }
-
oid: pt3080InputTSLp
num_oid: '.1.3.6.1.4.1.18086.3080.3.39.{{ $index }}'
descr: Input source Backup
state_name: pt3080InputTSLp
states:
- { descr: 'asi-in-1', graph: 1, value: 0, generic: 0 }
- { descr: 'asi-in-2', graph: 1, value: 1, generic: 0 }
- { descr: 'demodulator-1', graph: 1, value: 2, generic: 0 }
- { descr: 'demodulator-2', graph: 1, value: 3, generic: 0 }
- { descr: 'tsoip-rx1', graph: 1, value: 4, generic: 0 }
- { descr: 'tsoip-rx2', graph: 1, value: 5, generic: 0 }
- { descr: 'satRecv', graph: 1, value: 6, generic: 0 }
-
oid: pt3080SystemModulationStandard
num_oid: '.1.3.6.1.4.1.18086.3080.1.32.{{ $index }}'
descr: Modulation standard
state_name: pt3080SystemModulationStandard
states:
- { descr: 'dvbt', graph: 1, value: 0, generic: 0 }
- { descr: 'dvbt2', graph: 1, value: 1, generic: 0 }
- { descr: 'atsc', graph: 1, value: 2, generic: 0 }
- { descr: 'isdbt', graph: 1, value: 3, generic: 0 }
- { descr: 'iboc', graph: 1, value: 4, generic: 0 }
-
oid: pt3080OutputSynchronized
num_oid: '.1.3.6.1.4.1.18086.3080.4.6.{{ $index }}'
descr: Output Synchronized Status
state_name: pt3080OutputSynchronized
states:
- { descr: 'not-synchronized', graph: 1, value: 0, generic: 2 }
- { descr: 'synchronized', graph: 1, value: 1, generic: 0 }
-
oid: pt3080Gps1PPSStatus
num_oid: '.1.3.6.1.4.1.18086.3080.7.1.{{ $index }}'
descr: GPS Status
state_name: pt3080Gps1PPSStatus
states:
- { descr: 'locked', graph: 1, value: 0, generic: 0 }
- { descr: 'unlocked', graph: 1, value: 1, generic: 2 }
dbm:
data:
-
oid: pt3080OutputEffectiveLevel
num_oid: '.1.3.6.1.4.1.18086.3080.4.17.{{ $index }}'
descr: 'Effective RF Output Level'
divisor: 100
-
oid: pt3080OutputActualLevel
num_oid: '.1.3.6.1.4.1.18086.3080.4.18.{{ $index }}'
descr: 'Actual RF Output Level'
divisor: 100
-
oid: pt3080OutputRfDetectedActualLevel
num_oid: '.1.3.6.1.4.1.18086.3080.4.19.{{ $index }}'
descr: 'Detected RF Output Level'
divisor: 100
10 changes: 10 additions & 0 deletions includes/definitions/protelevision-t1.yaml
@@ -0,0 +1,10 @@
os: protelevision-t1
text: 'DVB-T Transmitter'
type: network
icon: protelevision
group: protelevision
mib_dir:
- protelevision
discovery:
- sysObjectID:
- .1.3.6.1.4.1.18086.8
5 changes: 5 additions & 0 deletions includes/polling/os/protelevision-t1.inc.php
@@ -0,0 +1,5 @@
<?php
$protelevision_tmp = snmp_get_multi_oid($device, 'pt3080SystemInstrumentType.0 pt3080SystemInstrumentSWRev.0 pt3080SystemInstrumentKU.0', '-OUQs', 'PT3080-MIB');
$hardware = $protelevision_tmp['pt3080SystemInstrumentType.0'];
$version = $protelevision_tmp['pt3080SystemInstrumentSWRev.0'];
$serial = $protelevision_tmp['pt3080SystemInstrumentKU.0'];
48 changes: 48 additions & 0 deletions mibs/protelevision/PT-MIB
@@ -0,0 +1,48 @@
-- PT-MIB
-- This is the root MIB file of PT.
--

PT-MIB DEFINITIONS ::= BEGIN

IMPORTS
MODULE-IDENTITY, enterprises
FROM SNMPv2-SMI;

pt MODULE-IDENTITY
LAST-UPDATED "201408081200Z"
ORGANIZATION "Protelevision Technologies, Denmark"
CONTACT-INFO
"Contact:

Web: http://www.protelevision.com

Address: Valhoejs Alle 176, DK-2610 Roedovre, Denmark
Telephone: +45 44700000
Fax: +45 44700001"

DESCRIPTION
"This is the root MIB module for PT with OID of
{iso org dod internet private enterprises 18086}.

Copyright (c) 2004 Protelevision Technologies A/S. All rights reserved.
Reproduction of this document is authorized on the condition
that the foregoing copyright notice is included.

IANA allocated this enterprise OID (object identifier) for the
exclusive use of Protelevision Technologies A/S (PT).
Other than internet network equipment
distributed or licensed by PT, no other party has any right
what-so-ever to distribute or license internet network equipment
which responds to the PT enterprise OID or its subsidiary
branches. PT reserves the right to criminally prosecute and/or
to seek civil damages from anyone fraudently using the PT
enterprise OID to the full extent of the law."

REVISION
"201408081200Z"

DESCRIPTION
"PTT General Device MIB File"

::= {enterprises 18086}
END