summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-30 22:55:10 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-30 22:55:12 +0100
commit9d5ffc8a44eb1033236cf9db12d24d8a6ccdc374 (patch)
treec0d7a499ccd3766701d9ac91df65578618733659
parent7b0ace6699d8075a6d093502126e2be4d631ef67 (diff)
downloadvyos-1x-9d5ffc8a44eb1033236cf9db12d24d8a6ccdc374.tar.gz
vyos-1x-9d5ffc8a44eb1033236cf9db12d24d8a6ccdc374.zip
snmp: T1921: change log options
suppress error message: Dec 30 11:44:10 LR1 snmpd[2870]: error on subcontainer 'ia_addr' insert (-1)
-rwxr-xr-xsrc/conf_mode/snmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py
index cb77f7f22..488fb9d80 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -215,7 +215,7 @@ init_config_tmpl = """
[Service]
ExecStart=
-ExecStart=/usr/sbin/snmpd -Ls0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ipCidrRouteTable,inetCidrRouteTable -f -p /run/snmpd.pid
+ExecStart=/usr/sbin/snmpd -LS6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ipCidrRouteTable,inetCidrRouteTable -f -p /run/snmpd.pid
"""