Added support for Teleste Luminato (#9061)

* Create teleste.yaml

* Create teleste.inc.php

* Create teleste.snmprec

* Add files via upload

* Add files via upload

* Update teleste.inc.php

* Delete teleste.svg

* Add files via upload

* Update teleste.yaml

* Update teleste.inc.php

* Delete HOST-RESOURCES-TYPES.mib

* Changed os to luminato

* Update and rename teleste.inc.php to luminato.inc.php

* Delete HOST-RESOURCES-MIB.mib

* Delete RFC1155-SMI.mib

* Delete RFC1213-MIB.mib

* Delete SCTE-HMS-HE-COMMON-MIB.mib

* Delete SCTE-HMS-HEADENDIDENT-MIB.mib

* Delete SCTE-HMS-PROPERTY-MIB.mib

* Delete SCTE-HMS-ROOTS.mib

* Delete SCTE-ROOT.mib

* Delete UCD-SNMP-MIB.mib

* Delete TELESTE-COMMON-MIB.mib

* Delete TELESTE-LUMINATO-MIB.mib

* Delete TELESTE-LUMINATO-MIB2.mib

* Delete TELESTE-ROOT-MIB.mib

* Create teleste.md

* Delete teleste.md

* Create telestefilename.md

* Delete telestefilename.md

* added TELESTE-COMMON-MIB

* edited os polling

* Update luminato.inc.php

* Update luminato.inc.php

* Create TELESTE-LUMINATO-MIB

* added discovery sensors for luminato

* Update luminato.inc.php

* Updated and added test files

* added TELESTE-ROOT_MIB

* Create TELESTE-LUMINATO-MIB2

* Added missing json test file

* Fixed TELESTE-ROOT-MIB

* Updated test data
This commit is contained in:
jozefrebjak
2018-10-01 04:28:08 +02:00
committed by Tony Murray
parent 14a168b2a9
commit 56481c6681
10 changed files with 12738 additions and 0 deletions

BIN
html/images/os/teleste.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -0,0 +1,66 @@
mib: TELESTE-COMMON-MIB
modules:
sensors:
pre-cache:
data:
- oid:
- moduleSlotNo
- moduleHwType
temperature:
data:
-
oid: statusInternalTemperature
num_oid: .1.3.6.1.4.1.3715.99.2.2.1.1.3.
descr: "Slot {{ $moduleSlotNo }} ({{ $moduleHwType }}) "
index: '{{ $index }}'
divisor: 10
skip_value_lt: -50
state:
data:
-
oid: statusGeneral
num_oid: .1.3.6.1.4.1.3715.99.1.2.1.
descr: General Status
state_name: statusGeneral
states:
- { descr: Normal, graph: 1, value: 1, generic: 0 }
- { descr: Notification, graph: 1, value: 2, generic: 1}
- { descr: Warning, graph: 1, value: 3, generic: 1}
- { descr: Alarm, graph: 1, value: 4, generic: 3}
-
oid: statusTemperature
num_oid: .1.3.6.1.4.1.3715.99.1.2.5.
descr: Temperature Status
state_name: statusTemperature
states:
- { descr: Normal, graph: 1, value: 1, generic: 0 }
- { descr: Hihi, graph: 1, value: 2, generic: 3}
- { descr: Hi, graph: 1, value: 3, generic: 3}
- { descr: Lo, graph: 1, value: 4, generic: 2}
- { descr: Lolo, graph: 1, value: 5, generic: 2}
-
oid: statusFan
num_oid: .1.3.6.1.4.1.3715.99.1.2.6.
descr: Temperature Status
state_name: statusTemperature
states:
- { descr: Normal, graph: 1, value: 1, generic: 0 }
- { descr: Failure, graph: 1, value: 2, generic: 3}
-
oid: statusHardware
num_oid: .1.3.6.1.4.1.3715.99.1.2.7.
descr: Hardware Status
state_name: statusHardware
states:
- { descr: Normal, graph: 1, value: 1, generic: 0 }
- { descr: Failure, graph: 1, value: 2, generic: 3}
-
oid: statusSoftware
num_oid: .1.3.6.1.4.1.3715.99.1.2.8.
descr: Software Status
state_name: statusSoftware
states:
- { descr: Normal, graph: 1, value: 1, generic: 0 }
- { descr: Failure, graph: 1, value: 2, generic: 3 }
- { descr: Missing, graph: 1, value: 3, generic: 2 }
- { descr: Initialising, graph: 1, value: 4, generic: 2 }

View File

@@ -0,0 +1,12 @@
os: luminato
text: 'Teleste Luminato'
type: network
icon: teleste
group: luminato
mib_dir:
- teleste
over:
- { graph: device_bits, text: 'Device Traffic' }
discovery:
- sysObjectID:
- .1.3.6.1.4.1.3715

View File

@@ -0,0 +1,5 @@
<?php
$luminato_tmp = snmp_get_multi_oid($device, 'deviceName.0 hwSerialNumber.0 swVersion.0', '-OUQs', 'TELESTE-LUMINATO-MIB');
$hardware = $luminato_tmp['deviceName.0'];
$serial = $luminato_tmp['hwSerialNumber.0'];
$version = $luminato_tmp['swVersion.0'];

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,206 @@
TELESTE-ROOT-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises
FROM RFC1155-SMI
DisplayString
FROM RFC1213-MIB;
TDisplayString ::= OCTET STRING (SIZE (0..255))
TPhysAddress ::= OCTET STRING (SIZE (6))
Int8 ::= INTEGER (-128..127)
Int16 ::= INTEGER (-32768..32768)
Uint8 ::= INTEGER (0..255)
Uint16 ::= INTEGER (0..65536)
Uint32 ::= INTEGER (0..2147483647)
DateAndTime ::= DisplayString (SIZE (16..28))
-- 'HMS style' value definition for status objects.
ValueStatus ::= INTEGER
{
valueNormal(1),
valueHIHI(2),
valueHi(3),
valueLo(4),
valueLOLO(5)
}
--
-- Node definitions
--
--
-- TELESTE root object identifier
--
-- 1.3.6.1.4.1.3715
teleste OBJECT IDENTIFIER ::= { enterprises 3715 }
--
-- EMS server objects (SNMP Wizard)
--
-- 1.3.6.1.4.1.3715.1
ems OBJECT IDENTIFIER ::= { teleste 1 }
--
-- Objects common to all teleste products/agents.
-- Deprecated 11.10.2001 and replaced with section Common.
--
-- 1.3.6.1.4.1.3715.2
gendata OBJECT IDENTIFIER ::= { teleste 2 }
--
-- BK product family specific objects
--
-- 1.3.6.1.4.1.3715.3
bk OBJECT IDENTIFIER ::= { teleste 3 }
--
-- BXX product family specific objects
--
-- 1.3.6.1.4.1.3715.4
bxx OBJECT IDENTIFIER ::= { teleste 4 }
--
-- DVO product family specific objects
--
-- 1.3.6.1.4.1.3715.5
dvo OBJECT IDENTIFIER ::= { teleste 5 }
--
-- DVX product family specific objects
--
-- 1.3.6.1.4.1.3715.6
dvx OBJECT IDENTIFIER ::= { teleste 6 }
--
-- INF product family specific objects
--
-- 1.3.6.1.4.1.3715.7
inf OBJECT IDENTIFIER ::= { teleste 7 }
--
-- ATMux product family specific objects
--
-- 1.3.6.1.4.1.3715.8
atmux OBJECT IDENTIFIER ::= { teleste 8 }
--
-- Edge Access System Interface products.
--
-- 1.3.6.1.4.1.3715.9
easi OBJECT IDENTIFIER ::= { teleste 9 }
--
-- EMT product family specific objects
--
-- 1.3.6.1.4.1.3715.10
emt OBJECT IDENTIFIER ::= { teleste 10 }
--
-- ACx product family specific objects
--
-- 1.3.6.1.4.1.3715.11
acx OBJECT IDENTIFIER ::= { teleste 11 }
--
-- EttH product family specific objects
--
-- 1.3.6.1.4.1.3715.12
etth OBJECT IDENTIFIER ::= { teleste 12 }
--
-- HDO product family specific objects
--
-- 1.3.6.1.4.1.3715.14
hdo OBJECT IDENTIFIER ::= { teleste 14 }
--
-- CFO product family specific objects
--
-- 1.3.6.1.4.1.3715.15
cfo OBJECT IDENTIFIER ::= { teleste 15 }
-- FTTH product family specific objects
-- 1.3.6.1.4.1.3715.16
ftth OBJECT IDENTIFIER ::= { teleste 16 }
-- 1.3.6.1.4.1.3715.17
luminato OBJECT IDENTIFIER ::= { teleste 17 }
--
-- Objects common to all teleste products/agents.
--
-- 1.3.6.1.4.1.3715.99
common OBJECT IDENTIFIER ::= { teleste 99 }
--
-- Functional object groups
--
-- 1.3.6.1.4.1.3715.100
functional OBJECT IDENTIFIER ::= { teleste 100 }
-- 1.3.6.1.4.1.3715.100.1
hmsModem OBJECT IDENTIFIER ::= { functional 1 }
-- 1.3.6.1.4.1.3715.100.2
spectrumAnalyser OBJECT IDENTIFIER ::= { functional 2 }
-- 1.3.6.1.4.1.3715.100.3
pilotGenerator OBJECT IDENTIFIER ::= { functional 3 }
-- 1.3.6.1.4.1.3715.100.4
ntpcontrol OBJECT IDENTIFIER ::= { functional 4 }
-- 1.3.6.1.4.1.3715.100.10
hfcOptics OBJECT IDENTIFIER ::= { functional 10 }
-- 1.3.6.1.4.1.3715.100.20
headEnd OBJECT IDENTIFIER ::= { functional 20 }
--
-- Placeholder experimental and preliminary MIB modules.
--
-- 1.3.6.1.4.1.3715.999
experimental OBJECT IDENTIFIER ::= { teleste 999 }
END
--
-- TELESTE-ROOT-MIB.mib
--

1203
tests/data/luminato.json Normal file
View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff