3.16. config-report
レポートを参照および読み込みます。
使用方法
hammer config-report [OPTIONS] SUBCOMMAND [ARG] ...
# hammer config-report [OPTIONS] SUBCOMMAND [ARG] ...
オプション
-
-h、--help– ヘルプを表示します。
3.16.1. config-report delete リンクのコピーリンクがクリップボードにコピーされました!
レポートを削除します。
使用方法
hammer config-report <delete|destroy> [OPTIONS]
# hammer config-report <delete|destroy> [OPTIONS]
オプション
-
--id VALUE -
--location VALUE– リクエストの現在のロケーションコンテキストを設定します。 -
--location-id NUMBER– リクエストの現在のロケーションコンテキストを設定します。 -
--location-title VALUE– リクエストの現在のロケーションコンテキストを設定します。 -
--organization VALUE– リクエストの現在の組織コンテキストを設定します。 -
--organization-id NUMBER– リクエストの現在の組織コンテキストを設定します。 -
--organization-title VALUE– リクエストの現在の組織コンテキストを設定します。 -
-h、--help– ヘルプを表示します。
3.16.2. config-report info リンクのコピーリンクがクリップボードにコピーされました!
レポートを表示します。
使用方法
hammer config-report <info|show> [OPTIONS]
# hammer config-report <info|show> [OPTIONS]
オプション
-
--fields LIST– 指定されたフィールドまたは定義済みフィールドセットのみを表示します。以下を参照してください。 -
--id VALUE -
--location VALUE– リクエストの現在のロケーションコンテキストを設定します。 -
--location-id NUMBER– リクエストの現在のロケーションコンテキストを設定します。 -
--location-title VALUE– リクエストの現在のロケーションコンテキストを設定します。 -
--organization VALUE– リクエストの現在の組織コンテキストを設定します。 -
--organization-id NUMBER– リクエストの現在の組織コンテキストを設定します。 -
--organization-title VALUE– リクエストの現在の組織コンテキストを設定します。 -
-h、--help– ヘルプを表示します。
| フィールド | すべて | デフォルト | シン |
|---|---|---|---|
| Id | x | x | x |
| Host | x | x | |
| Reported at | x | x | |
| Origin | x | x | |
| Report status/applied | x | x | |
| Report status/restarted | x | x | |
| Report status/failed | x | x | |
| Report status/restart failures | x | x | |
| Report status/skipped | x | x | |
| Report status/pending | x | x | |
| Report metrics/config retrieval | x | x | |
| Report metrics/exec | x | x | |
| Report metrics/file | x | x | |
| Report metrics/package | x | x | |
| Report metrics/service | x | x | |
| Report metrics/user | x | x | |
| Report metrics/yumrepo | x | x | |
| Report metrics/filebucket | x | x | |
| Report metrics/cron | x | x | |
| Report metrics/total | x | x | |
| Logs/resource | x | x | |
| Logs/message | x | x |
3.16.3. config-report list リンクのコピーリンクがクリップボードにコピーされました!
レポートのリストを表示します。
使用方法
hammer config-report <list|index> [OPTIONS]
# hammer config-report <list|index> [OPTIONS]
オプション
-
--fields LIST– 指定されたフィールドまたは定義済みフィールドセットのみを表示します。以下を参照してください。 -
--location VALUE– リクエストの現在のロケーションコンテキストを設定します。 -
--location-id NUMBER– リクエストの現在のロケーションコンテキストを設定します。 -
--location-title VALUE– リクエストの現在のロケーションコンテキストを設定します。 -
--order VALUE– 検索可能なフィールドで並べ替え、順序付けします。たとえば<field> DESCです。 -
--organization VALUE– リクエストの現在の組織コンテキストを設定します。 -
--organization-id NUMBER– リクエストの現在の組織コンテキストを設定します。 -
--organization-title VALUE– リクエストの現在の組織コンテキストを設定します。 -
--page NUMBER– (1 から始まる) ページ番号 -
--per-page VALUE– 1 ページあたりの、返される結果の数。allを指定すると、すべての結果が返されます。 -
--search VALUE– 結果をフィルタリングします。 -
-h、--help– ヘルプを表示します。
| フィールド | すべて | デフォルト | シン |
|---|---|---|---|
| Id | x | x | x |
| Host | x | x | |
| Last report | x | x | |
| Origin | x | x | |
| Applied | x | x | |
| Restarted | x | x | |
| Failed | x | x | |
| Restart failures | x | x | |
| Skipped | x | x | |
| Pending | x | x |
検索/順序フィールド
-
applied– 整数 -
eventful– 値は true、false です。 -
failed– 整数 -
failed_restarts– 整数 -
host– 文字列 -
host_id– 整数 -
host_owner_id– 整数 -
hostgroup– 文字列 -
hostgroup_fullname– 文字列 -
hostgroup_title– 文字列 -
id– 整数 -
last_report– 日時 -
location– 文字列 -
log– テキスト -
organization– 文字列 -
origin– 文字列 -
pending– 整数 -
reported– 日時 -
resource– テキスト -
restarted– 整数 -
skipped– 整数