LINUX - How do I enable SNMP on Ubuntu
Run the following commands on the terminal:
Note
This guide is for written for Ubuntu Server 20.04 LTS
Run the following commands on the terminal:
Update all packages and Install SNMP:
1sudo apt-get update
2sudo apt-get install snmpd
Edit snmpd.conf
with text editor of your choice, I will be using nano, as this is an easy editor
1sudo nano /etc/snmp/snmpd.conf
1agentAddress udp:161,udp6:[::1]:161
1agentAddress udp:192.168.1.5:161
1rocommunity public
1sudo service snmpd restart
1sudo service snmpd status