linux_wiki:net-snmp

This is an old revision of the document!


Net-snmp

General Information

How to install the net-snmp service for monitoring.

Checklist

  • Distro(s): Enterprise Linux

1) Install net snmp

yum install net-snmp net-snmp-utils net-snmp-libs

2) Create the SNMPv3 User

net-snmp-create-v3-user -ro -A <Authpw> -X <Encryptionpw> -a SHA -x AES <snmpv3username>

Example:

net-snmp-create-v3-user -ro -A MyAuthPW123 -X MyEncryptPW123 -a SHA -x AES systempoller

3) Start the snmpd service

service snmpd start

4) Configure service to start at boot

chkconfig snmpd on

Location: /etc/snmp/snmpd.conf

SNMPv2 Example content:

rocommunity redhat
syslocation Datacenter, Row 3, Rack 2
syscontact UNIX Admin <admin@example.com>
  • linux_wiki/net-snmp.1458357160.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)