diff --git a/zabbix_scripts/check_qmail_sudo b/zabbix_scripts/check_qmail_sudo new file mode 100644 index 0000000..5dc66f7 --- /dev/null +++ b/zabbix_scripts/check_qmail_sudo @@ -0,0 +1,16 @@ +#!/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