Werk #13121: Linux agent: Produce ntp section on additional systems (eg. Slackware)

Component Checks & agents
Title Linux agent: Produce ntp section on additional systems (eg. Slackware)
Date Aug 17, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Before producing the ntp section, the linux agent checks if a corresponding systemd service or a deamon under /etc/init.d/ exits. Hence, on systems without systemd and init.d, such as Slackware, the ntp section was never produced.

The agent now additionally checks if /etc/rc.d/rc.ntpd is found and executable. This re-enables the ntp section for example for Slackware.

To the list of all Werks