bcfg2-reports - Query reporting system for client status
SYNOPSIS
bcfg2-reports[-v]
DESCRIPTION
bcfg2-reports
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
-c
Shows only clean hosts.
-d
Shows only dirty hosts.
-e NAME
Single host mode - shows extra entries from the current interaction
of NAME
-h
Shows help and usage info about bcfg2-reports.
-s NAME
Single host mode - shows bad and extra entries from the current
interaction of NAME.
-x NAME
Toggles expired/unexpired state of NAME.
--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.
--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.
--fields=ARG1,ARG2,...
Only displays the fields ARG1,ARG2,... (name, time, state)
--sort=ARG1,ARG2,...
Sorts output on ARG1,ARG2,... (name, time, state)
--stale
Shows hosts which haven't run in the last 24 hours