Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 8bff167b98fe231d32b23ea9e6b8d1fba7ad6a50
https://github.com/tribe29/checkmk/commit/8bff167b98fe231d32b23ea9e6b8d1fba…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-02-22 (Tue, 22 Feb 2022)
Changed paths:
M agents/cmk-agent-ctl/src/pull.rs
Log Message:
-----------
CMK-9605: cmk-agent-ctl: Avoid open pull port when pull is not active
- Before entering the actual pull cycle, test for active pull
condition. Sleep for one minute if pull is currently not active
(i.e. no registration and no legacy pull)
- When receiving no pull request within five minutes, bail out
from the active pull cycle to allow restarting with current
pull state. pull may have been deactivated meanwhile.
Change-Id: Ic03f706b8cfaeabd66c75935de9885d0d5016f66