Rodolfo,
My MRTG Config file: ((Edited for my comm strings -- MYCOMMSTRING is substituted))
<snip>
Thanks a lot, Brett. Using your config as a template I have been able to get snmpd to stop reporting errors. Now it stops and starts quietly, and "netstat -leanp" shows snmpd listening on 0.0.0.0:161 as it should. However, issuing the test command "snmpget -v 1 localhost COMMUNITY interfaces.ifNumber.0" results in an error of "Timeout: No Response from localhost."
I have also created a simple mrtg.cfg file based on your template which I _think_ is correct. However, like the test snmpget command running mrtg reports that no response was received.
Although I didn't think that could be the problem, I have ruled out firewall issues by temporarily clearing all rules and setting policies to ACCEPT. But in testing again, same result. Of course port 161 is not accessible from outside the box (only via the lo interface), and port scans confirm that.
Here is a copy of my /etc/snmpd/snmpd.conf:
------------------------------------------------ com2sec local localhost COMMUNITY-1 com2sec mynetwork aa.bb.cc.dd/29 COMMUNITY-2
# Note that I don't know what "v2c" or "v1" mean yet... have not # found them in the documentation anywhere. Again, yet. group MyRWGroup v2c local group MyROGroup v1 mynetwork
view all included .1 80
# The error messages said "exact" or "prefix" were valid choices,
# and your example had "exact". However, I do not know what
# either of these two keywords mean yet.
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all all
syslocation Guatemala (Factorrent) syscontact Rodolfo J. Paiz <rpaiz@xxxxxxxxxxxxxx> ------------------------------------------------
What could be the problem with my SNMPd?
-- Rodolfo J. Paiz rpaiz@xxxxxxxxxxxxxx
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list