From 1d50d7c82348580394aa53e513e2e3eba54593a1 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Mon, 25 Apr 2011 03:47:33 -0400 Subject: [PATCH] Add Exim queue checks Unfortunately, Exim doesn't allow non-admins to see the queues, which makes it hard to actually use this check. --- conf.d/nrpe-commands.cfg | 5 +++++ local.d/esp.cfg | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/conf.d/nrpe-commands.cfg b/conf.d/nrpe-commands.cfg index 7e54f04..2b9098a 100644 --- a/conf.d/nrpe-commands.cfg +++ b/conf.d/nrpe-commands.cfg @@ -28,6 +28,11 @@ define command { 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 +} + diff --git a/local.d/esp.cfg b/local.d/esp.cfg index c98121c..7d704e4 100644 --- a/local.d/esp.cfg +++ b/local.d/esp.cfg @@ -109,3 +109,9 @@ define service { 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 +;} -- 2.34.1