HI,
I would like to monitor a block in log file, for instance
I have this kind of entries in log file (on several lines)
ERROR:this is a new error:ERROR
DETAIL: description of this error
....
other relevant information
ETAIL
HOST:myhost:HOST
Is it possible using zabbix log monitoring to catch what we have between DETAIL when zabbix see ERROR
I guess that we could use extended zabbix agent, but as it's log file, it's not easy to do that (must start at the last entry at next polling, or start at the begining if log file has been recreated etc ...)
Thank's for your help
Regards,
Marc
I would like to monitor a block in log file, for instance
I have this kind of entries in log file (on several lines)
ERROR:this is a new error:ERROR
DETAIL: description of this error
....
other relevant information
ETAILHOST:myhost:HOST
Is it possible using zabbix log monitoring to catch what we have between DETAIL when zabbix see ERROR
I guess that we could use extended zabbix agent, but as it's log file, it's not easy to do that (must start at the last entry at next polling, or start at the begining if log file has been recreated etc ...)
Thank's for your help
Regards,
Marc
.*):ERROR,,,,\1]
Comment