Skip to content

SNMP Trap Inform  #7130

@neeles83

Description

@neeles83

Feature Request

As requested in #6918 an additional Feature request to start the discussion on SNMP Inform traps.

In SNMPv2 and SNMPv3 the InformRequest was added, this to send a reply once a SNMP Trap is received. The reply is sent as an acknowledgement of the received trap, to stop traps from being sent.

Proposal:

Add inform support to SNMP-Traps
http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html

Current behavior:

In our capture of traffic we see the traffic arriving but the inform is not presented in the exposed metrics of telegraf,

Below an SNMP traps without and with inform request:

07:49:44.829779 IP nlrott99-gm5120.testlab.net.43613 > rott99-app2002.snmptrap: C="xxxxxxxx" V2Trap(173) system.sysUpTime.0=9528 S:1.1.4.1.0=E:26866.1.1.11 E:26866.1.2.17="GigaVUE-OS" E:26866.1.2.1=3 E:26866.1.2.2="Fan Status Change" E:26866.1.2.19="1" E:26866.1.2.20=1

This below inform trap is received but dropped by the collector and no response is sent

07:49:17.911719 IP nlrott99-bs2010.testlab.net.32795 > rott99-app2002.snmptrap: C="xxxxxxx" Inform(57) system.sysUpTime.0=120308 S:1.1.4.1.0=E:15694.2.8.6

Desired behavior:

SNMP Inform should be accepted and sent a reply message, this to not get overloaded by inform traps.

Use case:

Traps of devices ares now not processed, in addition we want to use SNMPv3 because of security requirements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/snmpfeature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions