Improve Ligowave detection (#9474)

* Improve Ligowave Support

* Update infinity_2.snmprec

* Update infinity.yaml

* Update infinity.snmprec

* Update infinity.yaml

* Update infinity.yaml

* Undo my derp
This commit is contained in:
Søren Rosiak 2018-12-12 04:04:01 +01:00 committed by Tony Murray
parent 947745b823
commit c0f5897226
4 changed files with 11 additions and 5 deletions

View File

@ -8,5 +8,6 @@ over:
- { graph: device_processor, text: 'Processor Usage' }
- { graph: device_mempool, text: 'Memory Usage' }
discovery:
- sysDescr_regex:
- '/^NFT 2N/'
-
sysObjectID: .1.3.6.1.4.1.10002.1
sysDescr_regex: '/^NFT 2/'

View File

@ -10,6 +10,7 @@
* the source code distribution for details.
*/
$version = explode(' ', $device['sysDescr']);
$version = $version[2];
$hardware = snmp_get($device, 'IEEE802dot11-MIB::dot11manufacturerProductName.5', '-Ovq');
$data = explode(' ', $device['sysDescr']);
$hardware = $data[0] . ' ' . $data[1];
$version = $data[2];
unset($data);

View File

@ -1,2 +1,3 @@
1.3.6.1.2.1.1.1.0|4|NFT 2N
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10002.1
1.3.6.1.4.1.10002.1.1.1.4.2.1.3.2|66|42

View File

@ -0,0 +1,3 @@
1.3.6.1.2.1.1.1.0|4|NFT 2ac v7.61.61034
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10002.1
1.3.6.1.4.1.10002.1.1.1.4.2.1.3.2|66|6