Fix config bug in snmp (#252)
1. Modify snmp user to Debian-snmp to fit snmpd 5.7.3 2. Fix a bug that cause sysLocation to be missing from snmpd.conf
This commit is contained in:
parent
e4ed979b83
commit
6f5262bc2c
@ -8,4 +8,4 @@ export MIBS=
|
||||
SNMPDRUN=yes
|
||||
|
||||
# snmpd options (use syslog, close stdin/out/err).
|
||||
SNMPDOPTS='-LS4d -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable -p /run/snmpd.pid'
|
||||
SNMPDOPTS='-LS4d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable -p /run/snmpd.pid'
|
||||
|
@ -1 +1,3 @@
|
||||
snmp_rocommunity: public
|
||||
snmp_location: public
|
||||
|
||||
|
Reference in New Issue
Block a user