From cc3d4d1aa8517dc92dff6a55893a89e4a9ac3ed2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Jan 2011 22:12:23 +0100 Subject: Details from #943 added --- man/bcfg2-admin.8 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'man') diff --git a/man/bcfg2-admin.8 b/man/bcfg2-admin.8 index c0b8a09ce..0b3829b7e 100644 --- a/man/bcfg2-admin.8 +++ b/man/bcfg2-admin.8 @@ -55,6 +55,10 @@ Build structure entries based on client statistics extra entries. Install configuration information into repo based on client bad entries. .RE +.B report [init|load_stats|purge|scrub|update] +.RS +Interact with the dynamic reporting system. +.RE .B snapshots [init|dump|query|reports] .RS Interact with the Snapshots database. @@ -150,6 +154,28 @@ Specify the type of the entry to pull. .RS Specify the name of the entry to pull. .RE +.SH REPORT OPTIONS +.PP +.B init +.RS +Initialize the database. +.RE +.B load_stats [-s] [-c] [-03] +.RS +Load statistics data. +.RE +.B purge +.RS +Purge records. +.RE +.B scrub [--client [n]] [--days [n]] [--expired] +.RS +Scrub the database for duplicate reasons and orphaned entries. +.RE +.B update +.RS +Apply any updates to the reporting database. +.RE .SH SNAPSHOTS OPTIONS .PP .B init -- cgit v1.2.3-1-g7c22 From e27c63b343167cf75571271183f3dfc22fdfe9a7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Jan 2011 22:13:10 +0100 Subject: Details from #943 added --- man/bcfg2-reports.8 | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'man') diff --git a/man/bcfg2-reports.8 b/man/bcfg2-reports.8 index eb9358511..b8b4cccee 100644 --- a/man/bcfg2-reports.8 +++ b/man/bcfg2-reports.8 @@ -9,7 +9,7 @@ bcfg2-reports \- Query reporting system for client status .B 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 . +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. .SH OPTIONS @@ -21,7 +21,7 @@ Shows all hosts, including expired hosts. .B "\-b NAME" .RS Single-host mode \- shows bad entries from the current interaction of -NAME +NAME. NAME is the name of the entry. .RE .B "-c\" .RS @@ -34,7 +34,7 @@ Shows only dirty hosts. .B "\-e NAME" .RS Single host mode \- shows extra entries from the current interaction -of NAME +of NAME. NAME is the name of the entry. .RE .B "\-h" .RS @@ -43,23 +43,25 @@ Shows help and usage info about bcfg2-reports. .B "\-s NAME" .RS Single host mode \- shows bad and extra entries from the current -interaction of NAME. +interaction of NAME. NAME is the name of the entry. .RE .B "\-x NAME" .RS -Toggles expired/unexpired state of NAME. +Toggles expired/unexpired state of NAME. NAME is the name of the entry. .RE .B "\-\-badentry=KIND,NAME" .RS 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. +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. .RE -.B "\-\-extraentry=KIND,NAME " +.B "\-\-extraentry=KIND,NAME" .RS 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. +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. .RE .B "\-\-fields=ARG1,ARG2,..." .RS -- cgit v1.2.3-1-g7c22