Make Linux agent configurable regarding waitmax time for livestatus queries

16 votes

The Linux agent automatically detects CMK sites at the local system and runs several livestatus queries against these. For those queries, it has configured a maximum time (in seconds) waiting for the response.
If e.g. the OMD.*performance service reports "site currently not running", it may be caused by simply not getting back a response in 3s (command is started with "waitmax 3").

If this wait time would be configurable (manually as well as in agent bakery), the user could decide to set another value here, in order to have the chance to get less situations where the agent thinks the site is not running:
* default value if not set: 3s (like till now)
* maybe even with a maximum, let's say 10s
* written in agent configuration file in /etc/check_mk/, used by the agent, e.g. "waitmax $WAITMAX_SECONDS" instead of "waitmax 3"

I'm open for any suggestions and/or discussions...

Not planned Suggested by: Marsellus Wallace Upvoted: 12 Mar Comments: 5

Comments: 5