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
2014-02-26
- Nagios 3.x
- Nagios 4.x
- Nagios XI
24095
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!
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!