Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_lpstat

Rating
1 vote
Favoured:
0
Owner
Hits
154267
Files:
FileDescription
check_lpstat.plNagios plugin - Perl script
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Check printers and print-queue length using lpstat.
Check printers and print-queue length using lpstat


Warning if:

* any queue length exeeds specified limit (default 20)



Critical if:

* any printers are disabled

* any queue length exeeds specified limit (default 50)



Specific printers can be excluded from the checks using the '-x' option
Reviews (1)
comment out line 191 and add the following 5 lines:

#@jobs = ( );
while() {
if ( /^(?!no entries)/ ) {
push @jobs, $_;
}
}