Skip to content

Installing SNMP Server

Mark Brugnoli-Vinten edited this page Jul 18, 2018 · 2 revisions

Linux

Ubuntu

apt install -y snmpd

Change /etc/snmp/snmpd.conf

#  Listen for connections from the local system only
#agentAddress  udp:127.0.0.1:161
#  Listen for connections on all interfaces (both IPv4 *and* IPv6)
agentAddress udp:161,udp6:[::1]:161

And further down add

rocommunity public _poller_address_
rocommunity6 public _poller_address_

Finally, set the system information

sysLocation   _location_
sysContact    netniV <[email protected]>

sysServices   72

Restart the server

systemctl restart snmpd