Product / Documentation / Tutorials /   
Tutorials
* Extending ZABBIX agent
* Monitoring of log files
* Remote actions
Monitoring of log files

This tutorial provides step-by-step instructions how to setup monitoring of log files. It is assumed that a host is configured already in ZABBIX frontend.

Step 1. Configure ZABBIX agent.

Follow standard instructions in order to install and configure agent on monitored host. Make sure that parameter Hostname matches host name of the host configured in ZABBIX frontend.

Also make sure that parameter DisableActive is not set in zabbix_agentd.conf

Step 2. Add a new item for monitoring of a log file.

Pay attention to the following parameters of the item:

ParameterDescription
TypeMust be set to ZABBIX agent (active)
KeyMust be set to log[]. For example: log[/var/log/syslog] Make sure that the file has read permissions for user 'zabbix' otherwise the item will be set to unsupported.
Type of informationMust be set to Log.
Update interval (in sec)The parameters defines how often ZABBIX Agent will check for any changes in the log file. Normally must be set to 1 ir order to get new records as soon as possible.