Hello everybody. I'm on Zabbix 6.4.8 and am trying to solve a problem with a trigger related to log monitoring.
I am monitoring a log that reports only the error state of remote computers that are not directly accessible from Zabbix. The remote computers are tested every 5 minutes and the error state of them (if any) is written to the log.
The log entries are like this:
2023-11-10 10:15:01 PC27 is offline
2023-11-10 10:15:02 PC06 is offline
2023-11-10 10:15:04 PC54 is offline
2023-11-10 10:20:01 PC47 is offline
2023-11-10 10:20:03 PC19 is offline
2023-11-10 10:20:04 PC27 is offline
So I set up an item to monitor the log, and a trigger to alert the operators that PCx needs immediate action.

It works pretty well except for one thing: if the same host stays offline for more than 5 minutes (like PC27 in the example), it creates another entry in the log and this fires the trigger again, generating a second, third, etc. alert.
I would like that only one occurrence of a given PC be reported and caused the trigger to fire, until the problem for that PC is manually closed.
Is there any way to achieve this?
I am monitoring a log that reports only the error state of remote computers that are not directly accessible from Zabbix. The remote computers are tested every 5 minutes and the error state of them (if any) is written to the log.
The log entries are like this:
2023-11-10 10:15:01 PC27 is offline
2023-11-10 10:15:02 PC06 is offline
2023-11-10 10:15:04 PC54 is offline
2023-11-10 10:20:01 PC47 is offline
2023-11-10 10:20:03 PC19 is offline
2023-11-10 10:20:04 PC27 is offline
So I set up an item to monitor the log, and a trigger to alert the operators that PCx needs immediate action.
It works pretty well except for one thing: if the same host stays offline for more than 5 minutes (like PC27 in the example), it creates another entry in the log and this fires the trigger again, generating a second, third, etc. alert.
I would like that only one occurrence of a given PC be reported and caused the trigger to fire, until the problem for that PC is manually closed.
Is there any way to achieve this?
Comment