The information system and the networks are today a critical element of the competitiveness of the company. Network management systems are based on three main elements: a supervisor, nodes (or nodes) and agents. In SNMP terminology, the synonym manager is more often employed than the supervisor. The supervisor is the console that allows the network administrator to execute management queries. Agents are entities that are at each interface, connecting the managed device (node) to the network and retrieving information about different objects.

Switches, hubs, routers, workstations, and servers (physical or virtual) are examples of devices that contain manageable objects. These manageable objects can be hardware information, configuration parameters, performance statistics, and other objects that are directly related to the current behavior of the equipment in question. These objects are classified in a sort of tree database called MIB (Management Information Base). SNMP allows the dialogue between the supervisor and the agents to collect the desired objects in the MIB.


Install the SNMP Daemon and Utilities

sudo apt-get update
sudo apt-get install snmp snmp-mibs-downloader
sudo apt-get update
sudo apt-get install snmpd

Configuring the SNMP Manager

sudo nano /etc/snmp/snmp.conf
To allow the manager to import the MIB files, we simply need to comment out the mibs : line:

#mibs :

Configuring the SNMP Agent Machine


sudo nano /etc/snmp/snmpd.conf


Add the file with these lines


rocommunity public

syslocation “Your Location”

syscontact [email protected]


Save the file.


sudo nano /etc/default/snmpd

Disable this line below by adding # in front of the line 


p class=”code-pre “>#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/'

And add a new line


SNMPDOPTS=’-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/ -c /etc/snmp/snmpd.conf’


Save the file.


Restart the SNMPD service

$ sudo /etc/init.d/snmpd restart