/usr/share/nagios-plugins/templates-standard/mailq.cfg is in nagios-plugins-standard 1.5-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # 'check-mailq' for sendmail
define command {
command_name check_mailq_sendmail
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail
}
# 'check-mailq' for postfix
define command {
command_name check_mailq_postfix
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix
}
# 'check-mailq' for exim
define command {
command_name check_mailq_exim
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim
}
# 'check-mailq' for qmail
define command {
command_name check_mailq_qmail
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail
}
|