Best solution about: CactiEZ monitoring a Linux host when iptables prevents the udp161 port from causing an inability to monitor the solution

Source: Internet
Author: User


Since there is a firewall enabled when adding a Linux host, there are two ways to troubleshoot Linux hosts because of the inability to monitor Linux hosts:
This command can be executed by the monitoring host: Snmpwalk-c public-v 2c 192.168.100.244 indicates the ability to receive data information from the monitored machine



One, effective in time, but restarting the server will have to be added to the rule again
Iptables-i input-p UDP--dport 161-j ACCEPT

Two, permanent entry in Vi/etc/sysconfig/iptables add
-A input-p UDP--dport 161-m State--state new,established-j ACCEPT


650) this.width=650; "title=" 1.png "src=" Http://s3.51cto.com/wyfs02/M02/71/ED/wKiom1Xay7TyhlBFAAJc5NBrsxw830.jpg " alt= "Wkiom1xay7tyhlbfaajc5nbrsxw830.jpg"/>



This article is from the "Breght Moon" blog, make sure to keep this source http://liqingbiao.blog.51cto.com/3044896/1687683

Best solution about: CactiEZ monitoring a Linux host when iptables prevents the udp161 port from causing an inability to monitor the solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.