Hi,
I'm using zabbix 3.4.1 and i have created some Log file item and trigger.
Now i'd like to create an action to send an email with the details,
My question is, How can I have the line that triggered the event in the email i'm sending due to this trigger
for Example:
Item:
log[/var/log/syslog,@Filter logs,,,skip]
Trigger
{HOST.NAME} - log watcher found an issue
{hostname.example.com:log[/var/log/syslog,@Filter logs,,,skip].iregexp(@Filter logs)}=1
How do I get the line that triggered the event in the email notification?
-Mosh
I'm using zabbix 3.4.1 and i have created some Log file item and trigger.
Now i'd like to create an action to send an email with the details,
My question is, How can I have the line that triggered the event in the email i'm sending due to this trigger
for Example:
Item:
log[/var/log/syslog,@Filter logs,,,skip]
Trigger
{HOST.NAME} - log watcher found an issue
{hostname.example.com:log[/var/log/syslog,@Filter logs,,,skip].iregexp(@Filter logs)}=1
How do I get the line that triggered the event in the email notification?
-Mosh
Comment