Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bcfg2-reports(8) [debian man page]

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 bcfg2-reports(8)

Check Out this Related Man Page

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

NAME
bcfg2-admin - Perform repository administration tasks SYNOPSIS
bcfg2-admin [-C config-file] <mode> <mode args> <mode options> DESCRIPTION
bcfg2-admin Perform Bcfg2 repository administration OPTIONS
-C <config-file> Specify the location of the configuration file (if it is not in /etc/bcfg2.conf). MODES
init Initialize a new repository (interactive). backup Create an archive of the whole Bcfg2 repository. bundle <action> Display details about the available bundles. client <action> <client> [attribute=value] Add, edit, or remove clients entries in metadata. query [g=group] [p=profile] [-f output-file] [-n] [-c] Search for clients based on group or profile. compare <old> <new> Compare two client configurations. Can be used to verify consistent behavior between releases. Determine differences between files or directories. minestruct <client> [-f xml-file] [-g groups] Build structure entries based on client statistics extra entries. pull <client> <entry-type> <entry-name> Install configuration information into repo based on client bad entries. reports [init|load_stats|purge|scrub|update] Interact with the dynamic reporting system. snapshots [init|dump|query|reports] Interact with the Snapshots database. tidy Remove unused files from repository. viz [-H] [-b] [-k] [-o png-file] Create a graphviz diagram of client, group and bundle information. BUNDLE OPTIONS
mode List all available xml bundles 'list-xml' or for all available genshi bundles 'list-genshi'. 'show' provides an interactive dialog to get details about the available bundles. CLIENT OPTIONS
mode Add a client 'add', delete a client 'del', or 'list' all client entries. client Specify the client's name. attribute=value Set attribute values when adding a new client. Allowed attributes are 'profile', 'uuid', 'password', 'location', 'secure', and 'address'. QUERY OPTIONS
g=group Specify a group to search within. p=profile Specify a profile to search within. -f <output-file> Write the results of the query to a file. -n Print the results, one on each line. -c Print the results, separated by commas. COMPARE OPTIONS
old Specify the location of the old configuration file. new Specify the location of the new configuration file. MINESTRUCT OPTIONS
client Client whose metadata is to be searched for extra entries. -g <groups> Hierarchy of groups in which to place the extra entries in. -f <xml-output-file> Specify the xml file in which to write the extra entries. PULL OPTIONS
client Specify the name of the client to search for. entry-type Specify the type of the entry to pull. entry-name Specify the name of the entry to pull. REPORTS OPTIONS
init Initialize the database. load_stats [-s] [-c] [-03] Load statistics data. purge [--client [n]] [--days [n]] [--expired] Purge historic and expired data. scrub Scrub the database for duplicate reasons and orphaned entries. update Apply any updates to the reporting database. SNAPSHOTS OPTIONS
init Initialize the snapshots database. query Query the snapshots database. dump Dump some of the contents of the snapshots database. reports [-a] [-b] [-e] [--date=<MM-DD-YYYY>] Generate reports for clients in the snapshots database. VIZ OPTIONS
-H Include hosts in diagram. -b Include bundles in diagram. -o <output file> Write to outfile file instead of stdout. -k Add a shape/color key. bcfg2-admin(8)
Man Page

Featured Tech Videos