2.16. hammer config-report


浏览和读取报告

Usage:
    hammer config-report [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 delete, destroy               Delete a report
 info, show                    Show a report
 list, index                   List all reports

Options:
 -h, --help                    Print help

2.16.1. hammer config-report delete

删除报告

Usage:
    hammer config-report <delete|destroy> [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 -h, --help                              Print help

2.16.2. hammer config-report info

显示报告

Usage:
    hammer config-report <info|show> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 -h, --help                              Print help

Predefined field sets:
  --------------------------------|-----|---------|-----
  FIELDS                          | ALL | DEFAULT | THIN
  --------------------------------|-----|---------|-----
  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       |
  --------------------------------|-----|---------|-----

2.16.3. hammer config-report list

列出所有报告

Usage:
    hammer config-report <list|index> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return, 'all' to return all results
 --search SEARCH                         Filter results
 -h, --help                              Print help

Predefined field sets:
  -----------------|-----|---------|-----
  FIELDS           | ALL | DEFAULT | THIN
  -----------------|-----|---------|-----
  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       |
  -----------------|-----|---------|-----

Search / Order fields:
  applied             integer
  environment         string
  eventful            Values: true, false
  failed              integer
  failed_restarts     integer
  host                string
  host_id             integer
  hostgroup           string
  hostgroup_fullname  string
  hostgroup_title     string
  last_report         datetime
  location            string
  log                 text
  organization        string
  origin              string
  pending             integer
  reported            datetime
  resource            text
  restarted           integer
  skipped             integer
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.