check_mailq allows checking per domain, but the parameters are never parsed. I also switched to case-sensitive getopt parsing, because otherwise --critical and --Critical would conflict. You can view, comment on, or merge this pull request online at:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1398 -- Commit Summary -- * check_mailq: Fix per-domain settings -- File Changes -- M plugins-scripts/check_mailq.pl (4) -- Patch Links -- https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.patch https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.diff -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1398