From: Alex Dehnert Date: Sat, 23 Apr 2011 07:08:07 +0000 (-0400) Subject: Expand monitoring of olinda X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=3083b161ab099f5aabe1eafb3c656703dbb89803;p=sysconfig%2Fnagios3.git Expand monitoring of olinda Add monitoring of: * Postfix (SMTP connections, queue size) * Dovecot (IMAPS connections) * BIND (DNS port, I think) * MySQL --- 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 +}