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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1 2.0.0p10
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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