Ad Widget

Collapse

Ignoring some SNMP traps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • albatrosdk
    Junior Member
    • Mar 2018
    • 12

    #1

    Ignoring some SNMP traps

    Hi guys,

    We have a setup where an external system sends us SNMP traps. Some of these traps don't contain any relevant information and are just heartbeat messages.

    They contain the phrase "PERIODICAL TRAP" in one of their OIDs.

    Is there a way we can get Zabbix to just throw away these traps? We don't want to do it on the SNMP receiving side(snmptrapd or the traphandler/parser). So something like a preprocessing regex would be nice -but my regex-foo is incredibly bad these days.

    Any ideas?

    TIA

    /A
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4832

    #2
    I know there was an answer here alerady .. It got lost in action..
    But you need either specific triggers for your fallback item, or you need to catch only specific traps All of them requre some regexing .regex101.com can help you there..

    Comment

    Working...