snmpd running but not responding
RHEL5, net-snmp-5.3.2.2-5.el5
[root@mda-services ~]# service snmpd status snmpd (pid 27340) is running... [root@mda-services ~]# snmpwalk -v 2c localhost -c public Timeout: No Response from localhost It's been a long time since I've mucked with an snmpd.conf and I seem to remember needing to change something in the stock file to make it go. |
Quote:
Also, check your IPtables..see if there's anything blocking ports 161 and 162.... |
I have checked my system with below mentioned snmp.conf, snmp working fine
## sec.name source community com2sec local 127.0.0.1 public com2sec mynetwork 172.16.0.0/16 vnet ## group.name sec.model sec.name group MyRWGroup v1 local group MyRWGroup v2c local group MyROGroup v1 mynetwork group MyROGroup v2c mynetwork ## incl/excl subtree mask view all included .1 80 ## context sec.model sec.level prefix read write notif access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all all #disk / 10000 disk / 10000 disk /opt 10000 disk /usr 10000 disk /var 10000 # Added for support of bcm5820 cards. pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat |
Quote:
|
I started to look back into this. I was thinking, maybe selinux? Nope, nothing in audit.log... but then I happened to notice, in /var/log/messages :
Apr 8 21:43:18 mda-services snmpd[28291]: Connection from UDP: [127.0.0.1]:49806 REFUSED Effing hosts.allow! I haven't used that in years! So my issue is resolved. Thanks for the responses! |
Quote:
Quote:
group MyRWGroup v2c local group MyROGroup v2c mynetwork He cant get the response from localhost using snmpwalk. #snmpwalk -v 2c localhost -c public |
All times are GMT -5. The time now is 02:56 PM. |