Hi All,
I'm a newbie of zabbix and I'm encountering an issue trying to setup a syslog server monitored by zabbix.
I'd like to extract from my log the following lines:
To do so, I'm trying to configure a log item as below:
where the macro {$REGEX_DHCP} is defined in the template I'm setting up and is the following regex:
I've tested the regex and it seems good, however I can see in the zabbix agent log that the item is being watched but I'm not getting any data in "Latest data".
Any suggestions?
I'm a newbie of zabbix and I'm encountering an issue trying to setup a syslog server monitored by zabbix.
I'd like to extract from my log the following lines:
Code:
Feb 19 10:35:57 dhcphost dnsmasq-dhcp[505]: DHCPACK(eth0) 192.168.2.21 ab:cd:ef:ab:cd:ef HOST
Code:
log[/var/log/home,{$REGEX_DHCP}]
Code:
"(\w{3}\s\d+\s(\d{2}\:){2}\d{2})\s(.*)\s(\d+\.\d+\.\d\.\d+)\s(\w{2}\:\w{2}\:\w{2}\:\w{2}\:\w{2}\:\w{2})\s(.*)"
Any suggestions?
).
Comment