1

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

  • 1
    Can you show us what you tried and an example of the log that failed? – user9517 Feb 12 '13 at 7:37
1

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.

  • Hi Michael, should item be of type Zabbix Agent Active? – user2038607 Feb 12 '13 at 8:38
  • Yes, it should be active. – Michael Hampton Feb 12 '13 at 8:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.