Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[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.
[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.
Have you tried v1 or v3, instead of 2c? From what I remember, 2c needed other connection info, more than just the community string. And have you tried the 127.0.0.1, instead of localhost?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.