Log monitoring using Zabbix

Posted by Supratik on Server Fault See other posts from Server Fault or by Supratik
Published on 2011-02-27T13:35:18Z Indexed on 2012/10/19 17:04 UTC
Read the original article Hit count: 301

Filed under:

I am trying to monitor a log file using Zabbix 1.8.4.

I created an item using the following details:

Host: Zabbix server
Description: logger_test
Type: Zabbix agent (active)
Key: log[/tmp/scribetest/test3/test3_current,error,,100]
Type of Infromation: Log
Update interval (in sec): 1 sec
Keep history (in days): 90
Status: Active
Applications: Log files

I created a trigger and attached it with the item logger_test using the following details:

Name: logger_test_trigger
Expression: {Zabbix server:log[/tmp/scribetest/test3/test3_current,error,,100].str(error)}=1
Severity: disaster

The above settings works fine for the first time but next time the trigger shows ZBX_NOTSUPPORTED and after that item also shows "not supported" message.

Can you please tell me if anything I am doing wrong here ?

© Server Fault or respective owner

Related posts about zabbix