Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / checkman / cups_queues
blobb5eb656edc53354e3f5bab06df60a35c56cde9c0
1 title: State of CUPS Printer Queues
2 agents: linux, freebsd
3 catalog: os/services
4 license: GPL
5 distribution: check_mk
6 description:
7  This check uses the output of {lpstat -p} and {lpstat -o} as sent by the
8  Check_MK linux agent. It lists the general state of a queue and the jobs
9  in the printer queue of the CUPS printing system.
11  The check analyzes the overall state of a printer using the first words in
12  each line of {lpstat -p}. The words "is idle", "disabled since", "now printing"
13  trigger the resulting state.
14  The resulting state also depends on the number of jobs in the queue and
15  the age of the oldest job in the queue.
17  Be aware that custom parameters for jobs in
18  queue will be preferred. Even if e.g. "disabled since" would result in {CRIT}
19  but the length of queue is {OK} and vice versa.
21 item:
22  The name of the printer in CUPS as printed by {lpstat -p}.
24 inventory:
25  Checks are created for all available printers in {lpstat -p} output.