How to configure SNMP on Debian

This will be a fairly straight forward to tell you how to configure SNMP on Debian operating systems.

Warning: Configuration of your linux server is your responsibility. Please don’t damage your linux servers.

Download SNMPd

SNMPd is not installed by default. You must first install snmpd.

apt-get update; apt-get install snmpd

You should see many lines;

The following NEW packages will be installed:
libsensors4 libsnmp-base libsnmp15 snmpd
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,659 kB of archives.
After this operation, 4,210 kB of additional disk space will be used.
Do you want to continue [Y/n]?

You click just hit enter. It will download and install snmp. When this is done.

Configure SNMP on Debian

Open the configuration file:

nano /etc/snmp/snmpd.conf

The first thing to change will be at the top of the configuration file.


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

You are changing 2 things here. By default:
#agentAddress udp: will be agentAddress udp:


agentAddress udp:161,udp6:[::1]:161 will be #agentAddress udp:161,udp6:[::1]:161

Simply make the change to make it appear like above in blue.

Further down the configuration file you can add the following.

Add the following for your internal ip addresses:

rocommunity secret
rocommunity secret
rocommunity secret

Press ctrl+x to exit. Type y to save, and press Enter for the file name.

Restart the SNMP agent:

/etc/init.d/snmpd restart

This should be all you need to do in most cases. Now from Netmon add your server:

There are many more uses, configurations and examples of what can be done with Netmon’s Network Monitoring Solution. Please don’t hesitate to contact us should you have any questions.

You can also go to our demo where you can navigate through a live and working instance of netmon from our HQ, and finally, we can even do a phone and web session where we give you a full demo of the product.

Try our Netmon 6.2 Demo!

Take a live test drive of our Netmon 6.2 network monitoring solution inside our HQ network with live traffic and operational devices.


Once you register you will be sent an email with further details and login information.

Your Name: (required)

Company Name: (required)

Email: (required)

*By registering above, you agree to be contacted to receive details for the demo login and future communications, unless otherwise opting out.