New OS: Ekinops (#12088)

* Initial push

* renamed mib files

* adding eki mgmt event trap handler

* Adding handler to config/snmptraps.php

* added slot state monitoring

* Ekinops port discovery script

* cleanup

* moved ifDescr change from discovery to poller

* simplified port poller script

* fixed poller array

* add Mgnt2TrapNMSEvent handler

* Adding nms alarm handler

* adding handler to snmptrap.php

* Updated handler names, exapanded event traphandler

* beginning tests and cleanup

* adding snmpsim data

* making tests

* finished trap tests

* fixed ekinops.yaml

* style and lint pass

* new snmpsim data and fixes

* adding correct snmpsim

* fixed test data

* Update ekinops.svg

* Update ekinops.svg

* Update ekinops.yaml

* new os discovery method

* remove unneeded precache line

* removing unneccesary pre-cache script

* styleci fixes

* few more style fixes

* trim whitespace in discovery

* remove unused mibs

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Heath Barnhart
2020-09-23 11:23:57 -05:00
committed by GitHub
parent 0e0e80c827
commit 8a921567ba
18 changed files with 19288 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ if ($device['os'] == 'fabos') {
require_once 'ports/brocade.inc.php';
}
//Shorten Ekinops Interfaces
if ($device['os'] == 'ekinops') {
require_once 'ports/ekinops.inc.php';
}
// New interface detection
foreach ($port_stats as $ifIndex => $snmp_data) {
$snmp_data['ifIndex'] = $ifIndex; // Store ifIndex in port entry