Removed double Stack Temperature Discovery and Fixed typos in dbm discovery for Dell Switches (#10630)

* Fixed typos in dbm discovery for Dell Switches

Fixed typos in dbm discovery for Dell Switches

* Skip value 0 in temperature sensors

* Update dnos.yaml

* Remove temp M-serie from php, already in yaml

* Create dnos_s4048.snmpsim

* Rename dnos_s4048.snmpsim to dnos_s4048.snmprec

* Create dnos_s4048.json

* Create dell-net.inc.php

Added mempool for Dell Net switches

* Update dnos.yaml

Removed whitespaces in dnos.yaml

* Update dnos_s4048.json

* Delete dnos.json

* Create dnos.json
This commit is contained in:
Erik
2019-10-21 03:41:32 +02:00
committed by Tony Murray
parent cbc307c1c7
commit 610fde83ec
6 changed files with 52386 additions and 91 deletions

View File

@@ -33,19 +33,3 @@ if (is_array($oids)) {
discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, 'ftos-sseries', $descr, '1', '1', null, null, null, null, $current);
}
}
// Force10 M-Series
// DELL-NETWORKING-CHASSIS-MIB::dellNetStackUnitTemp.1 = Gauge32: 67
// DELL-NETWORKING-CHASSIS-MIB::dellNetStackUnitModelId.1 = INTEGER: m-MXL(25)
echo 'FTOS M-Series ';
$oids = snmpwalk_cache_oid($device, 'dellNetStackUnitTemp', [], 'DELL-NETWORKING-CHASSIS-MIB', 'dnos');
if (is_array($oids)) {
foreach ($oids as $index => $entry) {
$descr = 'Unit '.$index;
$oid = '.1.3.6.1.4.1.6027.3.26.1.3.4.1.13.'.$index;
$current = $entry['dellNetStackUnitTemp'];
discover_sensor($valid['sensor'], 'temperature', $device, $oid, $index, 'dnos', $descr, '1', '1', null, null, null, null, $current);
}
}