Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
ipmi_sensor_
to handle ipmitool Unable to read sensor
erro…
…rs (#1601) Occasionally (once every few days) `ipmitool` will output a reading like this: ``` Sensor Reading : Unable to read sensor: Device Not Present ``` Currently, Munin's `ipmi_sensor_` produces the following output in that situation: ``` fan1.value Unable ``` …which causes Munin to log: ``` Failed to interpret expected numeric value of field 'fan1' (host 'palo.kosada.com'): 'Unable' Argument "Unable" isn't numeric in sprintf ``` …and issue alerts as though the reading had a value of `0`. This PR modifies `ipmi_sensor_` to omit the invalid value, which should avoid the unnecessary alerts.
- Loading branch information