Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I have a CentOS system and I just recently installed net-snmp and net-snmp-utils.
I set up a basic snmpd.conf file with basically the community string as "public" and restarted the service.
Locally I can run snmpwalk -v 1 localhost -c public system and get a nice blast of snmp data out put.
I can do the same with snmpwalk -v 2c -c public localhost system.
Now when I try these commands from another (monitoring system), i.e. to do an snmpwalk on my centOS box, I get:
Timeout: No response from 192.0.5.142 <---my CentOS box).
I can ping from that monitoring server to my CentOS box. I can ssh. If it's a port problem then I should have been able to get snmp data even when running the command locally on the CentOS box, right?
Incidentally I can successfully get snmpwalk data from other systems on the 192.0.5.X network when I execute the command on the monitoring/management box.
Hi,
I have a CentOS system and I just recently installed net-snmp and net-snmp-utils. I set up a basic snmpd.conf file with basically the community string as "public" and restarted the service. Locally I can run snmpwalk -v 1 localhost -c public system and get a nice blast of snmp data out put.
I can do the same with snmpwalk -v 2c -c public localhost system.
Now when I try these commands from another (monitoring system), i.e. to do an snmpwalk on my centOS box, I get:
Timeout: No response from 192.0.5.142 <---my CentOS box).
I can ping from that monitoring server to my CentOS box. I can ssh. If it's a port problem then I should have been able to get snmp data even when running the command locally on the CentOS box, right? Incidentally I can successfully get snmpwalk data from other systems on the 192.0.5.X network when I execute the command on the monitoring/management box.
Nope; doing it locally will work, even if there is a firewall/iptables rule blocking it from the network. Since you've ruled out a config problem with SNMP on that box, can walk it locally, and have ruled out network issues with that VLAN, check the firewall/iptables rules. Since it's a new installation (you don't say what version), it may have shoved rules out there automatically at build time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.