reporter-ureport.txt 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. reporter-ureport(1)
  2. =================
  3. NAME
  4. ----
  5. reporter-ureport - Reports ABRT problems in format of micro report
  6. SYNOPSIS
  7. --------
  8. 'reporter-ureport' [-v] [-c CONFFILE] [-u URL] [-k] [-A -a bthash -B -b bug-id -E -e email] [-r] [-d DIR]
  9. DESCRIPTION
  10. -----------
  11. The tool reads problem directory DIR, assembles an micro report from the loaded
  12. problem data and sends the micro report to uReport server for updating
  13. statistics and fast analysis. The results of the analysis are stored in problem
  14. data in form of problems elements. 'reporter-ureport' updates 'reported_to'
  15. Configuration file
  16. ~~~~~~~~~~~~~~~~~~
  17. If not specified, CONFFILE defaults to /etc/libreport/plugins/ureport.conf.
  18. Configuration file lines should have 'PARAM = VALUE' format. The parameters are:
  19. 'URL'::
  20. Base sever HTTP(S) address.
  21. 'SSLVerify'::
  22. Use no/false/off/0 to disable verification of server's SSL certificate. (default: yes)
  23. 'SSLClientAuth'::
  24. If this option is set, client-side SSL certificate is used to authenticate
  25. to the server so that it knows which machine it came from. Assigning any value to
  26. this option changes the default value of IncludeAuthData to yes.
  27. Possible values are:
  28. 'rhsm';;
  29. Uses the system V3 entitlement certificate that is used for Red Hat
  30. subscription management.
  31. 'puppet';;
  32. Uses the certificate that is used by the Puppet configuration management tool.
  33. '<cert_path>:<key_path>';;
  34. Manually supply paths to certificate and the corresponding key in PEM format.
  35. 'HTTPAuth'::
  36. Use the configured values to as HTTP Basic Authentication credentials.
  37. Assigning any value to this option changes the default value of
  38. IncludeAuthData to yes.
  39. Possible values are::
  40. 'rhts-credentials';;
  41. Uses Login= and Password= values from /etc/libreport/plugins/rhtsupport.conf.
  42. '<user_name>:<password>';;
  43. Manually supply credentials.
  44. 'ContactEmail'::
  45. Email address attached to a bthash on the server.
  46. 'IncludeAuthData'::
  47. If this option is set to 'yes', uploaded uReport will contain 'auth' object
  48. consisting from key value pairs made from CSV list stored in 'AuthDataItems'
  49. option. Keys are file names and values are bites of these files.
  50. The default value is no, unless you set SSLClientAuth to some value. In that
  51. case, the default value is yes.
  52. 'AuthDataItems'::
  53. CSV list of files included in the 'auth' uReport object.
  54. Parameters can be overridden via $uReport_PARAM environment variables.
  55. OPTIONS
  56. -------
  57. -c FILE::
  58. Path to configuration file
  59. -a, --attach BTHASH::
  60. bthash of uReport to attach (conflicts with -A)
  61. -A, --attach-rt::
  62. Attach to a bthash from reported_to (conflicts with -a)
  63. -b, --bug-id NUM::
  64. Attach RHBZ bug (requires -a)
  65. -B, --bug-id-rt::
  66. Attach last RHBZ bug from reported_to (requires -a|-A, conflicts with -b)
  67. -e, --email EMAIL::
  68. Contact e-mail address (requires -a|-A, conflicts with -E)
  69. -E, --email-env::
  70. Contact e-mail address from environment (requires -a|-A, conflicts with -e)
  71. -d, --problem-dir DIR::
  72. Path to problem directory.
  73. -k, --insecure::
  74. Allow insecure connection to ureport server
  75. -t, --auth SOURCE::
  76. Enables client authentication. See 'SSLClientAuth' configuration file
  77. option for list of possible values.
  78. -h, --http-auth CREDENTIALS::
  79. Enables client authentication via HTTP Authentication. See 'HTTPAuth'
  80. configuration file option for list of possible values.
  81. -v::
  82. Be more verbose. Can be given multiple times.
  83. -u, --url URL::
  84. Specify server URL
  85. -i AUTH_DATA_ITEMS::
  86. List of dump dir files included in the 'auth' uReport object.
  87. ENVIRONMENT VARIABLES
  88. ---------------------
  89. Environment variables take precedence over values provided in
  90. the configuration file.
  91. 'uReport_URL'::
  92. Base sever HTTP(S) address.
  93. 'uReport_SSLVerify'::
  94. Use yes/true/on/1 to verify server's SSL certificate. (default: yes)
  95. 'uReport_ContactEmail'::
  96. Email address attached to a bthash on the server.
  97. 'uReport_IncludeAuthData'::
  98. See IncludeAuthData configuration option for details.
  99. 'uReport_AuthDataItems'::
  100. See AuthDataItems configuration option for details.
  101. FILES
  102. -----
  103. /usr/share/libreport/conf.d/plugins/ureport.conf::
  104. Readonly default configuration files.
  105. /etc/libreport/plugins/ureport.conf::
  106. Configuration file.
  107. SEE ALSO
  108. --------
  109. ureport.conf(5), report_uploader.conf(5), uploader_event.conf(5)
  110. AUTHORS
  111. -------
  112. * ABRT team