W
W
wocsom2021-02-09 16:48:27
Regular Expressions
wocsom, 2021-02-09 16:48:27

Trigger by Zabbix, how to check by log file?

It was configured for zabbix through the trapper reading the log file. This line comes in item:

{"s_server_name":"имя_сервера","i_update_ts":"время_в_формате_timestamp"}


It is required to make it so that there was a comparison of records with each other, i.e. if the server comes and says bd3 c timestamp 1610512707 and suddenly bd3 c timestamp 1610582000 arrives during the second check, then produce an alert. I would be glad to help with the expression for the trigger. I tried through " abschange " - but it will not be indicative for a trigger because there are a lot of servers and for each info comes in one item. Of course, I have a list of servers, but how should I make a trigger so comparisons and checks?

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