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
@@ -234,7 +234,7 @@ Replace the relevant information in these commands such as HOSTNAME and COMMUNIT
|
||||
```bash
|
||||
./discovery.php -h HOSTNAME -d -m os
|
||||
./poller.php -h HOSTNAME -r -f -d -m os
|
||||
snmpbulkwalk -Onet -v2c -c COMMUNITY HOSTNAME .
|
||||
snmpbulkwalk -OUneb -v2c -c COMMUNITY HOSTNAME .
|
||||
```
|
||||
|
||||
If possible please also provide what the OS name should be if it doesn't exist already.
|
||||
|
@@ -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