We want bacula-fd to run as bacula, not root
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index 98443aa..38407c2 100644 (file)
@@ -5,17 +5,11 @@
 # vim:set syntax=yaml:
 
 # TODO
-#  - spohr: hpasmd
-#  - *: mailq
 #  - *: check munin stats collection works
 #  - *: check backups are successful
 #  - *: unwanted: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some)
 #  - mundy: salinfo_decode
 
-# down:
-#  - sarti
-#  - leisner
-
 ---
 #############################
 # hosts
@@ -60,7 +54,7 @@ servers:
     parents: gw-ubcece
     hostgroups: layer3-infrastructure
   gw-brown:
-    address: 128.148.34.1
+    address: 138.16.160.1
     parents: gw-ubcece
     hostgroups: layer3-infrastructure
   gw-carnet:
@@ -265,11 +259,11 @@ servers:
   # }}}
   # {{{ gw-brown
   franck:
-    address: 128.148.34.3
+    address: 138.16.160.12
     parents: gw-brown
     hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres91-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts, apache-https, hassrvfs, squeeze
   ries:
-    address: 128.148.34.103
+    address: 138.16.160.9
     parents: gw-brown
     hostgroups: computers, service, dl385, acpid-hosts, xinetd-hosts, hassrvfs, squeeze, postgres91-hosts
   # }}}
@@ -298,6 +292,14 @@ servers:
     address: 5.153.231.246
     parents: gw-bytemark
     hostgroups: computers, bl460, acpid-hosts, service, wheezy
+  bm-bl7:
+    address: 5.153.231.247
+    parents: gw-bytemark
+    hostgroups: computers, bl460, acpid-hosts, service, wheezy
+  bm-bl8:
+    address: 5.153.231.248
+    parents: gw-bytemark
+    hostgroups: computers, bl460, acpid-hosts, service, wheezy
 
   milanollo:
     address: 5.153.231.2
@@ -314,7 +316,7 @@ servers:
   adayevskaya:
     address: 5.153.231.5
     parents: gw-bytemark
-    hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts
+    hostgroups: computers, service, kvmdomains, wheezy
   # }}}
   # {{{ gw-c3sl
   santoro:
@@ -449,7 +451,8 @@ servers:
   zemlinsky:
     address: 129.143.160.6
     parents: gw-karlsruhe
-    hostgroups: computers, buildd, hassrvfs, squeeze
+    hostgroups: computers, buildd, hassrvfs, wheezy
+    contacts: pkern
   # }}}
   # {{{ gw-man-da
   agricola:
@@ -499,7 +502,7 @@ servers:
   rem:
     address: 82.195.75.68
     parents: gw-man-da
-    hostgroups: computers, buildd, hasbootfs, hassrvfs, squeeze
+    hostgroups: computers, buildd, hasbootfs, hassrvfs, wheezy
   unger:
     address: 82.195.75.102
     parents: gw-man-da
@@ -531,7 +534,7 @@ servers:
   wilder:
     address: 82.195.75.112
     parents: ganeti3
-    hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache2-hosts, apache-https, bacula-client
+    hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache2-hosts, apache-https, bacula-client, rsyncd-hosts, xinetd-hosts
   vieuxtemps:
     address: 82.195.75.113
     parents: ganeti3
@@ -629,20 +632,10 @@ servers:
     address: 86.59.118.151
     parents: gw-sil
     hostgroups: computers, porterbox, squeeze, hassrvfs
-  englund:
-    address: 86.59.118.148
-    parents: gw-sil
-    hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs, megactl
-    # which raid?
   eysler:
     address: 86.59.118.152
     parents: gw-sil
     hostgroups: computers, buildd, squeeze
-  lindberg:
-    address: 86.59.118.149
-    parents: gw-sil
-    hostgroups: computers, acpid-hosts, service, squeeze, megactl
-    # which raid?
   merikanto:
     address: 86.59.118.147
     parents: gw-sil
@@ -1052,9 +1045,9 @@ hostgroups:
   aacraid:
     alias: Hosts with Adaptec AACraid
     private: 1
-  megactl:
-    alias: Hosts with LSI Logic MegaRAID, but not usable with megaraid check
-    private: 1
+#  megactl:
+#    alias: Hosts with LSI Logic MegaRAID, but not usable with megaraid check
+#    private: 1
   megaraid:
     alias: Hosts with LSI Logic MegaRAID
     private: 1
@@ -1319,7 +1312,12 @@ services:
     name: disk usage on /srv
     servicegroups: diskspace
     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv"
-    hosts: stabile, beach
+    hosts:  beach
+  -
+    name: disk usage on /srv
+    servicegroups: diskspace
+    nrpe: "/usr/lib/nagios/plugins/check_disk 95 98 /srv"
+    hosts: stabile
   -
     name: disk usage on /tmp
     servicegroups: diskspace
@@ -1463,7 +1461,7 @@ services:
   -
     name: process - bacula-fd
     servicegroups: backup
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u bacula -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'"
     hostgroups: computers
     excludehostgroups: freebsd
     excludehosts: wagner, vasks
@@ -2168,11 +2166,11 @@ services:
     hostgroups: mptraid
 
  ###
-  -
-    name: RAID - megactl
-    servicegroups: raid
-    nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl"
-    hostgroups: megactl
+#  -
+#    name: RAID - megactl
+#    servicegroups: raid
+#    nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl"
+#    hostgroups: megactl
  ###
   -
     name: RAID - DRBD
@@ -2277,11 +2275,11 @@ services:
  ###
   -
     name: process - apache2 - master
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a /usr/sbin/apache2"
     hostgroups: apache2-hosts
   -
     name: process - apache2 - worker
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -a /usr/sbin/apache2"
     hostgroups: apache2-hosts
     depends: process - apache2 - master
   -