> I have built and installed snmp, and have started snmpd. When I attempt
> anything like:
>
> % snmpwalk localhost public system
>
> I get the following error:
>
> Timeout: no response from localhost.
Try the following:
- shut down the agent
- run "snmpd -f -Le -d"
That will start the agent as a "normal" process, allowing you to see any
error messages, and also indicate when packets are sent or received.
(If it complains about -Le, then use -L instead. You haven't said
which version of the suite you're using).
Then try querying the agent (in a separate window):
- snmpgetnext -v 1 -c public -r 0 localhost system
That sends a *single* request packet.
What do you see displayed by the agent?
a) Two packet dumps (one received, one sent)
This is unlikely as it would imply a problem
with the client-side tools
b) One packet dump (received) with no response
This would indicate a problem with the access
control settings as the most likely cause.
c) No packet dumps at all
This would imply the problem lies elsewhere,
and not with the SNMP setup at all.
My guess would be local firewall settings.
Try shutting down "iptables" and trying again.
That's not a long term solution, I hasten to add! It's just
a simple way to determine whether this is indeed the cause.
A better approach would be to punch a hole for (legitimate)
SNMP traffic through the firewall settings. But first you
need to check whether this is indeed the cause.
Try that, and report back what you see.
Dave
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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