SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0003234: event - trigger a command instead of email - MantisBT
MantisBT - Endian Firewall
View Issue Details
0003234Endian FirewallOther Servicespublic2010-11-02 15:162010-12-09 15:03
mvrk 
 
normalfeatureN/A
newopen 
2.4 
 
0003234: event - trigger a command instead of email
Hi,

A nice feature would be, instead of sending email on events, to add an option to run a command as alternative.
No tags attached.
Issue History
2010-11-02 15:16mvrkNew Issue
2010-12-09 15:03mvrkNote Added: 0005345

Notes
(0005345)
mvrk   
2010-12-09 15:03   
I've done this manualy adding the "continue" option after the rule i wanted and after it add the same rule to execute a script, but would be great do have the option to configure this on the web interface

'([^ ]+) +([^ ]+) +<local1\.info> router logsurfer logsurfer\[([0-9]+)\]: +EFW-20110054 *(.*)$' - - - 0 continue
  pipe "/usr/local/bin/mailfile --from=router@versaointegral.pt --mailserver=mail.vi.pt --to=support@vi.pt --mailtemplate=/etc/logsurfer/templates/en/2011...


'([^ ]+) +([^ ]+) +<local1\.info> router logsurfer logsurfer\[([0-9]+)\]: +EFW-20110054 *(.*)$' - - - 0
  pipe "/var/lib/zabbix/logsurfer.sh '$1' "