Hello forum!
I have recently implemented a discovery rule that will discover all tasks in a certain task path, and this rule returns the last run result, last run time, and next run time. Each item is checked on a 5m interval as set in the template. The issue is the trigger and how it gives off false positives more than actual problematic alerts. The trigger rule is below
min(/Template Windows Scheduled Tasks for iPFS/TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}],#10)<>0 and min(/Template Windows Scheduled Tasks for iPFS/TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}],#10)<>267009
and min(/Template Windows Scheduled Tasks for iPFS/TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}],#10)<>1
Does this trigger expression mean that if the last 10 last run results aren't equal to all of the following then fire the trigger? If the interval time for the last result is 5m does this mean it has to get data for 50mins first and then fire if true?
I have been struggling to find better ways to implement this and may just go with creating a trigger rule for each type of error with a new expression for each one. I am using Zabbix 6.0.24. We have a ton of scheduled tasks that have different frequencies of running (some every 1min, 5min, 30min, once a day, etc.)
Please help and let me know if I am needing to provide more information.
Thanks!
I have recently implemented a discovery rule that will discover all tasks in a certain task path, and this rule returns the last run result, last run time, and next run time. Each item is checked on a 5m interval as set in the template. The issue is the trigger and how it gives off false positives more than actual problematic alerts. The trigger rule is below
min(/Template Windows Scheduled Tasks for iPFS/TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}],#10)<>0 and min(/Template Windows Scheduled Tasks for iPFS/TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}],#10)<>267009
and min(/Template Windows Scheduled Tasks for iPFS/TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}],#10)<>1
Does this trigger expression mean that if the last 10 last run results aren't equal to all of the following then fire the trigger? If the interval time for the last result is 5m does this mean it has to get data for 50mins first and then fire if true?
I have been struggling to find better ways to implement this and may just go with creating a trigger rule for each type of error with a new expression for each one. I am using Zabbix 6.0.24. We have a ton of scheduled tasks that have different frequencies of running (some every 1min, 5min, 30min, once a day, etc.)
Please help and let me know if I am needing to provide more information.
Thanks!
Comment