Add a simple script to check qmail queue (requires qmqtool)

tags/zabbix-agent-addons-0.2.20-1
Daniel Berteaud 10 years ago
parent 1769878d85
commit 4ee55e4708
  1. 16
      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
Loading…
Cancel
Save