Werk #8628: printer_alerts: Fix discovery when there are no alerts

Component Checks & agents
Title printer_alerts: Fix discovery when there are no alerts
Date Mar 27, 2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.8p20 1.4.0b5 1.5.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, the discovery would only work, when the device listed some alerts, but not in the (hopefully more common) case that the list of alerts was empty. This has been fixed.

Thanks to Andreas Döhler for the patch!

To the list of all Werks