Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for DKT Comega FTTx devices (#9732)
* DKT Comega device support * DKT Comega device support * DKT Comega device support * DKT Comega device support
- Loading branch information
1 parent
ccd9973
commit c7c1ca2
Showing
13 changed files
with
5,017 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
mib: DKT-CATV-MIB:DKT-FE-MIB:DKT-GE-MIB:DKT-GENERIC-MIB:DKT-MIB:DKT-RMON-MIB | ||
modules: | ||
sensors: | ||
state: | ||
data: | ||
- | ||
oid: catvSignalDetect | ||
value: catvSignalDetect | ||
num_oid: '.1.3.6.1.4.1.27304.11.3.{{ $index }}' | ||
descr: 'CATV Signal Detect' | ||
index: '0' | ||
states: | ||
- { descr: Signal Ok, graph: 0, value: 1, generic: 0 } | ||
- { descr: No Signal, graph: 0, value: 0, generic: 3 } | ||
- | ||
oid: catvSwitch | ||
value: catvSwitch | ||
num_oid: '.1.3.6.1.4.1.27304.11.2.{{ $index }}' | ||
descr: 'CATV Module' | ||
index: '0' | ||
states: | ||
- { descr: Powered, graph: 0, value: 1, generic: 0 } | ||
- { descr: Not powered, graph: 0, value: 0, generic: 3 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
os: dkt | ||
group: dkt | ||
text: 'DKT Comega' | ||
type: network | ||
icon: dkt | ||
over: | ||
- { graph: device_bits, text: 'Device Traffic' } | ||
mib_dir: | ||
- dkt | ||
discovery: | ||
- sysObjectID: .1.3.6.1.4.1.27304 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
$hardware = 'DKT ' . snmp_get($device, 'DKT-GENERIC-MIB::hwVersion.0', '-OQv'); | ||
$version = snmp_get($device, 'DKT-GENERIC-MIB::swVersion.0', '-OQv'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
DKT-CATV-MIB DEFINITIONS ::= BEGIN | ||
|
||
IMPORTS | ||
MODULE-IDENTITY, OBJECT-TYPE, Integer32, | ||
Counter32 FROM SNMPv2-SMI | ||
OBJECT-GROUP FROM SNMPv2-CONF | ||
dkt FROM DKT-MIB; | ||
|
||
catvMIB MODULE-IDENTITY | ||
LAST-UPDATED "200812170000Z" | ||
ORGANIZATION "DKT A/S" | ||
CONTACT-INFO | ||
"postal: DKT A/S | ||
Fanoevej 6 | ||
DK-4060 Kirke Saaby | ||
Denmark | ||
|
||
email: info@dktcomega.com" | ||
DESCRIPTION "DKT CATV MIB." | ||
::= { dkt 11 } | ||
|
||
catvVersion OBJECT-TYPE | ||
SYNTAX OCTET STRING (SIZE(0..100)) | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"Version string for the CATV module" | ||
::= { catvMIB 1 } | ||
|
||
catvSwitch OBJECT-TYPE | ||
SYNTAX INTEGER | ||
MAX-ACCESS read-write | ||
STATUS current | ||
DESCRIPTION | ||
"Switch CATV module on or off. 1 = on 0 = off" | ||
::= { catvMIB 2 } | ||
|
||
catvSignalDetect OBJECT-TYPE | ||
SYNTAX INTEGER | ||
MAX-ACCESS read-only | ||
STATUS current | ||
DESCRIPTION | ||
"CATV Rx signal detect. 1 = signal, 0 = no signal" | ||
::= { catvMIB 3 } | ||
|
||
|
||
catvModuleGroup OBJECT-GROUP | ||
OBJECTS { | ||
catvVersion, | ||
catvSwitch, | ||
catvSignalDetect | ||
} | ||
STATUS current | ||
DESCRIPTION | ||
"The objects are related to the DKT CATV module." | ||
::= { catvMIB 4 } | ||
|
||
END | ||
|
||
|
Oops, something went wrong.