X
X
x2sp2020-09-24 16:06:02
Zabbix
x2sp, 2020-09-24 16:06:02

Can zabbix output the value of a string when a trigger fires?

Good afternoon.

Colleagues, parse the logs and pass a string with credentials to Zabbix.

Format: UserName, Mail.

A trigger has been added that displays a problem if the number of matches in a string is more than 3 times in 60 seconds.

Trigger: {HOST:log[C:\log.log].count(60)}>3

The trigger works, but the problem is that there are too many values. And in the latest data, it is difficult to track who the problem belongs to by the time stamp.

Whether it is possible to deduce a line in a problem?

In principle, if the output is not possible when counting, then we are ready to pass the value in one line. But in the problem, we need to see the information from this line .

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question