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 Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003234Endian FirewallOther Servicespublic2010-11-02 15:162010-12-09 15:03
Reportermvrk 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version2.4 
Target VersionFixed in Version 
Summary0003234: event - trigger a command instead of email
DescriptionHi,

A nice feature would be, instead of sending email on events, to add an option to run a command as alternative.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005345)
mvrk (reporter)
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' "

- Issue History
Date Modified Username Field Change
2010-11-02 15:16 mvrk New Issue
2010-12-09 15:03 mvrk Note Added: 0005345

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker