Langue: en

Version: 385108 (fedora - 01/12/10)

Section: 7 (Divers)


FileTransfer plugin for abrt(8)


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.


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.


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


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


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


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


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.


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)
00:00 = FileTransfer


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


Written by Daniel Novotny <dnovotny@redhat.com>.