Werk #2492 · Aug 11, 15
check_mk_agent.linux: avoid problems with crashing waitmax after Ubuntu update
Some users have reported that after an update of their Ubuntu target hosts, the command /usr/bin/waitmax, which is shipped with the Check_MK Agent, actually segfaults the program being run with it. This could be related to the fact that waitmax is statically linked in order to be independent of 32/64 bits and of the libc in use.
The agent now looks if /usr/bin/timeout exists and prefers that over waitmax. timeout has been introduced in the coreutils version 8+. It is missing e.g. on RedHat 5.X, so waitmax is still needed for a couple of years...
Details
- Class:
- Bug Fixes
- Level:
- Prominent
- Component:
- Checks
- Versions:
- 1.2.7i3CommunityProUltimate + MT