Unfortunately, Exim doesn't allow non-admins to see the queues,
which makes it hard to actually use this check.
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_total_procs
}
+define command {
+ command_name check_remote_mailq_exim
+ command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c check_mailq_exim
+}
+
service_description TOTAL-PROC
check_command check_remote_total_procs
}
+
+;define service {
+; use nrpe-esp-service
+; service_description EXIM-QUEUE
+; check_command check_remote_mailq_exim
+;}