Snmp configuration help forLinux-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Make sure that the snmp service is installed on the local machine.
If not, find the snmp rpm package on the linux installation disk for installation, or search for an rpm package suitable for your linux release for installation.
2. snmpd. conf file configuration
Modify the snmpd. conf file as follows:
A. Modify the default community string.
Com2sec notConfigUser default public
Modify public to a string that you only know
B. Remove the # below
# View mib2 shortded .iso.org. dod. internet. mgmt. mib-2 fc
C. Run the following statement
Access notConfigGroup "" any noauth exact systemview none
Changed:
Access notConfigGroup "" any noauth exact mib2 none
3. Restart the snmpd service
#/Etc/rc. d/init. d/snmpd restart
Complete snmpd Configuration
3. Ensure that the linux iptables firewall has enabled udp port 161 access to our traffic monitoring server.
Can I use iptables? L? N view the current iptables rule
You can edit the/etc/sysconfig/iptables file to modify iptables rules.
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