Installing and Configuring SNMP On Centos

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Installing and Configuring SNMP on Centos

1. Install SNMP on server

yum install net-snmp net-snmp-utils net-snmp-devel -y

2. Configure SNMP

vi /etc/snmp/snmpd.conf
Open above file, then copy and paste below lines (Delete everything else in
file). Then save the file.
com2sec ConfigUser default
ARESKWT #(ARESKWT is the sample
community name)
#access notConfigGroup "" any
noauth exact systemview none
none
#create a read only view for us to let the group have rights to whole tree#
view roview
included
.1

# (System Location)
syslocation ARDIYA-OFFICE
#(System Admin Email)
syscontact Tech Support techkwt.ares@alshaya.com

3. Starting and stopping the service

service snmpd start


service snmpd stop

4. Creating user with authentication


net-snmp-config --create-snmpv3-user -ro -A 86gr6LaNNS -a SHA -X
5aC87HxCSt -x AES aresstores

5. Configure the service to start on restart

service snmpd restart


chkconfig snmpd on

6. To check SNMP is working, execute below command

snmpwalk -u aresstores -A 86gr6LaNNS -a SHA -X 5aC87HxCSt -x AES -l


authPriv localhost -v3

7. The below result should be visible

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy