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

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
20197
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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