#snmp #community #apt #public #ip #tcp #tcpip #snmpd #linux #ubuntu #debian #service #daemon #udp Run the following commands on the terminal: 1. Update all packages: ``sudo apt-get update`` 2. Install SNMP: ``sudo apt-get install snmpd`` 3. Edit ``snmpd.conf`` with text editor of your choice, I will be using nano, as this is an easy editor, so type: ``sudo vi /etc/snmp/snmpd.conf`` 4. Configure agentAddress: agentAddress udp:161 #port161 -This will set the server to listen on all IPv4 and IPv6 addresses (remove the ‘#’ in front of the agentAddress, to enable it!) – To bind it to a specific IP address use (ex.): agentAddress udp:192.168.1.5:161 5. Configure rocommunity: rocommunity public -Change “``public``” to your community name 1. Restart the SNMPD service: ``sudo service snmpd restart`` Check that SNMPD is started OK with this: ``sudo service snmpd status`` Check this too: ``vi /etc/snmp/snmpd.conf`` ( Zie ook [[VI VIM Cheat Sheet]] ) ``` agentAddress udp:192.168.178.5:161 rocommunity famvanderwijk sysLocation Zwolle sysContact Jan van der Wijk ``` [[SNMP Settings]] [[SNMP, Setup Client for Ubuntu]] [[SNMP, Install and Configure on Ubuntu Server]] [[Install SNMP Services in Windows]] [[Search for hosts supporting SNMP]]