summaryrefslogtreecommitdiffstats
path: root/src/daemon/abrt_event.conf
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-11-02 15:26:08 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-11-02 15:26:08 +0100
commit5ef2dce8e701fa0c0e9a95e873be3253664e1b33 (patch)
treed93bf4cd85ae5d2cbe57ab84264e074db0aaf14d /src/daemon/abrt_event.conf
parentb986562eeeabfde75175d3dd9f0b34fcb15ce69c (diff)
downloadabrt-5ef2dce8e701fa0c0e9a95e873be3253664e1b33.tar.gz
abrt-5ef2dce8e701fa0c0e9a95e873be3253664e1b33.tar.xz
abrt-5ef2dce8e701fa0c0e9a95e873be3253664e1b33.zip
rename abrt_action.conf -> abrt_event.conf
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/abrt_event.conf')
-rw-r--r--src/daemon/abrt_event.conf46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf
new file mode 100644
index 00000000..a8df2896
--- /dev/null
+++ b/src/daemon/abrt_event.conf
@@ -0,0 +1,46 @@
+# This table specifies which programs should be run
+# when the specified event occurs in crash dump lifetime.
+#
+# Example:
+# EVENT=post-create { pwd; date; }>/tmp/dt; echo $HOSTNAME `uname -r`
+#
+# Each line may have conditions to be checked
+# before the program is run.
+#
+# Conditions have form VAR=VAL, where VAR is either word "EVENT"
+# or a name of crash dump element to be checked (for example,
+# "executable", "package", hostname" etc).
+#
+# If all conditions match, the program is run in the shell.
+# All shell language constructs are valid.
+# All stdout and stderr output is captured and passed to abrt
+# and possibly to abrt's frontends and shown to the user.
+#
+# If the program terminates with nonzero exitcode,
+# the event processing is considered unsuccessful and is stopped.
+# Last captured output line, if any, is considered to be
+# the error message indicating the reason of the failure,
+# and may be used by abrt as such.
+#
+# If the program terminates successfully, next line is read
+# and processed. This process is repeated until the end of this file.
+
+# abrt-action-analyze-c needs package name, save package data first
+EVENT=post-create abrt-action-save-package-data
+EVENT=post-create analyzer=CCpp abrt-action-analyze-c
+EVENT=post-create analyzer=python abrt-action-analyze-python
+EVENT=post-create analyzer=oops abrt-action-analyze-oops
+# If you want behavior similar to one provided by kerneloops daemon
+# distributed by kerneloops.org - that is, if you want
+# oopses to be reported automatically and immediately without
+# user interaction, uncomment this line:
+#EVENT=post-create analyzer=oops abrt-action-kerneloops
+
+EVENT=analyze analyzer=CCpp abrt-action-install-debuginfo "$DUMP_DIR/coredump" "/var/run/abrt/$$-$RANDOM" /var/cache/abrt-di
+EVENT=analyze analyzer=CCpp abrt-action-generate-backtrace
+
+EVENT=report analyzer=oops abrt-action-kerneloops
+EVENT=report_Bugzilla analyzer=CCpp abrt-action-bugzilla
+EVENT=report_Logger analyzer=CCpp abrt-action-print >/var/log/abrt.log
+EVENT=report_Bugzilla analyzer=python abrt-action-bugzilla
+EVENT=report_Logger analyzer=python abrt-action-print >/var/log/abrt.log