Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Install and configure SNMP

Shulou Source: shulou.com Published: 2022-06-01 05:01:35 10月04日 Update

1. Yum installation method-this method can be used if there is a YUM source, which is the fastest.

Yum install-y net-snmp net-snmp-utils

2. The following is the rpm package required to install the snmp service:

Libsensors3-2.10.6-55.el5.i386.rpm

Lm_sensors-2.10.6-55.el5.i386.rpm

Net-snmp-libs-5.3.2.2-5.el5.i386.rpm

Net-snmp-5.3.2.2-5.el5.i386.rpm

Net-snmp-utils-5.3.2.2-5.el5.i386.rpm

3. Configuration

Vim / etc/snmp/snmpd.conf

A. Modify the default community string

Com2sec notConfigUser default public

Change the Password to a string you just know (actually a password)-- do not use the default in this place or it will be *.

B. Remove the # below

# view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc

C, put the following sentence

Access notConfigGroup "" any noauth exact systemview none none

Change it to:

Access notConfigGroup "" any noauth exact mib2 none none

4. Restart the snmpd service

# / etc/rc.d/init.d/snmpd restart

Or service snmpd restart.

Tags: Way face-to-face service configuration fastest place character string password namely statement Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Information Linux Shulou Technology Apple