How to read a keyword from a txt file in zabbix

user2038607 asked:

I want to know is there are any solution for my to read the word “Error” from a txt file on solaris and Alert me where the Error is found. I tried to create a item of type zabbix agent active but it did not work please help

My answer:

Use log file monitoring. For example:


You can then set a trigger on it, if you wish:


A tutorial is available on the Internet that expands on this a bit.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.