O & M notes-SNMP installation Configuration

Source: Internet
Author: User
Tags snmp snmpwalk

In the new project, you need to enable the SNMP service for the monitoring machine to collect data for monitoring when deploying the server. The requirements are as follows:

1. Specify a collection machine and another machine to collect data.

2. Specify the group name and read-only


The configuration is as follows)

1. # sec. name source communitycom2sec notconfiguserdefault public change the "Comunity" field to the password to be set, that is, the group name (cannot use symbols, it will make an error) Change "default" to the IP address authorized for access
2. # Finally, grant the Group read-only access to the systemview view. # group context sec. Model sec. Level prefix read write notifaccess notconfiggroup "" any noauth exact allnone none
3. ## incl/excl subtree maskview all supported ded. 1 80 remove comments
4. # make at least snmpwalk-V 1 localhost-C public system fast again. # name incl/excl subtree mask (optional) view systemview encoded ded. 1.3.6.1.2.1.1view systemview added. 1.3.6.1.2.1.25.1.1view all supported ded. 1 add
5, #-or just the mib2 tree-view mib2 shortded .iso.org. DOD. Internet. Mgmt. mib-2 FC remove comments

Test: snmpwalk-V 2C-C public serverip ifpublic is the group name, serverip is the IP of the monitored host, and if is the port information

O & M notes-SNMP installation Configuration

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.