Ad Widget

Collapse

Diff(0) in triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • simonquentel
    Member
    • Mar 2013
    • 49

    #1

    Diff(0) in triggers

    Hi everyone, I am using diff(0) function in zabbix trigger to avoid having a trigger turned on several times by the same information.

    To be more accurate, I have a trigger for SNMP traps for a given source and I want to avoid triggering several times the same message.

    So what I do is using {MY_HOST:snmptrap[MY_REGEXP].diff(0)}>0

    I have the feeling that it is not working for the very first trap.

    Is there another function I could use that ensures the first trap also turn the trigger on?

    Thank you in advance,

    Simon
  • simonquentel
    Member
    • Mar 2013
    • 49

    #2
    Any suggestion?

    Simon

    Comment

    • simonquentel
      Member
      • Mar 2013
      • 49

      #3
      Can i Use :
      ({MY_HOST:snmptrap[MY_REGEXP].diff(0)}>0) | ({MY_HOST:snmptrap[MY_REGEXP].last(#2)}= null)

      Comment

      Working...