unbound
authorPeter Palfrader <peter@palfrader.org>
Thu, 3 Mar 2011 10:57:59 +0000 (11:57 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 3 Mar 2011 10:57:59 +0000 (11:57 +0100)
config/nagios-master.cfg

index 0c3b5ad..8a2545a 100644 (file)
@@ -190,7 +190,7 @@ servers:
   samosa:
     address: 192.25.206.57
     parents: gw-HP-ftc
-    hostgroups: computers, service, dl380, hassrvfs, hasbootfs, acpid-hosts, nfs-client, postgres84-hosts, xinetd-hosts, apache2-hosts
+    hostgroups: computers, service, dl380, hassrvfs, hasbootfs, acpid-hosts, nfs-client, postgres84-hosts, xinetd-hosts, apache2-hosts, unbound-hosts
   raff:
     address: 192.25.206.59
     parents: gw-HP-ftc
@@ -302,22 +302,22 @@ servers:
   master:
     address: 70.103.162.29
     parents: gw-brainfood
-    hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid
+    hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, unbound-hosts
   murphy:
     address: 70.103.162.31
     parents: gw-brainfood
-    hostgroups: computers, general, dl380, acpid-hosts, buildd, hasbootfs, hassrvfs
+    hostgroups: computers, general, dl380, acpid-hosts, buildd, hasbootfs, hassrvfs, unbound-hosts
 
 
   ries:
     address: 128.148.34.103
     parents: gw-brown.edu
-    hostgroups: computers, service, dl385, rsyncd-hosts, acpid-hosts, xinetd-hosts, hassrvfs, postgres84-hosts
+    hostgroups: computers, service, dl385, rsyncd-hosts, acpid-hosts, xinetd-hosts, hassrvfs, postgres84-hosts, unbound-hosts
 
   franck:
     address: 128.148.34.3
     parents: gw-brown.edu
-    hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres84-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts, apache-https
+    hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres84-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts, apache-https, unbound-hosts
 
   mayer:
     address: 140.211.166.78
@@ -909,6 +909,10 @@ hostgroups:
   bind9-hosts:
     alias: hosts running bind9
     private: 1
+  # once every host runs unbound, do away with this group and check "computers" instead
+  unbound-hosts:
+    alias: hosts running unbound
+    private: 1
   amavis-hosts:
     alias: hosts running amavis
     private: 1
@@ -1695,12 +1699,6 @@ services:
     depends: process - postfix - master
     normal_check_interval: 120
 
-  -
-    name: local resolver
-    nrpe: "/usr/lib/nagios/plugins/dsa-check-resolver www.debian.org www.google.com"
-    hostgroups: computers
-    normal_check_interval: 60
-
   -
     name: setup - dsa config
     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
@@ -1710,6 +1708,16 @@ services:
     name: setup - ud-ldap freshness
     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
     hostgroups: computers
+ ###
+  -
+    name: local resolver
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-resolver www.debian.org www.google.com"
+    hostgroups: computers
+    normal_check_interval: 60
+  -
+    name: process - unbound
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u unbound -C unbound -a '/usr/sbin/unbound'"
+    hostgroups: unbound-hosts
  ###
   -
     name: process - uptimed