mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
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:
parent
947745b823
commit
c0f5897226
@ -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/'
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
3
tests/snmpsim/infinity_2.snmprec
Normal file
3
tests/snmpsim/infinity_2.snmprec
Normal 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
|
Loading…
Reference in New Issue
Block a user