0% found this document useful (0 votes)
363 views1 page

Zabbix Log Monitoring

This document summarizes the configuration of a Zabbix agent log monitoring item that tracks kernel log messages from /var/log/messages. It is configured with a regular expression to match lines containing "kernel:", will return up to 1000 lines per check, and will skip older data. The available log monitoring key parameters are also described.

Uploaded by

mgupta60
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
363 views1 page

Zabbix Log Monitoring

This document summarizes the configuration of a Zabbix agent log monitoring item that tracks kernel log messages from /var/log/messages. It is configured with a regular expression to match lines containing "kernel:", will return up to 1000 lines per check, and will skip older data. The available log monitoring key parameters are also described.

Uploaded by

mgupta60
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

:: ITEM CONFIGURATION ::

Name: Kernel Log


Type: Zabbix agent (active)
Key: log[/var/log/messages,"kernel:",,1000,skip]
Type of information: Text

Available option
log[file,<regexp>,<encoding>,<maxlines>,<mode>,<output>,<maxdelay>]

file - path to file

regexp - regular expression describing the required content pattern

encoding - code page identifier; UTF-8 is the default value.

maxlines - maximum number of new lines per second the agent will send to Zabbix server or proxy. This
parameter overrides the value of 'MaxLinesPerSecond' in zabbix_agentd.conf

mode - possible values:


all (default), skip - skip processing of older data (affects only newly created items).

output - an optional output formatting template. If left blank then item will provide matched line.

maxdelay - maximum delay in seconds. Type: float. Values: 0 - (default) never ignore log file lines; > 0.0 -
ignore older lines in order to get the most recent lines analyzed within maxdelay seconds.

You might also like