Expand monitoring of olinda
authorAlex Dehnert <adehnert@mit.edu>
Sat, 23 Apr 2011 07:08:07 +0000 (03:08 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Sat, 23 Apr 2011 07:08:07 +0000 (03:08 -0400)
Add monitoring of:
* Postfix (SMTP connections, queue size)
* Dovecot (IMAPS connections)
* BIND (DNS port, I think)
* MySQL

local.d/olinda.cfg

index 52b83d80708d75683745088781396f58bb370b6c..0ea1302fc7ec59212ad9c715962ef44797e0d7c5 100644 (file)
@@ -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
+}