Created
January 14, 2015 16:02
-
-
Save noniq/1bba7ddeb84a2cbf0abe to your computer and use it in GitHub Desktop.
snmpd configuration fix (Ubuntu 12.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/default/snmpd b/default/snmpd | |
index 14f2b86..4ad43a6 100644 | |
--- a/default/snmpd | |
+++ b/default/snmpd | |
@@ -8,7 +8,7 @@ export MIBS= | |
SNMPDRUN=yes | |
# snmpd options (use syslog, close stdin/out/err). | |
-SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid' | |
+SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' | |
# snmptrapd control (yes means start daemon). As of net-snmp version | |
# 5.0, master agentx support must be enabled in snmpd before snmptrapd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment