group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
view systemview included .1
access notConfigGroup "" any noauth exact
systemview none none
syslocation SMS - North Carolina
pass .126.96.36.199.4.1.4413.4.1 /usr/bin/ucd5820stat
I came up with this config file by tweaking some examples from howto
docs on the web,
I have not gotten to them point where I feel like I really understand
it as well as I should.
On some boxes it just works
On some boxes it complains with:
Nov 19 01:15:08 s1s0105 snmpd: /etc/snmp/snmpd.conf: line 1:
Error: bad source address
Nov 19 01:15:08 s1s0105 snmpd: net-snmp: 1 error(s) in config file(s)
Nov 19 01:15:08 s1s0105 snmpd: NET-SNMP version 5.3.1
But it works anyway.
On other boxes, it complains with:
Nov 19 10:55:03 s1s0106 snmpd: Warning: no access control
information configured. It's unlikely this agent can serve any
useful purpose in this state. Run "snmpconf -g basic_setup" to help
you configure the snmpd.conf file for this agent.
Nov 19 10:55:03 s1s0106 snmpd: NET-SNMP version 5.3.1
And does not work. Fooling around with snmpconf leads to much
different config files but they don't work any better.
CentOS mailing list