SNMP v3 support
For SNMP v3 use options below (default version is 2c) in /home/stor2rrd/stor2rrd/etc/lan-list.cfg (san-list.cfg).
Options PRIV_PASS and AUTH_PASS must be first encoded with bin/spasswd.pl.
SNMP_VERSION=3
SEC_NAME=<user>
PRIV_PASS=<pass>
AUTH_PASS=<pass>
SEC_LEVEL=<noAuthNoPriv|authNoPriv|authPriv>
AUTH_PROTOCOL=<MD5|SHA>
PRIV_PROTOCOL=<DES|AES>
Real example
Encode password
(Note: do not use "!" character in password string)
$ perl bin/spasswd.pl
Encode password for storage/SAN authentication:
-------------------------------------------
Enter password:
Re-enter password:
Copy the following string to the password field of the corresponding line in etc/lan-list.cfg:
KT4mXVI9N0BUPjZdVQo=
Configuration
SNMP_VERSION=3
SEC_NAME=stor2rrd
PRIV_PASS=KDUjLS02Iz1SPUQsYAo=
AUTH_PASS=KDUjLS02Iz1SPUQsYAo=
SEC_LEVEL=authPriv
AUTH_PROTOCOL=MD5
PRIV_PROTOCOL=DES