Add waitmax in all unix agents to the local, mrpe, plugin and run_cached checks

26 votes

It happens from time to time that a check runs longer than it should for some reason. In the worst case this leads to an agent timeout and the remaining checks are no longer executed.

The Unix agents should be protected against long-running checks with a general and/or check-specific timeout, just like the Windows agent, so that the remaining checks can still be executed.

Of course you could just run everything with run_cached. But then you get the result only with the next agent run which is not always desired.

The problem of the long agent runtime that results from the sequential execution of all checks is addressed in this feature request:
https://features.checkmk.com/suggestions/306004/let-unix-agents-execute-sectionspluginslocal-checks-in-parallel

Under consideration Checks&Agents Suggested by: Lars Sörensen Upvoted: 08 Jan Comments: 1

Comments: 1