Hello Matt,

this is already fixed.

Thanks for the Report,

Bastian


Bastian Kuhn

Mathias Kettner GmbH
Kellerstraße 29, 81667 München, Germany
Registergericht: Amtsgericht München, HRB 165902
Geschäftsführer: Mathias Kettner
http://mathias-kettner.de
Tel. +49 89 1890 435-0
Fax. +49 89 1890 435-29

On 02.10.2015 01:33, Matt Taggart wrote:
Ingo Rogalsky writes:
Package: check-mk-agent
Version: 1.2.6p12-1~bpo8+1
Severity: normal
Tags: patch

Dear Maintainer,

    * What led up to the situation?

      update from 1.2.6p7-1~bpo8+1 -> 1.2.6p12-1~bpo8+1

    * What was the outcome of this action?

      The detecting of CUPS printer queues does not work anymore.

This patch  should fix the issue:

--- check_mk_agent  2015-10-01 23:08:52.282483902 +0200
+++ /usr/bin/check_mk_agent 2015-10-01 23:09:42.886927038 +0200
@@ -420,7 +420,7 @@

  # Status of CUPS printer queues
  if type lpstat > /dev/null 2>&1; then
-    if pgrep -x cups > /dev/null 2>&1; then
+    if pgrep -x cupsd > /dev/null 2>&1; then
          # first define a function to check cups
          function cups_queues () {
              CPRINTCONF=/etc/cups/printers.conf

Hi,

Thanks for the report. Looks like this regression was introduced in
upstream git commit 53164e7600f28cb43a189dd8e4b1a624a6a5287b as part
of fixing #2504 where the '-x' exact match flag was added to fix
another case.

Upstream maintainers can you fix?

Thanks,


Reply via email to