diff --git a/agents/check_mk_agent.freebsd b/agents/check_mk_agent.freebsd index 6e2f6506070..c0faa039b92 100755 --- a/agents/check_mk_agent.freebsd +++ b/agents/check_mk_agent.freebsd @@ -561,6 +561,11 @@ run_purely_synchronous_sections() { elif [ -x /usr/sbin/ssmtp ]; then echo '<<>>' mailq 2>&1 | sed 's/^[^:]*: \(.*\)/\1/' | tail -n 6 + elif [ -x /usr/libexec/dma ]; then + # Check status of DragonFly BSD Mail Agent (dma) + echo '<<>>' + echo -n QUEUE_deferred + /usr/libexec/dma -bp | grep ^ID | wc -l fi # Check status of qmail mailqueue