cc-metric-collector/receivers/redfishReceiver.md
2022-08-11 15:36:18 +02:00

2.3 KiB

Redfish receiver

The Redfish receiver uses the Redfish (specification) to query thermal and power metrics. Thermal metrics may include various fan speeds and temperatures. Power metrics may include the current power consumption of various hardware components. It may also include the minimum, maximum and average power consumption of these components in a given time interval. The receiver will poll each configured redfish device once in a given interval. Multiple devices can be accessed in parallel to increase throughput.

Configuration structure

{
    "<redfish receiver name>": {
        "type": "redfish",
        "exclude_metrics": [ "min_consumed_watts" ],
        "client_config": [
            {
                "hostname": "<host 1>",
                "username": "<user 1>",
                "password": "<password 1>",
                "endpoint": "https://<endpoint 1>"
            },
            {
                "hostname": "<host 2>",
                "username": "<user 2>",
                "password": "<password 2>",
                "endpoint": "https://<endpoint 2>",
                "disable_power_metrics": true
            },
            {
                "hostname": "<host 3>",
                "username": "<user 3>",
                "password": "<password 3>",
                "endpoint": "https://<endpoint 3>",
                "disable_thermal_metrics": true
            }
        ]
    }
}

Global settings:

  • fanout: Maximum number of simultaneous redfish connections (default: 64)
  • interval: How often the redfish power metrics should be read and send to the sink (default: 30 s)
  • http_insecure: Control whether a client verifies the server's certificate (default: true == do not verify server's certificate)
  • http_timeout: Time limit for requests made by this HTTP client (default: 10 s)

Global and per redfish device settings:

  • disable_power_metrics: disable collection of power metrics
  • disable_thermal_metrics: disable collection of thermal metrics
  • exclude_metrics: list of excluded metrics

Per redfish device settings:

  • hostname: hostname the redfish service belongs to
  • username: User name to authenticate with
  • password: Password to use for authentication
  • endpoint: URL of the redfish service