Configure snmp for CentOS

Source: Internet
Author: User
Install: yuminstallnet-snmpnet-snmp-utils (test tool) configuration snmp edit/etc/snmp/snmpd. conf change group name search for the following line # sec. namesourcecommunitycom2secnotConfigUserdefaultpublic publi

Installation:

Yum install net-snmp-utils (test tool)

 

Configure snmp
Edit/etc/snmp/snmpd. conf

Change group name
Find the following lines
# Sec. name source community
Com2sec notConfigUser default public
Change the public group name to any other field, for example:
Com2sec notConfigUser default monit

Grant read permission
Find the following lines
# Group context sec. model sec. level prefix read write notif
Access notConfigGroup "" any noauth exact systemview none
Change the read permission systemview to all, for example:
Access notConfigGroup "" any noauth exact all none
Find the following lines
# Incl/excl subtree mask
# View all supported DED. 1 80
Remove # before view all, for example:
View all supported DED. 1 80

 

Start snmpd service

Related Article

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.