1 title: State of CUPS Printer Queues
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.
22 The name of the printer in CUPS as printed by {lpstat -p}.
25 Checks are created for all available printers in {lpstat -p} output.