gebn / bmc_exporter

Exposes Baseboard Management Controller data in Prometheus format.
GNU Lesser General Public License v3.0
47 stars 3 forks source link

Why is Get Device ID sent 1.5% less than Get System GUID? #28

Closed gebn closed 5 years ago

gebn commented 5 years ago

We establish a session (using payloads that are not commands). The first thing executed is Get Power Reading, but that doesn't explain it.

gebn commented 5 years ago

This is fine. There is a separate suspicion where there are 1.5% fewer Get Device ID than Get System GUID, suggesting the latter isn't supported on some BMCs. Requires investigation.

gebn commented 5 years ago

The rate of failure is also as high for Get System GUID as it is for Close Session - suggests these BMCs have disposed of the session since the last scrape. Try running 1 exporter to confirm; should also see reduction in rate of expired sessions.

gebn commented 5 years ago

Yep, this was a result of session expiry due to inactivity. Running one exporter shows even distribution of commands and far fewer command failures.