Ad Widget

Collapse

Time period on a trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Enzo Gonçalves
    Junior Member
    • Nov 2023
    • 4

    #1

    Time period on a trigger

    Good morning, I'm ​new on Zabbix. And I need help to make a trigger to work on a specific time period. For an exemple: Monday to Friday, 08a.m to 08p.m. I made this expression so far...

    last(/HOST/icmpping[1.2.3.10,4,1000,32,1000])=0 and (dayofweek()>=1 and time()>=080000)
    and (dayofweek()<=5 and time()<=180000)​
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    remove some ()-s what you have added there "... and dayofweek()>=1 and time()>=080000 and dayofweek()<=5 and time()<=180000)​"

    Don't be afraid to use "Expression constructor" that is visible under that expression box.. It also reveals a little "test" button..

    Comment

    Working...