Linux Configuration SNMP Service

Source: Internet
Author: User
Tags snmp



How to configure SNMP on--linux


--mount the ISO disc image file first
Mount-o Loop/soft/rhel-server-6.4-x86_64-dvd.iso/mnt/cdrom


--first check to see if the SNMP-related package is installed
# Rpm-qa|grep SNMP


--Here the package is installed through Yum to prevent dependencies
# yum Install net-snmp-*
--or each package is installed separately
RPM-IVH net-snmp-libs-5.3.2.2-17.el5.x86_64.rpm


--Configure the etc/snmp/snmpd.conf file after installing the required packages
Modify the snmpd.conf file as follows


1. Modify the default community string


Com2sec notconfiguser Default Public


Modify public to the specified string tppublic


2. Put the following statement


Access Notconfiggroup "" Any noauth exact systemview none None
Change to:


Access Notconfiggroup "" Any noauth exact mib2 none None


3. Remove the following # number


#view mib2 included. Iso.org.dod.internet.mgmt.mib-2 FC






--Start SNMPD service


Service SNMPD Start
or/ETC/RC.D/INIT.D/SNMPD.


--Set as boot start

$ chkconfig snmpd on


--View status
Chkconfig--list | grep snmpd



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Linux Configuration SNMP Service

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.