Ad Widget

Collapse

Trigger using .time() not working as expected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marcwhyte
    Junior Member
    • Apr 2021
    • 1

    #1

    Trigger using .time() not working as expected

    I am running Zabbix server ver 4.0.30 and have this trigger:

    HTML Code:
    {zbx-prd:zabbix[queue].last()}>6000 and {zbx-prd:zabbix[queue].time()}<232000 or {zbx-prd:zabbix[queue].last()}>6000 and {zbx-prd:zabbix[queue].time()}>233000
    I am monitoring the Zabbix Queue but I don't want it to return True during 23:20:00 - 23:30:00 as this is when log rotation happens and we get a queue spike for a short time. I've tested this with the Expression constuctor and it works correctly there but it still triggers for some reason.

    Any ideas? Thanks!
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2

    {zbx-prd:zabbix[queue].last()}>6000 and ( {zbx-prd:zabbix[queue].time()}<232000 or {zbx-prd:zabbix[queue].time()}>233000 )

    Comment

    Working...