theforeman/foreman — pull request #555 by lzap (2013-04-26 14:41:49+00:00)
Title: fixes #2434 - foreman-debug script

foreman-debug -h

Collects configuration and log data for Foreman, Smart Proxies, backend
services and system information while removing security information like
passwords, tokens and keys.

This program can be used on Foreman instance, Smart Proxy instances or
backend services separatly.

OPTIONS:
-d DIR Directory to place the tarball in (default /tmp/foreman-XYZ)
-g Skip generic info (CPU, memory, firewall etc.)
-a Do not generate a tarball from the resulting directory
-m Maximum lines to keep for each file (default 5000)
-j PRG Filter with provided program when creating a tarball
-p Additionally print all passwords which are being filtered
-q Quiet mode
-v Verbose mode
-h Shows this message