Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Printer Queue State
Last Release Date
2014-02-26
Compatible With
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
Hits
22960
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
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
Reviews (0)
Be the first to review this listing!