17 lines
203 B
Bash
17 lines
203 B
Bash
#!/bin/bash
|
|
|
|
case $1 in
|
|
queue_local)
|
|
/usr/bin/qmqtool -QL
|
|
;;
|
|
queue_remote)
|
|
/usr/bin/qmqtool -QR
|
|
;;
|
|
queue_total)
|
|
/usr/bin/qmqtool -Ql
|
|
;;
|
|
*)
|
|
echo 'ZBX_NOTSUPPORTED'
|
|
;;
|
|
esac
|