bsds have a different buildd check
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index db42930..268ee7c 100644 (file)
@@ -77,7 +77,7 @@ servers:
     parents: gw-ubc
     hostgroups: routing-infrastructure
   gw-sanger:
-    address: 193.62.202.18
+    address: 193.62.202.20
     parents: gw-ubc
     hostgroups: routing-infrastructure
     contacts: tjrc1
@@ -172,6 +172,11 @@ servers:
     address: 82.44.141.46
     parents: gw-ubc
     hostgroups: routing-infrastructure
+  gw-ynic:
+    # really janet, because ynic is stupid about firewalling
+    address: 146.97.42.26
+    parents: gw-ubc
+    hostgroups: routing-infrastructure
 
   global:
     hostgroups: notacomputer
@@ -253,7 +258,7 @@ servers:
   heininen:
     address: 82.195.75.98
     parents: gw-man-da
-    hostgroups: computers, acpid-hosts
+    hostgroups: computers, acpid-hosts, service
   unger:
     address: 82.195.75.102
     parents: gw-man-da
@@ -278,10 +283,10 @@ servers:
     address: 82.195.75.70
     parents: gw-man-da
     hostgroups: computers, buildd, no-udev, hasbootfs, ntpsuckers
-  purcell:
-    address: 82.195.75.69
+  kokkonen:
+    address: 82.195.75.97
     parents: gw-man-da
-    hostgroups: computers, buildd
+    hostgroups: computers, service, acpid-hosts, postgres84-hosts
 
   master:
     address: 70.103.162.29
@@ -296,7 +301,7 @@ servers:
   ries:
     address: 128.148.34.103
     parents: gw-brown.edu
-    hostgroups: computers, service, apache2-hosts, bind9-hosts, dl385, rsyncd-hosts, postgres83-hosts, spamd, heavy-exim, acpid-hosts, xinetd-hosts
+    hostgroups: computers, service, bind9-hosts, dl385, rsyncd-hosts, postgres83-hosts, acpid-hosts, xinetd-hosts
 
   franck:
     address: 128.148.34.3
@@ -307,10 +312,10 @@ servers:
     address: 140.211.166.78
     parents: gw-osuosl
     hostgroups: computers, buildd, hasbootfs
-  mayr:
-    address: 140.211.166.58
-    parents: gw-osuosl
-    hostgroups: computers, buildd, hasbootfs
+#  mayr:
+#    address: 140.211.166.58
+#    parents: gw-osuosl
+#    hostgroups: computers, buildd, hasbootfs
   rietz:
     address: 140.211.166.43
     parents: gw-osuosl
@@ -381,7 +386,7 @@ servers:
   widor:
     address: 93.94.130.161
     parents: gw-dg-i.net
-    hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs
+    hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs, service
     contacts: bzed
 
   pergolesi:
@@ -404,7 +409,7 @@ servers:
   sibelius:
     address: 193.62.202.28
     parents: gw-sanger
-    hostgroups: computers, acpid-hosts, megaraid
+    hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts, service
     contacts: tjrc1
   smetana:
     address: 193.62.202.29
@@ -427,7 +432,7 @@ servers:
   schumann:
     address: 212.227.126.54
     parents: gw-1und1-karlsruhe
-    hostgroups: computers, acpid-hosts
+    hostgroups: computers, acpid-hosts, service
   wieck:
     address: 195.20.242.89
     parents: gw-1und1-karlsruhe
@@ -481,12 +486,12 @@ servers:
   agnesi:
     address: 67.233.102.241
     parents: gw-agnesi
-    hostgroups: deadslow
+    hostgroups: deadslow, porterbox
 
   spontini:
     address: 206.12.19.14
     parents: gw-ubc
-    hostgroups: computers, buildd, hasbootfs, hassrvfs
+    hostgroups: computers, buildd, hasbootfs, hassrvfs, sparc
     contacts: lfilipoz
   ravel:
     address: 206.12.19.5
@@ -495,11 +500,11 @@ servers:
   dijkstra:
     address: 206.12.19.218
     parents: tchaikovsky
-    hostgroups: computers, bl460, acpid-hosts
+    hostgroups: computers, bl460, acpid-hosts, service
   luchesi:
     address: 206.12.19.214
     parents: tchaikovsky
-    hostgroups: computers, bl460, acpid-hosts
+    hostgroups: computers, bl460, acpid-hosts, service
   tchaikovsky:
     address: 206.12.19.118
     hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains
