LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to monitor printing using cups or lpd (http://www.linuxquestions.org/questions/linux-general-1/how-to-monitor-printing-using-cups-or-lpd-4175416510/)

jldunn2000 07-13-2012 08:18 AM

How to monitor printing using cups or lpd
 
I have a requirement to print to network printers and monitor printer status and print job progress.

I am looking at doing it via cups or lpd commands.
Does anyone have any experience in doing this?

MensaWater 07-13-2012 08:34 AM

There's a rather nice Nagios plugin that is actually just a script called check_cups_queue. You can run it from command line so don't actually need to run Nagios to use it:

http://exchange.nagios.org/directory..._queue/details

Of course since it is a script you can read what it is doing and use that as the basis for any more intensive checking you want to do.


All times are GMT -5. The time now is 05:47 PM.