diff --git a/doc/source/configuration/monitoring.rst b/doc/source/configuration/monitoring.rst index 889846b706..46381a876c 100644 --- a/doc/source/configuration/monitoring.rst +++ b/doc/source/configuration/monitoring.rst @@ -313,7 +313,7 @@ To configure the exporter, adjust the variables in redfish_exporter_default_password: "{{ ipmi_password }}" # The address of the BMC that is queried by redfish exporter for metrics. - redfish_exporter_target_address: "{{ ipmi_address }}" + redfish_exporter_target_address: "{{ redfish_address | default(ipmi_address, true) }}" Deploy the exporter on the seed: diff --git a/etc/kayobe/stackhpc-monitoring.yml b/etc/kayobe/stackhpc-monitoring.yml index d443c12c65..c2fd3b1fa6 100644 --- a/etc/kayobe/stackhpc-monitoring.yml +++ b/etc/kayobe/stackhpc-monitoring.yml @@ -62,7 +62,7 @@ redfish_exporter_default_username: "{{ ipmi_username }}" redfish_exporter_default_password: "{{ ipmi_password }}" # The address of the BMC that is used to query redfish metrics. -redfish_exporter_target_address: "{{ ipmi_address }}" +redfish_exporter_target_address: "{{ redfish_address | default(ipmi_address, true) }}" # How often to scrape OpenStack Exporter in seconds. stackhpc_prometheus_openstack_exporter_interval: 300 diff --git a/releasenotes/notes/use-redfish-address-for-redfish-exporter-ae1504867ef77d59.yaml b/releasenotes/notes/use-redfish-address-for-redfish-exporter-ae1504867ef77d59.yaml new file mode 100644 index 0000000000..887035d25b --- /dev/null +++ b/releasenotes/notes/use-redfish-address-for-redfish-exporter-ae1504867ef77d59.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes Redfish exporter scrape configuration when hosts are defined with + ``redfish_address`` instead of ``ipmi_address``.