mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Update the discovery of pktj as @murrant suggested.
This commit is contained in:
@@ -50,7 +50,7 @@ if (!$os) {
|
||||
$os = 'airos-af';
|
||||
}
|
||||
}
|
||||
else if (trim(snmp_get($device, 'GANDI-MIB::rxCounter.0', '-Osqnv', 'GANDI-MIB')) != '') {
|
||||
else if (snmp_get($device, 'GANDI-MIB::rxCounter.0', '-Osqnv', 'GANDI-MIB') !== false) {
|
||||
$os = 'pktj';
|
||||
$pktj_mibs = array (
|
||||
"rxCounter" => "GANDI-MIB", // RX Packets
|
||||
|
||||
Reference in New Issue
Block a user