summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-13 19:55:25 +0200
committerChristian Poessinger <christian@poessinger.com>2019-10-13 19:55:25 +0200
commit069f7e5a8431f95d7316a0da682e962f6eb1320a (patch)
treef62e97ea9ea8e8b089031d42d2361a00a4c6cba4 /src
parent00adf5c48f4c29884d56d85c9ad24a2ca5b82444 (diff)
downloadvyos-1x-069f7e5a8431f95d7316a0da682e962f6eb1320a.tar.gz
vyos-1x-069f7e5a8431f95d7316a0da682e962f6eb1320a.zip
Revert "snmpd: T1705 - High CPU usage by bgpd when snmp is active"
Systems not runing BGP won't boot anymore. Syslog shows: snmpd[5404]: getaddrinfo: inetCidrRouteTable Name or service not known snmpd[5404]: getaddrinfo("inetCidrRouteTable", NULL, ...): Name or service not known snmpd[5404]: Error opening specified endpoint "inetCidrRouteTable" snmpd[5404]: Server Exiting with code 1 snmpd[5401]: Starting SNMP services:: systemd[1]: snmpd.service: control process exited, code=exited status=1 systemd[1]: Failed to start LSB: SNMP agents. systemd[1]: Unit snmpd.service entered failed state. This reverts commit e45648cdd5a52569be7f3ac30473b0c7474a7894.
Diffstat (limited to 'src')
-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 60e4c343d..0ddab2129 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -224,7 +224,7 @@ init_config_tmpl = """
SNMPDRUN=yes
# snmpd options (use syslog, close stdin/out/err).
-SNMPDOPTS='-LSed -u snmp -g snmp -I -ipCidrRouteTable, inetCidrRouteTable -p /run/snmpd.pid'
+SNMPDOPTS='-LSed -u snmp -g snmp -p /run/snmpd.pid'
"""
default_config_data = {