Ad Widget

Collapse

Trigger from Template doesn't trigger action

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hegermi
    Junior Member
    • Dec 2006
    • 19

    #1

    Trigger from Template doesn't trigger action

    It seems there is some strange when you want an action to take place based on the name of a trigger defined in a template.

    I see events but no action.

    Under "CONFIGURATION OF ACTIONS" I have selected

    Trigger name like pingloss

    which translates into the condition:

    Trigger description like "pingloss"

    I also tried:

    Trigger = pingloss

    which translates into the condition:

    Trigger = "pingloss"

    where I first selected the template "pinghost" and next the "pingloss" trigger in the template (seems logic to me)


    I also tried:

    Trigger = pinghostingloss

    simply adding the template name in front,

    which translates into the condition:

    Trigger = "pinghostingloss"

    Also tried

    Trigger description like "%pingloss"

    Adding any of these prevents the action to happen. I really would like to be able to have other actions for other triggers.

    Can anyone explain how this condition mechanism in "CONFIGURATION OF ACTIONS" works?



    I also have a problem with the trigger sometimes going to ON a bit to quick.

    I use a simple equation like {pinghost:icmpping.sum(120)} < 1

    Sum Sum of values for period of time. Parameter defines length of the period in seconds.

    Here I hoped that with a ping every 30 seconds the sum would only go to zero if during the 120 second or 4 poll cycles the ping fails.

    I found that the result were unstable. To debug I added some variables to the action.

    Last 2: {{HOSTNAME}:icmpping.sum(60)}
    Last 3: {{HOSTNAME}:icmpping.sum(90)}
    Last 4: {{HOSTNAME}:icmpping.sum(120)}
    Last 5: {{HOSTNAME}:icmpping.sum(150)}
    Last 6: {{HOSTNAME}:icmpping.sum(180)}
    Last 7: {{HOSTNAME}:icmpping.sum(210)}
    Last 8: {{HOSTNAME}:icmpping.sum(240)}
    Last 9: {{HOSTNAME}:icmpping.sum(270)}
    Last 10: {{HOSTNAME}:icmpping.sum(300)}

    expecting

    Last 2: 0
    Last 3: 0
    Last 4: 0
    Last 5: 0
    Last 6: 1
    Last 7: 2
    Last 8: 3
    Last 9: 4
    Last 10: 5

    I got

    Last 2: 0
    Last 3: 0
    Last 4: 0
    Last 5: 0
    Last 6: 0
    Last 7: 1
    Last 8: 1
    Last 9: 1
    Last 10: 1

    Can anyone tell me how I should the sum of the last 4 values returned ?

    Cheers,

    Michel

    This is zabbix 1.1.6
    Last edited by hegermi; 02-03-2007, 14:20.
  • hegermi
    Junior Member
    • Dec 2006
    • 19

    #2
    I also notice a deviation on the ping

    When there is a timely response to ping, a ping is send approximately every 30 sec. When there is no response it seems to wait for a timeout leaving up to 90 sec between pings

    Any one have a clue where this timeout is configured?


    2007.Mar.02 19:06:16 1
    2007.Mar.02 19:04:41 1
    2007.Mar.02 19:03:07 1
    2007.Mar.02 19:01:31 1
    2007.Mar.02 19:00:26 0
    2007.Mar.02 18:58:26 1
    2007.Mar.02 18:56:52 1
    2007.Mar.02 18:55:16 1
    2007.Mar.02 18:53:38 1
    2007.Mar.02 18:58:26 1
    2007.Mar.02 18:56:52 1

    Comment

    Working...