SNMP Trap Telegraf Input Plugin

Simple Network Management Protocol (SNMP) is a protocol often used with managed networks to check device activity and communicate critical information.

SNMP Traps are a type of alert device used to alert the Network Management System about events without being polled.

Why use the SNMP Trap Telegraf plugin?

The SNMP Trap plugin allows you to collect critical information about events on your managed network.

By using SNMP Trap plugin along with the SNMP plugin, customers can balance resource consumption impact (both system and network) caused by short pulling intervals trying to catch subtle changes, when a trap would be a better and more cost-efficient option. For example, when a power supply unit or disk failure occurs, Telegraf receives the SNMP trap and sends it to the output plugins. You can configure an alert to notify you or your team of the failure.

How to monitor SNMP Trap using the Telegraf plugin

Configure a listenable port for the SNMP Trap plugin and then point the plugin to InfluxDB to start collecting metrics.

Key SNMP Trap Metrics to use for monitoring

Some of the important SNMP Trap metrics that you should proactively monitor include:

  • Tags:
    • source
    • name
    • mib
    • oid
    • version
  • Fields:
    • Fields are mapped from variables in the trap. Field names are the trap variable names after MIB lookup. Field values are trap variable values.
For more information, please check out the documentation.

Project URL   Documentation

Related resources