Ad Widget

Collapse

SNMP Trap value in Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcraponi
    Junior Member
    • Oct 2012
    • 15

    #1

    SNMP Trap value in Trigger

    Hi, I use snmptt to collect my SNMP Traps. It's working fine...
    Now, I want to get some TRAP value to use in the Trigger Name.

    For example, in my snmptt.conf I have:

    EVENT fnTrapPowerSupplyFailure .1.3.6.1.4.1.12356.100.1.3.0.106 "fnTrapPowerSupplyFailure" Normal
    FORMAT ZBXTRAP $aA $ar - VALUES: $1 $2

    I need get the $2 and use in the trigger.

    I'm using ZBX 3.0

    Thanks in advance,
    Paulo R.
    Last edited by pcraponi; 24-03-2017, 21:06.
  • slagmaur
    Junior Member
    • Nov 2016
    • 3

    #2
    Zabbix 3.4 allow to do macro functions, that might help you out https://www.zabbix.com/documentation...acro_functions

    Comment

    • ppn3
      Junior Member
      • May 2018
      • 2

      #3
      Is it supported ti use the above mentioned macro functions in {ITEM.VALUE} in trigger name?

      Comment

      Working...