abrt-FileTransfer (7) - Linux Man Pages
NAMEFileTransfer plugin for abrt(8)
DESCRIPTIONabrt 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.
INVOCATIONThe 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.
CONFIGURATIONThe FileTransfer.conf configuration file contains several entries in the format "Option = Value". The options are:
URLThe 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:firstname.lastname@example.org/path
ArchiveTypeThe 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
RetryCountThis 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
RetryDelayIf 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.
EXAMPLESTypical 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
AUTHORWritten by Daniel Novotny <dnovotny [at] redhat.com>.