[project @ peter@palfrader.org-20080412095129-cmjakvusvj7khzrr]
[mirror/dsa-nagios.git] / nagios-master.cfg
index 6ababc2..ef171bd 100644 (file)
@@ -17,8 +17,6 @@
 #  - puccini: mailgraph
 #  -
 #  - agnesi
-#  - lebrun
-#  - murphy
 #  - piatti
 #  - tartini
 #sarge:
@@ -190,6 +188,10 @@ servers:
     address: 70.103.162.29
     parents: gw-brainfood
     hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-exim, highload
+  murphy:
+    address: 70.103.162.31
+    parents: gw-brainfood
+    hostgroups: computers, general, apache2-hosts, bind9-hosts, postfix-hosts
 
   ries:
     address: 128.148.34.103
@@ -574,18 +576,16 @@ services:
     hostgroups: computers
   -
     name: "network service - sshd"
-    check: check_ssh
+    check: dsa_check_ssh
     hostgroups: computers
     depends: process - sshd
     normal_check_interval:  60
-    notification_interval:  60
 
   -
     name: "network service - sshd"
-    check: check_ssh
+    check: dsa_check_ssh
     hostgroups: deadslow
     normal_check_interval:  180
-    notification_interval:  180
  ####
   -
     name: network service - nrpe
@@ -872,6 +872,13 @@ services:
     depends: process - postfix - master
 
  ###
+  -
+    name: network service - smtp
+    check: dsa_check_smtp
+    hostgroups: computers
+    excludehostgroups: postfix-hosts
+    depends: process - exim
+
   -
     name: network service - smtp
     check: dsa_check_smtp
@@ -881,21 +888,27 @@ services:
   -
     name: network service - smtp - port 2025
     check: dsa_check_smtp_port!2025
-    hosts: verdi, kassia
+    hosts: verdi, kassia, murphy
     depends: process - postfix - master
   -
     name: network service - smtp - port 8080
     check: dsa_check_smtp_port!8080
     hosts: allegri
     depends: process - postfix - master
+
   -
-    name: network service - smtp
-    check: dsa_check_smtp
-    hostgroups: computers
-    excludehostgroups: postfix-hosts
-    depends: process - exim
+    name: network service local - smtps cert
+    nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
+    hostgroups: postfix-hosts
+    depends: process - postfix - master
+    normal_check_interval: 1440
 
 
+  -
+    name: setup - debian-admin in etc aliases
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-da-in-aliases"
+    hostgroups: computers
+    normal_check_interval: 1440
  ###
   -
     name: process - uptimed
@@ -1078,14 +1091,12 @@ services:
     hosts: samosa
     depends: "process - apache2 - master"
     normal_check_interval: 120
-    notification_interval: 120
   -
     name: network service - https cert
     check: dsa_check_cert!443
     hosts: samosa
     depends: network service - https
     normal_check_interval: 240
-    notification_interval: 240
  ####
   -
     name: process - named