[CentOS] net-snmp puzzle

Wed Nov 19 16:28:09 UTC 2008
drew einhorn <drew.einhorn at gmail.com>

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.
/etc/snmp/snmpd.conf

    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 .1.3.6.1.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[7073]: /etc/snmp/snmpd.conf: line 1:
Error: bad source address
    Nov 19 01:15:08 s1s0105 snmpd[7073]: net-snmp: 1 error(s) in config file(s)
    Nov 19 01:15:08 s1s0105 snmpd[7073]: NET-SNMP version 5.3.1

But it works anyway.

On other boxes, it complains with:

    Nov 19 10:55:03 s1s0106 snmpd[22621]: 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[22621]: 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.

Any ideas?
-- 
Drew Einhorn