Werk #4760: Fixed vanishing CUPS queues services on systems using systemd

Komponente Checks & agents
Titel Fixed vanishing CUPS queues services on systems using systemd
Datum 17.06.2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.4.0p6 1.5.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

When monitoring CUPS queues on linux systems using systemd it happened that the agent did not provide CUPS queue information suddenly.

When using systemd the cupsd process is stopped when nothing is using the daemon. Systemd is starting the daemon again automatically once any process wants use the printer system.

The CUPS part of the Check_MK agent was only executed when the cupsd process was running which is wrong for such systems. Additionally the agent is now checking whether or not systemd is used and the cups.service is enabled and checks the queues if so, even when the cupsd is not running.

Zur Liste aller Werks