canonical / hardware-observer-operator

A charm to setup prometheus exporter for IPMI, RedFish and RAID devices from different vendors.
Apache License 2.0
7 stars 14 forks source link

hardware observer has ERROR 'StorageControllers' #222

Closed honghan-wong closed 2 months ago

honghan-wong commented 3 months ago

We received alerts related to

redfish_collector_failed{collector="redfish"} 1.0

Apr 18 04:30:33 infra python3[298134]: 2024-04-18 04:30:33 INFO Getting storage controller data...
Apr 18 04:30:33 infra python3[298134]: 2024-04-18 04:30:33 INFO Attempt 1 of /redfish/v1/
Apr 18 04:30:33 infra python3[298134]: 2024-04-18 04:30:33 INFO Attempt 1 of /redfish/v1/Systems/1/Storage/DE042000
Apr 18 04:30:33 infra python3[298134]: 2024-04-18 04:30:33 INFO Response Time for GET to /redfish/v1/Systems/1/Storage/DE042000: 0.010007815901190042 seconds.
Apr 18 04:30:33 infra python3[298134]: 2024-04-18 04:30:33 ERROR 'StorageControllers'

There are some request in middle but not related to Storage Controller. The Error stopped and no additional information is provided. Is there any information we can provide to resolve this?

facundofc commented 3 months ago

Possibly duplicate of #69 on the prometheus-harwdare-observer repo.

dashmage commented 3 months ago

Also quite similar to #115 and #177. This is potentially due to differing API paths for different hardware while querying for storage controller data from redfish

honghan-wong commented 2 months ago

no ERROR seens after updated to rev 69, which including patch https://github.com/canonical/prometheus-hardware-exporter/pull/71