Score:0

Zabbix log monitoring: Do not send "resolved" messages

mp flag

I use Zabbix to scan my logs for certain keywords. This is my item (configured as an active check, type of information "log"):

logrt["/var/log/syslog(\.[0-9])?$","(error|fail|failed)",,,skip]

And the corresponding trigger:

{HOSTNAME:logrt["/var/log/syslog(\.[0-9])?$","(error|fail|failed)",,,skip]
.iregexp("(error|fail|failed)")}=1
and {HOSTNAME:logrt["/var/log/syslog(\.[0-9])?$","(error|fail|failed)",,,skip].nodata(10)}=0

The problem is that I get two emails each time there's a log entry that triggers the pattern, one is the PROBLEM message and the second is the RESOLVED message.

Does anyone know how to get rid of the second (RESOLVED) message and receive only one message instead?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.