abrt-FileTransfer (7) - Linux Manuals

NAME

FileTransfer plugin for abrt(8)

DESCRIPTION

abrt is a daemon that watches for application crashes. When a crash occurs, it collects the crash data and takes action according to its configuration. This manual page describes the FileTransfer plugin for abrt. This plugin is used to transfer the crash report to another machine using a file transfer protocol. The protocols supported are FTP, FTPS, HTTP, HTTPS, SCP, SFTP, and TFTP.

INVOCATION

The plugin is invoked in the abrt.conf file, usually in the ActionsAndReporters option and/or the [cron] section. There are two modes of invocation: * Specify FileTransfer(one) in ActionsAndReporters directive. Immediately after crash is detected, the plugin transfers crash data to the server specified in the FileTransfer.conf configuration file. * Specify FileTransfer(store) in ActionsAndReporters directive and add HH:MM = FileTransfer line in [cron] section. At the time of the crash, the plugin stores a record of it in its internal list. When specified time is reached, the plugin iterates through its internal list and sends every recorded crash to the specified URL. After that, the internal list is cleared.

CONFIGURATION

The FileTransfer.conf configuration file contains several entries in the format "Option = Value". The options are:

URL

The URL of the server, where the crash should be transfered, specifying the protocol, the path, the user name and the password, for example:
URL = ftp://user:passwd@server.com/path

ArchiveType

The type of the archive in which to pack the crash data. Currently, .tar, .tar.gz, .tar.bz2 and .zip are supported. The default is .tar.gz

RetryCount

This specifies how many times the plugin will try to resend the file if the transfer was not succesful. The plugin waits a while before it retries the transfer: see RetryDelay. The default is 3

RetryDelay

If the transfer was not succesful, the plugin will wait some time before sending the file again. This configuration option specifies the time in seconds. The default is 20.

EXAMPLES

Typical configuration in abrt.conf. The crash is stored each time it happens and at midnight, all the crash data is transferred to a central server. [common]
ActionsAndReporters = FileTransfer(store)
[cron]
00:00 = FileTransfer

AUTHOR

Written by Daniel Novotny <dnovotny [at] redhat.com>.

SEE ALSO

abrt(8), abrt.conf(5), abrt-plugins(7)