[CentOS] net-snmp puzzle
drew.einhorn at gmail.com
Wed Nov 19 16:28:09 UTC 2008
I have a bunch of centos 5.2 boxes.
I'm trying to run smtp on all of them.
Using indentical net-snmp configuration files.
com2sec notConfigUser localhost smssnmp
com2sec notConfigUser 10.1.1.0/24 smssnmp
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
view systemview included .1
access notConfigGroup "" any noauth exact
systemview none none
syslocation SMS - North Carolina
syscontact drew.einhorn at gmail.com
pass .188.8.131.52.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.
More information about the CentOS