Answer the question
In order to leave comments, you need to log in
How to set up a Zabbix trigger with your own text?
There is a script which checks on the server, differences in tables with other server. It is necessary that in the message a message with the text of the error , if any, comes to the soap .
Accordingly, the output of the bash script is as follows:
Differences on comp
TABLE CHUNK CNT_DIFF CRC_DIFF CHUNK_INDEX LOWER_BOUNDARY UPPER_BOUNDARY
fut.name 1 -1 1
Output 1 or 0 is easy to do. Can you please tell me how to output information to the trigger? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
As I understand it, you have a data type for the item string/log/text ?
Therefore, you can take the last value with the last() function, check it for the presence of a substring with the regexp() / iregexp() function, and to lower the trigger, use either diff() or nodata(), depending on how often you receive this data .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question