Monitoring Flowmon System Resources via SNMP

22/10/18

To monitor Flowmon system resources, we can use common monitoring tools based on SNMP.

The Simple Network Management Protocol (SNMP) is used for collecting data from network devices. An agent running on a managed device reports the requested information via SNMP to the manager. The information requested is described in MIB files. MIB (Management Information Base) is a database with a hierarchical structure where each entry is addressed through an object identifier (OID).

The SNMP Community string, which can be set in Flowmon under Configuration~Center/System/System settings/SNMP server, is a simple authentication mechanism. It is used as an authentication in SNMPv2, but it is not very secure, because it is sent with every packet in plain text. To use a more secure SNMPv3, read our blog about Secure monitoring of Flowmon resources.

Configuration:
To configure Flowmon SNMP, just set the SNMP community string and you can then start using it to monitor system resources.

 
snmp_public_string_v10.png

When the Community string is saved, to test the functionality use snmpwalk or snmpget command such as
snmpwalk -v 1 -c [your community string] [IP address of monitored device] [Object Name or OID]:

[flowmon@int-probe ~]$ snmpwalk -v 1 -c my_string localhost system


Below are listed some interesting Object names or OIDs that can be requested from agents.

The full list of supported object names and OID’s is available in this document.

An example of its graphical representation.

A graph of System processes during the previous day:

snmp_test_system_processes.png

A graph of Storage used during the previous day:

snmp_test_storage.png

A graph of Processor load during the previous day:

snmp_test_cpu_load.png


In conclusion, there is no need to install monitoring clients that use other techniques, because Flowmon can provide the usage of system resources through SNMP. Only basic monitoring tools are needed to collect and analyse this data (such as Nagios, Cacti or Icinga).