SNMP

From Dave-Wiki
Revision as of 16:17, 21 January 2025 by Dave (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Summary

SNMP (Simple Network Management Protocol) is a protocol used for monitoring, managing, and configuring network devices such as routers, switches, servers, printers, and other devices connected to a network. It enables administrators to collect and organize information about network devices and make changes to their configurations remotely.

SNMP Versions

SNMPv1
The original version, basic but lacks strong security.
SNMPv2
Introduced performance improvements and new features but still limited in security.
SNMPv3
Enhanced version with robust security features like authentication and encryption.

General

To install on RHEL/CentOS

sudo yum install net-snmp net-snmp-utils
sudo systemctl enable snmpd

Replace /etc/snmp/snmpd.conf with:

rocommunity "{community_string}" {ip_of_snmp_collector}

sudo systemctl start snmpd

Note Info:  Don't forget to allow snmp traffic thru your local firewall, too.