yum install abrt-plugin-reportuploader
).
/var/spool/abrt-upload/
is used (the rest of the document assumes you are using /var/spool/abrt-upload/
). Make sure this directory is writable by the abrt
user.
abrt
. This user is used by the abrtd
daemon for various things, for example, as the owner:group of /var/spool/abrt/*
directories.
/etc/abrt/abrt.conf
configuration file, set the WatchCrashdumpArchiveDir
directive to the following:
WatchCrashdumpArchiveDir = /var/spool/abrt-upload/
FTP
or SCP
. For more information on how to configure SCP
, refer to Section 9.3.2, “Using the scp
Utility”.
USERNAME
and the password is PASSWORD
. If you do not already have a suitable username which can be used to perform uploads under, you may use the abrt
user which already exists on every system where ABRT is installed.
MaxCrashReportsSize
directive (in /etc/abrt/abrt.conf
) needs to be set to a larger value if the expected volume of crash data is larger than the default 1000
MB.
ProcessUnpackaged
directive (in /etc/abrt/abrt.conf
) needs to be set to yes
and the BacktraceRemotes
(in /etc/abrt/plugins/CCpp.conf
) needs to be set to no
if the client system and the server system have significantly different sets of installed packages.
/etc/abrt/plugins/ReportUploader.conf
configuration file so that the ReportUploader plugin knows where to copy the saved crash reports in the following way:
Enabled = yes Upload = yes URL = ftp://USERNAME:PASSWORD@SERVERNAME/var/spool/abrt-upload/
[ ActionsAndReporters ]
directive in the /etc/abrt/abrt.conf
configuration file to the following:
ActionsAndReporters = ReportUploader
ReportUploader
to be a reporter plugin for a specific crash type in the [ AnalyzerActionsAndReporters ]
section of the /etc/abrt/abrt.conf
configuration file. The user will be required to run abrt-cli or abrt-gui and instruct the abrtd
daemon to report the crash and send it to the server system. For example, if you want all crash types to use this method, edit the [ AnalyzerActionsAndReporters ]
section in your /etc/abrt/abrt.conf
configuration file in the following way:
Kerneloops = ReportUploader CCpp = ReportUploader Python = ReportUploader
kill -s SEGV PID
command to terminate a process on a client system. For example, start a sleep
process and terminate it with the kill
command in the following way:
~]$ sleep 100 & [1] 2823 ~]$ kill -s SEGV 2823ABRT should detect a crash shortly after executing the
kill
command. Check that the crash was detected by ABRT on the client system (this can be checked by examining the appropriate syslog file, by running the abrt-cli --list --full
command, or by examining the crash dump created in the /var/spool/abrt
directory), copied to the server system, unpacked on the server system and can be seen and acted upon using abrt-cli
or abrt-gui
on the server system.