I've configured the following Item:
And Trigger:
The logfile entry looks like:
I try give me an event, if the word "alert" is found in the logfile but it does'nt work.
BTW: Is ist posible to get an Trigger "comment" which contains the full logfile entry ?
Regards, Marcus
Code:
Description LSKN_Values_/var/log/lskn/lskn_procmon.log Type ZABBIX agent (active) Key log[/var/log/lskn/lskn_procmon.log] Type of information Log
Code:
Name LSKN_Values_/var/log/lskn/lskn_procmon.log_ALERT
Expression {LSKN_Template_procmon:log[/var/log/lskn/lskn_procmon.log].str(alert)}=1
Code:
Wed Oct 28 11:40:05 CET 2009 alert: Prozess: /usr/sbin/sshd der Applikation: sshd-Daemon gestoert. Bitte folgendes Team benachrichtigen: LSKN-Unix-Nivadis
BTW: Is ist posible to get an Trigger "comment" which contains the full logfile entry ?
Regards, Marcus
Comment