Werk #19701: MRPE: Fix silent skipping of entries when plugin reads stdin
| Component | Checks & agents | ||||||
| Title | MRPE: Fix silent skipping of entries when plugin reads stdin | ||||||
| Date | Apr 14, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, when multiple MRPE checks were configured in mrpe.cfg, any plugin that read from stdin could cause subsequent plugins to be skipped during execution of the agent.
This bug affected the check_mk_agent.linux, check_mk_agent.aix, check_mk_agent.solaris, check_mk_agent.freebsd and check_mk_agent.openwrt.
It has been fixed by redirecting stdin to /dev/null for each MRPE plugin invocation.