Check manual page of cups_queuesMay 02. 2012
cups_queuesAuthor: Lars Michelsen License: GPL Distribution: official part of Check_MK Supported Agents: Linux 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.
ItemThe name of the printer in CUPS as printed by lpstat -p.
Check parameters
Performance dataIt contains the current number of jobs in the queue in the jobs value.
InventoryChecks are created for all available printers in lpstat -p output.
Configuration variables
Examplesmain.mk # Set number of minimum jobs to 5 to result in a warning state and 10 to result in a critical state # Set the maximum age of a job to 5 minutes to result in a warning state and 10 minutes to result in # a critical state. The age is given in seconds. cups_queues_default_levels = (5, 10, 360, 720) |
| |||||||||||||||||||||||||||||||||