mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Change the recommended snmpwalk capture options to ease parsing. (#4804)
Remove `t` we lose the declaration of the Timeticks: type with that Add `U` removes unit suffixes. Add `b` displays indexes numerically instead of as strings
This commit is contained in:
committed by
Neil Lathwood
parent
d86b39395a
commit
980590b293
@@ -39,7 +39,7 @@ switch ($type) {
|
||||
case 'snmpwalk':
|
||||
$device = device_by_name(mres($hostname));
|
||||
|
||||
$cmd = gen_snmpwalk_cmd($device, '.', ' -Onet');
|
||||
$cmd = gen_snmpwalk_cmd($device, '.', ' -OUneb');
|
||||
|
||||
if ($debug) {
|
||||
$cmd .= ' 2>&1';
|
||||
|
Reference in New Issue
Block a user