Ad Widget

Collapse

Trigger based on string AND duration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • melpheos
    Member
    • Dec 2008
    • 64

    #1

    Trigger based on string AND duration

    Hi everyone,

    i have yet to see how one can make a trigger based on a string value and a duration.

    I have tried using dependencies but i'm still in a deadend.

    The situation is as follow. I would like to have a trigger being for example high if an item has a string value of something else than "none" for 5 minutes and disaster if longer than 10 minutes.

    Unfortunatly, as soon as you use string values, you loose the timing options. I have though using 2 scripts on our windows mahines, one sending only 0 and 1 to a zabbix item and another one sending the string value but i'm still locked because i want to send the string value in our alerts email and again : deadend...

    Anyone has an idea ?
  • melpheos
    Member
    • Dec 2008
    • 64

    #2
    I may have found a workaround for this but the workaround does not "work"...

    The idea is to use escalation. The problem now is that as soon as i check escalation, the action does not work anymore.

    Unchecked : i receive an email alert
    checked : nothing...

    I have no idea why but something is broken...

    Comment

    • untergeek
      Senior Member
      Zabbix Certified Specialist
      • Jun 2009
      • 512

      #3
      When 1.8.2 is released you'll be able to use the count function:

      count(300,none,"like") would show you how many instances of "none" occurred in the last 300 seconds.

      Comment

      • melpheos
        Member
        • Dec 2008
        • 64

        #4
        This is good news. We will upgrade to 1.8.1 by this week and 1.8.2 when it's released.

        Thanks a lot

        Comment

        Working...