Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 340678cbed1027e9e96adad2cf1a2f6ac36f9f8e
https://github.com/tribe29/checkmk/commit/340678cbed1027e9e96adad2cf1a2f6ac…
Author: Tom Baerwinkel <tom.baerwinkel(a)tribe29.com>
Date: 2019-10-16 (Wed, 16 Oct 2019)
Changed paths:
A .werks/8796
M agents/check_mk_agent.linux
M agents/check_mk_agent.openwrt
M checks/mknotifyd
R tests/unit/checks/generictests/datasets/mknotifyd.py
M
tests/unit/checks/generictests/datasets/mknotifyd_2019-04-12_15-51-12_5cb097d06ea82_regression.py
A tests/unit/checks/generictests/datasets/mknotifyd_with_timestamp.py
A tests/unit/checks/generictests/datasets/mknotifydwithout_timestamp.py
Log Message:
-----------
08796 FIX mknotifyd: fix wrong state file age output
The computation of the state file age was dependent on the
execution time of the check_mk_agent and the scheduling of
the check itself. If e.g. the sections after the mknotifyd
section took 5s this time was added to the state file age
inside the check. In the worst case this may lead to wrong
warnings that the state file age is older than 90s.
To use the fixed version of the mknotifyd check the
check_mk_agent has to be updated on systems with Checkmk
installations after a site update.
CMK-2897
Change-Id: I2f90b48f49856e7c58de1d9ee8cf8fb95b1111bb