0% found this document useful (0 votes)
50 views2 pages

Installing and Configuring SNMP On Centos

Installing and Configuring SNMP on Centos in 3 sentences: Install SNMP on a Centos server with yum, configure SNMP with the snmpd.conf file defining a read-only view and system details, and start and enable the SNMP service to monitor the server and create a user for authentication using net-snmp-config.

Uploaded by

Mudasir Adeel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views2 pages

Installing and Configuring SNMP On Centos

Installing and Configuring SNMP on Centos in 3 sentences: Install SNMP on a Centos server with yum, configure SNMP with the snmpd.conf file defining a read-only view and system details, and start and enable the SNMP service to monitor the server and create a user for authentication using net-snmp-config.

Uploaded by

Mudasir Adeel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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 [email protected]

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