Scroll to navigation

bcfg2-reports(8) System Manager's Manual bcfg2-reports(8)

NAME

bcfg2-reports - Query reporting system for client status

SYNOPSIS

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

SEE ALSO

bcfg2(1), bcfg2-server(8)

BUGS

None currently known