refactor: Use snmp.version config option to allow users to set versions available (#8512)

* refactor: Use snmp.version config option to allow users to set versions available

* Updated to just use snmp default version for auto discovery

* remove additional spaces

* remove use Config
This commit is contained in:
Neil Lathwood
2018-04-12 04:35:51 +01:00
committed by Tony Murray
parent 974b5eb84f
commit 9b1a3fb86a
3 changed files with 3 additions and 3 deletions

View File

@@ -157,7 +157,7 @@ $config['snmp']['transports'] = array(
'tcp6',
);
$config['snmp']['version'] = 'v2c';
$config['snmp']['version'] = ['v2c', 'v3', 'v1'];
// Default version to use
// SNMPv1/2c default settings
$config['snmp']['community'][0] = 'public';