Boa tarde, sou novo no Zabbix e estou querendo montar uma expressão de uma trigger para que ela funcione apenas no horário comercial. Consegui chegar até aqui:
last(/HOST/icmpping[1.20.1.63,4,1000,32,1000])=0
and not (dayofweek()>=1 and time()>180000)
and not (dayofweek()<=7 and time()<080000)
No meu caso o horário de funcionamento seria de segunda a quinta feira das 08h às 18h e na sexta feira das 08h às 17h.
Conseguiriam me ajudar?
last(/HOST/icmpping[1.20.1.63,4,1000,32,1000])=0
and not (dayofweek()>=1 and time()>180000)
and not (dayofweek()<=7 and time()<080000)
No meu caso o horário de funcionamento seria de segunda a quinta feira das 08h às 18h e na sexta feira das 08h às 17h.
Conseguiriam me ajudar?
Comment