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 = pinghost
ingloss
simply adding the template name in front,
which translates into the condition:
Trigger = "pinghost
ingloss"
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
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 = pinghost
inglosssimply adding the template name in front,
which translates into the condition:
Trigger = "pinghost
ingloss"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
Comment