bcfg2-reports(8) -- Query reporting system for client status ============================================================ ## SYNOPSIS `bcfg2-reports` [-a] [-b ] [-c] [-d] [-e ] [-h] [-m ] [-s ] [-x ] [--badentry=] [--extraentry=] [--fields=] [--modifiedentry=] [--sort=] [--stale] [-v] ## DESCRIPTION `bcfg2-reports` allows you to retrieve data from the database about clients, and the states of their current interactions. It also allows you to change the expired/unexpired states. The utility runs as a standalone application. It does, however, use the models from `/src/lib/Server/Reports/reports/models.py`. ## OPTIONS * `-a`: Specify alternate bcfg2.conf location * `-b` : Single host mode - shows bad entries from the current interaction of *hostname*. * `-c`: Shows only clean hosts. * `-d`: Shows only dirty hosts. * `-e` : Single host mode - shows extra entries from the current interaction of *hostname*. * `-h`: Shows help and usage info about `bcfg2-reports`. * `-m` : Single host mode - shows modified entries from the current interaction of *hostname*. * `-s` : Single host mode - shows bad, modified, and extra entries from the current interaction of *hostname*. * `-x` : Toggles expired/unexpired state of *hostname*. * `--badentry=`: Shows only hosts whose current interaction has bad entries of type *entry type* and name *entry name*. If a single argument ARG1 is given, then *entry type*,*entry name* pairs will be read from a file of name ARG1. * `--extraentry=`: Shows only hosts whose current interaction has extra entries of type *entry type* and name *entry name*. If a single argument ARG1 is given, then *entry type*,*entry name* pairs will be read from a file of name ARG1. * `--fields=`: Only displays the fields *ARG1,ARG2,...* (name, time, state, total, good, bad). * `--modifiedentry=`: Shows only hosts whose current interaction has modified entries of type *entry type* and name *entry name*. If a single argument ARG1 is given, then *entry type*,*entry name* pairs will be read from a file of name ARG1. * `--sort=`: Sorts output on ARG1,ARG2,... (name, time, state, total, good, bad). * `--stale`: Shows hosts which haven’t run in the last 24 hours. ## SEE ALSO bcfg2(1), bcfg2-server(8)