Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
My linux server have SNMP configure port by default is 161 (UDP)
now my monitor team - who are using Nagios - say the server are not being monitor
so check netstat -lnu and I see all is OK and snmp service is running fine
what else should I check about this port 161? to see if it is really opened and listening?
Try running snmpwalk on that server to make sure that you
get a response. If that works, try running snmpwalk on
the nagios server. If it doesn't work on the nagios
server, run iptables -nL to see if the port is being
blocked. Also check the configuration of the snmp
service, since it may only send responses to select
addresses.
Try running snmpwalk on that server to make sure that you
get a response. If that works, try running snmpwalk on
the nagios server. If it doesn't work on the nagios
server, run iptables -nL to see if the port is being
blocked. Also check the configuration of the snmp
service, since it may only send responses to select
addresses.
I forgot to add the netstat -lun output
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 0.0.0.0:161 0.0.0.0:*
Try running snmpwalk on that server to make sure that you
get a response. If that works, try running snmpwalk on
the nagios server. If it doesn't work on the nagios
server, run iptables -nL to see if the port is being
blocked. Also check the configuration of the snmp
service, since it may only send responses to select
addresses.
how can I run snmpwalk?
and yes the snmp is configured to send to specified IP
Type in "snmpwalk". Read the man page for more info on the command.
Quote:
and yes the snmp is configured to send to specified IP
It should respond to localhost, or 127.0.0.1 also, so if you run snmpwalk on that machine locally, it'll respond. Might want to check and see if you're running IPtables, or blocking the port somehow.
Type in "snmpwalk". Read the man page for more info on the command.
It should respond to localhost, or 127.0.0.1 also, so if you run snmpwalk on that machine locally, it'll respond. Might want to check and see if you're running IPtables, or blocking the port somehow.
I mean it was working OK and suddenly 6 servers Stopped working
This is much different than your first post, when you said "my linux server" (singular). Would help if you had given complete information in your first post.
One might fail...six don't, unless something changes further downstream, like a router/firewall in between those six and the monitoring server.
This is much different than your first post, when you said "my linux server" (singular). Would help if you had given complete information in your first post.
One might fail...six don't, unless something changes further downstream, like a router/firewall in between those six and the monitoring server.
sorry I did not say 6 servers
yeah I told them the same thing before posting here 1 server is OK but 6 having the same issue I told them the only thing shared by all of them is network..
yeah I told them the same thing before posting here 1 server is OK but 6 having the same issue I told them the only thing shared by all of them is network..
but my networking team is so dump....
yeah it was a networking issue
thanks a lot
Really?? They're "dump"??? Or do you mean "dumb"???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.