Werk #18483 · Feb 19, 26
agent_ipmi_sensors: fix error reporting
The error reporting mechanism of special agents only reports the last line of stderr to the checkmk user interface.
For agent_ipmi_sensors the error provided by ipmitool or freeipmi was
simply handed over, but contained a trailing \n.
This lead to the situation, that the error '. was reported.
Now, before handing the errors over, the \n are replaced so the error fits in
a single line.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b1All Editions
- 2.4.0p22All Editions