bcfg2-reports(8) - Linux man page
Name
bcfg2-reports - Query reporting system for client statusSynopsis
bcfg2-reports [-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
Shows all hosts, including expired hosts.-b NAME
Single-host mode - shows bad entries from the current interaction of NAME. NAME is the name of the entry.-c
Shows only clean hosts.-d
Shows only dirty hosts.-e NAME
Single host mode - shows extra entries from the current interaction of NAME. NAME is the name of the entry.-h
Shows help and usage info about bcfg2-reports.-m NAME
Single-host mode - shows modified entries from the current interaction of NAME. NAME is the name of the entry.-s NAME
Single host mode - shows bad, modified, and extra entries from the current interaction of NAME. NAME is the name of the entry.-x NAME
Toggles expired/unexpired state of NAME. NAME is the name of the entry.--badentry=KIND,NAME
Shows only hosts whose current interaction has bad entries in of KIND kind and NAME name; if a single argument ARG1 is given, then KIND,NAME pairs will be read from a file of name ARG1. KIND is the type of entry (Package, Path, Service, etc). NAME is the name of the entry.--extraentry=KIND,NAME
Shows only hosts whose current interaction has extra entries in of KIND kind and NAME name; if a single argument ARG1 is given, then KIND,NAME pairs will be read from a file of name ARG1. KIND is the type of entry (Package, Path, Service, etc). NAME is the name of the entry.--fields=ARG1,ARG2,...
Only displays the fields ARG1,ARG2,... (name, time, state, total, good, bad)--modifiedentry=KIND,NAME
Shows only hosts whose current interaction has modified entries in of KIND kind and NAME name; if a single argument ARG1 is given, then KIND,NAME pairs will be read from a file of name ARG1. KIND is the type of entry (Package, Path, Service, etc). NAME is the name of the entry.--sort=ARG1,ARG2,...
Sorts output on ARG1,ARG2,... (name, time, state, total, good, bad)--stale
Shows hosts which haven't run in the last 24 hours