@@ -518,39 +523,39 @@ servers:
   duarte:
     address: 206.12.19.114
     parents: dijkstra
-    hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains
+    hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains, service
   valente:
     address: 206.12.19.112
     parents: dijkstra
-    hostgroups: computers, hasbootfs, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim, xinetd-hosts
+    hostgroups: computers, hasbootfs, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim, xinetd-hosts, service
   bellini:
     address: 206.12.19.7
     parents: gw-ubc
-    hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim
+    hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim, service
   morricone:
     address: 206.12.19.9
     parents: tchaikovsky
-    hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres84-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts
+    hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres84-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service
   stabile:
     address: 206.12.19.13
     parents: gw-ubc
-    hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts
+    hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts, service
   cimarosa:
     address: 206.12.19.8
     parents: gw-ubc
-    hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, apache2-hosts
+    hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, apache2-hosts, service
   paganini:
     address: 206.12.19.10
     parents: tchaikovsky
-    hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client
+    hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client, service
   respighi:
     address: 206.12.19.11
     parents: gw-ubc
-    hostgroups: computers, hasbootfs, aacraid, hassrvfs
+    hostgroups: computers, hasbootfs, aacraid, hassrvfs, service
   vivaldi:
     address: 206.12.19.12
     parents: tchaikovsky
-    hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts
+    hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service
   # MSA 2000 (2012i)
   giustini:
     address: 192.168.2.6
@@ -562,11 +567,11 @@ servers:
   fano:
     address: 206.12.19.110
     parents: luchesi
-    hostgroups: computers, freebsd, squeeze
+    hostgroups: computers, freebsd, squeeze, buildd
   finzi:
     address: 206.12.19.111
     parents: luchesi
-    hostgroups: computers, freebsd, squeeze
+    hostgroups: computers, freebsd, squeeze, buildd
   gabrielli:
     address: 206.12.19.17
     parents: tchaikovsky
@@ -579,6 +584,18 @@ servers:
     address: 206.12.19.15
     parents: tchaikovsky
     hostgroups: computers, buildd
+  rossini:
+    address: 206.12.19.19
+    parents: tchaikovsky
+    hostgroups: computers, dl585, acpid-hosts, service
+  salieri:
+    address: 206.12.19.20
+    parents: tchaikovsky
+    hostgroups: computers, dl585, acpid-hosts, service
+  traetta:
+    address: 206.12.19.21
+    parents: tchaikovsky
+    hostgroups: computers, dl585, acpid-hosts, service
 
   lebrun:
     address: 193.198.184.10
@@ -592,12 +609,12 @@ servers:
   tartini:
     address: 82.94.249.158
     parents: gw-telegraaf
-    hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, hasvarfs, hasusrfs
+    hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, hasvarfs, hasusrfs, service
 
   piatti:
     address: 193.167.161.225
     parents: gw-helsinki
-    hostgroups: computers, dl385, acpid-hosts, apache2-hosts, hasbootfs, incomingmailrelayed2025, hasorgfs
+    hostgroups: computers, dl385, acpid-hosts, apache2-hosts, hasbootfs, incomingmailrelayed2025, hasorgfs, service
     contacts: holger
 
   rem:
@@ -617,7 +634,7 @@ servers:
   goedel:
     address: 213.188.99.214
     parents: gw-cst
-    hostgroups: computers, hasbootfs, ntpsuckers
+    hostgroups: computers, hasbootfs, ntpsuckers, buildd
 
   schein:
     address: 149.20.20.6
@@ -631,7 +648,7 @@ servers:
   pettersson:
     address: 130.239.18.123
     parents: gw-aca
-    hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts
+    hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service
 
   lafayette:
     address: 147.215.7.160
@@ -641,20 +658,20 @@ servers:
   grieg:
     address: 194.177.211.200
     parents: gw-grnet
-    hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts
+    hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts, service
   rautavaara:
     address: 194.177.211.199
     parents: gw-grnet
-    hostgroups: computers, acpid-hosts, megaraid
+    hostgroups: computers, acpid-hosts, megaraid, service
   fasch:
     address: 194.177.211.201
     parents: rautavaara
-    hostgroups: computers, freebsd, squeeze
+    hostgroups: computers, freebsd, squeeze, buildd
     #, mptraid
   holter:
     address: 194.177.211.202
     parents: gw-grnet
-    hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid
+    hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid, service
   barber:
     address: 194.177.211.203
     parents: gw-grnet
