From 3083b161ab099f5aabe1eafb3c656703dbb89803 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sat, 23 Apr 2011 03:08:07 -0400 Subject: [PATCH] Expand monitoring of olinda Add monitoring of: * Postfix (SMTP connections, queue size) * Dovecot (IMAPS connections) * BIND (DNS port, I think) * MySQL --- local.d/olinda.cfg | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/local.d/olinda.cfg b/local.d/olinda.cfg index 52b83d8..0ea1302 100644 --- a/local.d/olinda.cfg +++ b/local.d/olinda.cfg @@ -3,3 +3,43 @@ define host{ host_name olinda address 18.208.0.204 } + +define service { + name olinda-smtp + use adehnert-service + service_description SMTP + check_command check_smtp + host_name olinda +} + +define service { + name olinda-imaps + use adehnert-service + service_description IMAPS + check_command check_simap + host_name olinda +} + +define service { + name olinda-postfix-queue + use adehnert-service + service_description POSTFIX-QUEUE + check_command check_mailq_postfix!5!10 + host_name olinda +} + +define service { + name olinda-dns + use adehnert-service + service_description DNS + check_command check_dns + host_name olinda +} + +define service { + name olinda-mysql + use adehnert-service + service_description MYSQL + check_command check_mysql + host_name localhost +} -- 2.34.1