[Pkg-net-snmp-devel] Bug#316993: snmpd default CONFIG is totally broken
Peter Keel
seegras at discordia.ch
Thu Jul 8 16:41:25 UTC 2010
Hello
I can only support this. The default config is totally broken.
1. SNMPDOPTS in /etc/default/snmpd should contain the "-r" flag,
otherwise the snmpd will be stuck on things it can't read
(/dev/kmem) because it's not running as root.
2. I would expect that as soon as I turn on snmpd, I should be able
to do an snmpwalk -v2c -H localhost -C public. Not so with what
currently lives in /etc/snmp/snmpd.conf
There is even a tutorial on how the defaults _need_ to be changed
to accomplish anything on http://www.debianhelp.co.uk/snmp.htm
Didn't work for me, tough. And it's a sad state if you need a
tutorial to tell you what the example file does wrong, isn't it?
In the end, I did a minimal configuration with snmpconf, which
works. This:
# SNMPv3
rwuser writer auth
rouser reader
#SNMPv1/SNMPv2c
rocommunity public 127.0.0.1
rwcommunity private 127.0.0.1
# System Information
syslocation Datacenter
syscontact hostmaster at example.com
I'm pretty sure all that baggage in the example file would serve a very
elegant purpose, only I can't appreciate it, because it simply does not
work.
Cheers
Seegras
--
"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." -- Benjamin Franklin
"It's also true that those who would give up privacy for security are
likely to end up with neither." -- Bruce Schneier
More information about the Pkg-net-snmp-devel
mailing list