Home Directory Plugins Operating Systems AIX Check Printer Queue State

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 Printer Queue State

Rating
0 votes
Favoured:
0
Last Release Date
2014-02-26
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Hits
24095
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 printer queue status (using enq) on AIX. If the queue
matches the given status then return OK.
Check printer queue status (enq) on AIX. If the queue
matches the given status then return OK.

Options:
-q Comma separated list of print queue names (def: all)
-d Given a queue, alert on those in a DOWN state
-e Comma separated list of queues to exclude from the default all list
-s Status to look for (READY/RUNNING/DOWN/QUEUED)

Usage: $0 -q "invoice,black" -s READY

# 1.) Return critical if any queue is in the DOWN state
# $ ./check_enq.sh -d
#
# 2.) Return critical if any queue is in the DOWN state except those listed
# $ ./check_enq.sh -d -e "color,black,invoice"
#
# 3.) Return critical if color is in DOWN state
# $ ./check_enq.sh -d -q color