Ad Widget

Collapse

How to check if item avg value for the last week has change

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • batchen_regev
    Member
    • Aug 2018
    • 80

    #1

    How to check if item avg value for the last week has change

    Im using zabbix 5 and i dont understand how to create an avg trigger that will tell me if X item avg has changed from the last week.

    X item is returning a number, i want to know if there was a change from a week avarage comparing to the next week or day.

    For exsample :
    if last week avg was the number 7 and this week avg (was 8 or greater ) has gotten bigger + 1 even - i want a trigger
    if last week avg was the number 7 and 1 day avg (was 8 or greater) has exceeded this week avg +1 bigger - i want a trigger

    I have this now :

    {Template Ansible-Features:c.conn[{#CCC}].avg(7d)}=0

    i should make it like

    {Template Ansible-Features:c.conn[{#CCC}].avg(7d)} < {Template Ansible-Features:c.conn[{#CCC}].avg(1h)}

    or

    {Template Ansible-Features:c.conn[{#CCC}].avg(14d)} < {Template Ansible-Features:c.conn[{#CCC}].avg(7d)}

    Thanks for the help.
Working...