@@ -666,37 +683,37 @@ servers:
   cilea:
     address: 194.177.211.205
     parents: gw-grnet
-    hostgroups: computers, acpid-hosts, mptraid, hassrvfs
+    hostgroups: computers, acpid-hosts, mptraid, hassrvfs, service
   vitry:
     address: 194.177.211.206
     parents: gw-grnet
-    hostgroups: computers, acpid-hosts, mptraid
+    hostgroups: computers, acpid-hosts, mptraid, buildd
   krenek:
     address: 194.177.211.207
     parents: gw-grnet
-    hostgroups: computers, acpid-hosts, mptraid
+    hostgroups: computers, acpid-hosts, mptraid, buildd
   scelsi:
     address: 194.177.211.208
     parents: gw-grnet
-    hostgroups: computers, acpid-hosts, mptraid
+    hostgroups: computers, acpid-hosts, mptraid, service
   orff:
     address: 194.177.211.209
     parents: gw-grnet
-    hostgroups: computers, acpid-hosts, bind9-hosts, mptraid
+    hostgroups: computers, acpid-hosts, bind9-hosts, mptraid, service
   field:
     address: 194.177.211.210
     parents: rautavaara
-    hostgroups: computers, freebsd, squeeze
+    hostgroups: computers, freebsd, squeeze, buildd
     #, mptraid
 
   beethoven:
     address: 86.59.118.146
     parents: gw-sil
-    hostgroups: computers, hasbootfs, aacraid, nfs-server
+    hostgroups: computers, hasbootfs, aacraid, nfs-server, service
   merikanto:
     address: 86.59.118.147
     parents: gw-sil
-    hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts
+    hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service
   merikanto2:
     address: 86.59.118.150
     parents: merikanto
@@ -704,38 +721,47 @@ servers:
   englund:
     address: 86.59.118.148
     parents: gw-sil
-    hostgroups: computers, acpid-hosts
+    hostgroups: computers, acpid-hosts, service
     # which raid?
   lindberg:
     address: 86.59.118.149
     parents: gw-sil
-    hostgroups: computers, acpid-hosts
+    hostgroups: computers, acpid-hosts, service
     # which raid?
 
   abel:
     address: 217.140.96.56
     parents: gw-arm
-    hostgroups: computers
+    hostgroups: computers, hasbootfs, hassrvfs, porterbox
   arnold:
     address: 217.140.96.57
     parents: gw-arm
-    hostgroups: computers
+    hostgroups: computers, hasbootfs, hassrvfs, buildd
   alain:
     address: 217.140.96.58
     parents: gw-arm
-    hostgroups: computers
+    hostgroups: computers, hasbootfs, hassrvfs, buildd
   alwyn:
     address: 217.140.96.59
     parents: gw-arm
-    hostgroups: computers
+    hostgroups: computers, hasbootfs, hassrvfs, buildd
   antheil:
     address: 217.140.96.60
     parents: gw-arm
-    hostgroups: computers
+    hostgroups: computers, hasbootfs, hassrvfs, buildd
   arne:
     address: 217.140.96.61
     parents: gw-arm
-    hostgroups: computers
+    hostgroups: computers, hasbootfs, hassrvfs
+
+  poulenc:
+    address: 144.32.168.77
+    parents: gw-ynic
+    hostgroups: computers, buildd, sw-raid, hassrvfs
+  porpora:
+    address: 144.32.168.78
+    parents: gw-ynic
+    hostgroups: computers, buildd, sw-raid, hassrvfs
 
 #############################
 # host groups
@@ -796,6 +822,9 @@ hostgroups:
   bl460:
     alias: HP BL460 blades
     private: 1
+  dl585:
+    alias: HP DL385 hosts
+    private: 1
   sw-raid:
     alias: Hosts with Linux software raid
     private: 1
@@ -809,9 +838,6 @@ hostgroups:
     alias: Hosts with LSI Logic Fusion-MPT
     private: 1
 
-  etch:
-    alias: Hosts running etch
-    private: 1
   squeeze:
     alias: Hosts running squeeze
     private: 1
@@ -985,12 +1011,12 @@ services:
     servicegroups: diskspace
     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
     hostgroups: computers
-    excludehosts: ries, klecker, kassia, spohr
+    excludehosts: klecker, kassia, spohr
   -
     name: disk usage on /
     servicegroups: diskspace
     nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /"
