Answer the question
In order to leave comments, you need to log in
How to disable trigger firing at specific time in zabbix?
There is a server with zabbix-agent. On it at 17:00, at the end of the working day, backup begins to be made and archived. Accordingly, the load on the processor increases wildly. Accordingly, a trigger responds to a high load on the processor. I would not want to disable this trigger at all. I don’t want to receive two letters that everything is bad and in half an hour everything is good.
In zabbix, you can create your own trigger conditions, so I would like to make the following condition:
If the processor load is more than 5 AND the time is NOT 17:00-18:00
With the first part, everything is clear - {hostname:system.cpu.load[,avg1 ].last(0)}>5, but there is a problem with the second one.
Answer the question
In order to leave comments, you need to log in
There is a time variable.
{hostname:system.cpu.load[,avg1].last(0)}>5 & {:.time(0)}<=170000 & {:.time(0)}>180000
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question