PDA

View Full Version : Question regarding Log File Monitoring


hyarion
31-07-2008, 17:26
I want to start monitoring some offsite servers for specific log entries, but I want to confirm how the log file checking is done.

Does the agent only send the lines that match the pattern or does it send all the lines in the log file to the server which then checks for the pattern?

I'm assuming the agent only sends the matching lines, as if it sends the whole log file it could get quite costly bandwidth wise when you start doing this for a lot of servers?

Alexei
31-07-2008, 21:00
ZABBIX does both. Second parameter to log[] defines regular expression for agent-side matching.

hyarion
31-07-2008, 21:40
Cool, thank you Alexei!