-    hosts: ries, klecker, kassia, spohr
+    hosts: klecker, kassia, spohr
   -
     name: disk usage on /boot
     servicegroups: diskspace
@@ -1166,6 +1192,11 @@ services:
     nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/ferm.conf"
     hostgroups: computers
     excludehostgroups: freebsd
+  -
+    name: puppetized firewall
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/conf.d/defs.conf"
+    hostgroups: computers
+    excludehostgroups: freebsd
 
  ####
   -
@@ -1654,12 +1685,12 @@ services:
     name: process - cpqarrayd
     servicegroups: raid
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
-    hostgroups: dl385, dl380, dl360, bl460
+    hostgroups: dl385, dl380, dl360, bl460, dl585
   -
     name: RAID - arrayprobe
     servicegroups: raid
     nrpe: "sudo /usr/bin/arrayprobe"
-    hostgroups: dl385, dl380, dl360, bl460
+    hostgroups: dl385, dl380, dl360, bl460, dl585
     excludehosts: franck
   -
     name: RAID - arrayprobe
@@ -1672,12 +1703,24 @@ services:
     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
     normal_check_interval: 120
     hostgroups: dl385, dl380, dl360, bl460
+  -
+    name: HW - hpacucli enclosure status
+    servicegroups: raid
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli-enclosure 1 1E:1"
+    normal_check_interval: 120
+    hosts: franck
+  -
+    name: HW - hpacucli status
+    servicegroups: raid
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --ignore-transfer-speed=1I:1:1 --ignore-transfer-speed=1I:1:2"
+    normal_check_interval: 120
+    hostgroups: dl585
  ###
   -
     name: HW - hpasmcli status
     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm"
     normal_check_interval: 120
-    hostgroups: dl385, dl380, dl360, bl460
+    hostgroups: dl385, dl380, dl360, bl460, dl585
     excludehosts: villa, lobos, liszt, senfl, schein, rore
   -
     name: HW - hpasmcli status
@@ -1848,7 +1891,7 @@ services:
   -
     name: network service - https
     check: check_https
-    hosts: ries, franck, chopin, draghi, liszt, spohr, widor, tchaikovsky, grieg, vivaldi
+    hosts: franck, chopin, draghi, liszt, spohr, widor, tchaikovsky, grieg, vivaldi
     depends: "process - apache2 - master"
     normal_check_interval: 120
   -
@@ -1863,7 +1906,7 @@ services:
     # liszt            lists.debian.org
     # grieg            buildd.debian.org
     # vivaldi          fossology.debian.org
-    hosts: ries, franck, chopin, spohr, tchaikovsky, draghi, merkel2, liszt, widor, grieg, vivaldi
+    hosts: franck, chopin, spohr, tchaikovsky, draghi, merkel2, liszt, widor, grieg, vivaldi
     depends: network service - https
     normal_check_interval: 60
 
@@ -1948,9 +1991,8 @@ services:
  ####
   -
     name: process - postresql84 - master
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"
     hostgroups: postgres84-hosts
-    excludehosts: franck
   -
     name: process - postresql83 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'"
@@ -1996,6 +2038,29 @@ services:
     name: udd stunnel - master cert
     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45"
     hosts: samosa
+ ###
+  -
+    name: process - UPS - nut usbhid-ups - ups1
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C usbhid-ups  -a '/lib/nut/usbhid-ups -a ups1'"
+    hosts: franck
+  -
+    name: process - UPS - nut upsd
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsd  -a '/sbin/upsd'"
+    hosts: franck
+  -
+    name: process - UPS - nut upsmon master
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C upsmon  -a '/sbin/upsmon'"
+    hosts: franck
+  -
+    name: process - UPS - nut upsmon worker
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsmon  -a '/sbin/upsmon'"
+    hosts: franck
+    depends: process - UPS - nut upsmon master
+  -
+    name: UPS - on line power
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-ups"
+    hosts: franck
+    depends: process - UPS - nut upsd
 
  ####
   #-
@@ -2018,11 +2083,19 @@ services:
     hosts: unger
 
  ###
+  -
+    name: process - buildd
+    servicegroups: buildd
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C perl -a '/usr/bin/buildd'"
+    hosts: fano, fasch, field, finzi
+    contacts: luk, pkern, HE
+
   -
     name: process - buildd
     servicegroups: buildd
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C buildd -a '/usr/bin/buildd'"
     hostgroups: buildd
+    excludehosts: fano, fasch, field, finzi
     contacts: luk, pkern, HE
 
  ###