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:
logrt["/export/home/user/file.txt","Error",,1]
You can then set a trigger on it, if you wish:
{myserver.example.com:logrt["/export/home/user/file.txt","Error",,1].nodata(600)}=0
A tutorial is available on the Internet that expands on this a bit.
View the full question and any other answers on Server Fault.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.