[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On Thu, 2006-02-09 at 10:38 -0800, Tony Cratz wrote:
> I created a new /usr/local/etc/snmp/snmpd.conf using just the
> one line above. And this is what I now get:
>
>
> # /usr/local/sbin/snmpd -DALL -c /usr/local/etc/snmp/snmpd.conf
If you're trying to track down problems, I would suggest:
* You only turn on the debugging that you actually require
(-DALL spews out so much that important information
gets drowned out by all the crud)
* You don't run the agent as a daemon
Try
/usr/local/sbin/snmpd -f -Le -c /usr/local/etc/snmp/snmpd.conf
> #/usr/local/bin/snmpwalk -Os -c public -v 1 localhost system
> sysDescr.0 = STRING: SunOS tkxlabimap1 5.8 Generic_117350-02 sun4u
<snip>
> sysORUpTime.9 = Timeticks: (35) 0:00:00.35
And that's where it stops?
In which case, I strongly suspect that it's picking up on
some other access control settings as well. Try running
the agent as
/usr/local/sbin/snmpd -f -Le -Dread_config .....
and see which config files it's loading.
I would suggest that you remove (or rename) all of these
except the one containing "rocommunity public".
If you can simplify the config as much as possible,
it's much easier to track down and fix any problems.
Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users