We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Checkmk 1.6 has arrived! Learn more about it here!

Check manual page of cups_queues

Checkmk Manual

On this page

Search in the manual

State of CUPS Printer Queues

Distribution: official part of Check_MK
License: GPL
Supported Agents: Linux, FREEBSD

This check uses the output of lpstat -p and lpstat -o as sent by the Check_MK linux agent. It lists the general state of a queue and the jobs in the printer queue of the CUPS printing system.

The check analyzes the overall state of a printer using the first words in each line of lpstat -p. The words "is idle", "disabled since", "now printing" trigger the resulting state. The resulting state also depends on the number of jobs in the queue and the age of the oldest job in the queue.

Be aware that custom parameters for jobs in queue will be preferred. Even if e.g. "disabled since" would result in CRIT but the length of queue is OK and vice versa.

Item

The name of the printer in CUPS as printed by lpstat -p.

Discovery

Checks are created for all available printers in lpstat -p output.