Hi,
We are releasing under GPL a program that provides better integration of syslog messages with Zabbix.
(This is not a ZABBIX SIA official development).
Currently, Zabbix cannot process messages in syslog format.
It can only process messages stored in flat files by standard syslog programs on Unix/Linux systems.
It has two drawbacks:
This project adds support in Zabbix for a new kind of item:
Main program is a syslog server that receives syslog messages from local or remote hosts and send them to corresponding items in Zabbix.
It uses zabbix agent protocol in active mode to send syslog messages to zabbix server.
It takes advantage of existing timestamp, source and severity fields associated in Zabbix to eventlog items (used for Windows logs):
- syslog timestamp is stored in zabbix event "timestamp";
- syslog facility is stored in zabbix event "source";
- syslog severity is stored in zabbix event "severity".
It has been collecting syslog messages from
for more than 2 weeks.
A detailed explanation is included in README (http://www.alixen.org/svn/zbxlog/tags/r0.1/README)
It has been tested on Zabbix 1.8.2 and 1.8.3.
You can download release 0.1 from : http://www.alixen.org/attachments/do...bxlog-r0.1.tgz
Feel free to download and test it.
Any feedback is welcome.
Regards,
Alixen
We are releasing under GPL a program that provides better integration of syslog messages with Zabbix.
(This is not a ZABBIX SIA official development).
Currently, Zabbix cannot process messages in syslog format.
It can only process messages stored in flat files by standard syslog programs on Unix/Linux systems.
It has two drawbacks:
- It can process logfiles only on hosts where Zabbix agent can be installed.
Logs from devices such as routers or firewalls cannot be processed. - syslog protocol defines several informations associated to messages that are lost : timestamp, facility and severity.
This project adds support in Zabbix for a new kind of item:
Code:
syslog[<facility>,<regexp>,<severity>,<maxlines>]
It uses zabbix agent protocol in active mode to send syslog messages to zabbix server.
It takes advantage of existing timestamp, source and severity fields associated in Zabbix to eventlog items (used for Windows logs):
- syslog timestamp is stored in zabbix event "timestamp";
- syslog facility is stored in zabbix event "source";
- syslog severity is stored in zabbix event "severity".
It has been collecting syslog messages from
- Linux (syslog and rsyslog)
- FreeBSD/pfSense firewall
- APC SmartUPS
- Dell Powerconnect switch
for more than 2 weeks.
A detailed explanation is included in README (http://www.alixen.org/svn/zbxlog/tags/r0.1/README)
It has been tested on Zabbix 1.8.2 and 1.8.3.
You can download release 0.1 from : http://www.alixen.org/attachments/do...bxlog-r0.1.tgz
Feel free to download and test it.
Any feedback is welcome.
Regards,
Alixen
ha-ha.
I finish my similar solution for several months.
) that will receive all messages that don't match any other item. You'll then get your wildcard host by adding that item to some host.
Comment