jenningsloy318 / redfish_exporter

exporter to get metrics from redfish based hardware such as lenovo/dell/superc servers
Apache License 2.0
70 stars 62 forks source link

Exporter Returns target as up when there it #26

Closed RyanW8 closed 3 years ago

RyanW8 commented 3 years ago

I've got a few devices that are not reachable from the RedFish exporter at the moment. I got them onboarded into Prometheus whilst I wait for the FW rules to be configured to allow traffic through. However I noticed that Prometheus is reporting all of the targets as up. I looked at the logs of the RedFish exporter and saw the below:

2020/12/05 13:49:30 error error creating redfish client app=redfish_exporter error=Get "https://REDACTED/redfish/v1/": dial tcp REDACTED:443: i/o timeout target=REDACTED
2020/12/05 13:49:32 error error creating redfish client app=redfish_exporter error=Get "https://REDACTED/redfish/v1/": dial tcp REDACTED:443: i/o timeout target=REDACTED

These are two separate hosts, both of which are reporting as 'Up' in Prometheus. This is is not desirable as in the event we lose one of these hosts we can not use the Prometheus up function as it'll say these hosts are up.