Ad Widget

Collapse

Trigger doubt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • talishka
    Junior Member
    • Apr 2016
    • 10

    #1

    Trigger doubt

    Hi, i have a small doubt.. i don't understand what this trigger means.. This is a check to test if a website is up and running.

    {my.server.com:web.test.fail[My Frontend].last(,1)}=1

    The colon confuses me.. it would be the same to pout last(1)}=1?Some explanation please?

    If i want to achieve to evaluate the last 2 results instead of the last result to activate the trigger, what would be the best approach?

    Thank you!
    Last edited by talishka; 21-08-2018, 18:22.
  • DmitryL
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2016
    • 278

    #2
    .last(,1) is 1 second timeshift. So it will evaluate last value 1 second ago which is pretty useless.
    If you want to evaluate 2 values, use avg/min/max, because .last will always check just 1 value.

    Comment

    Working...