network service: add hosts entry back
[mirror/dsa-nagios.git] / config / nagios-master.cfg
1 # Non comment lines are YAML
2 #
3 # Strings ought to be in double quotes, but it works in most cases if they aren't :)
4 #
5 # vim:set syntax=yaml:
6
7 # TODO
8 #  - *: check munin stats collection works
9 #  - *: check backups are successful
10 #  - *: unwanted: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some)
11
12 ---
13 #############################
14 # hosts
15 #############################
16 servers:
17   # {{{ gateways
18   global:
19     hostgroups: notacomputer
20     pingable: false
21     check_command: dsa_check_always_ok
22   gw-1und1:
23     parents: gw-ubcece
24     hostgroups: notacomputer
25     pingable: false
26     check_command: dsa_check_always_ok
27   gw-1und1-sec:
28     parents: gw-ubcece
29     hostgroups: notacomputer
30     pingable: false
31     check_command: dsa_check_always_ok
32   gw-accumu:
33     address: 130.239.18.97
34     parents: gw-ubcece
35     hostgroups: layer3-infrastructure
36   gw-bytemark:
37     address: 89.16.160.116
38     parents: gw-ubcece
39     hostgroups: layer3-infrastructure
40   gw-c3sl:
41     address: 200.17.202.254
42     parents: gw-ubcece
43     hostgroups: layer3-infrastructure
44   gw-cecsit:
45     address: 150.203.164.38
46     parents: gw-ubcece
47     hostgroups: layer3-infrastructure
48   gw-arm:
49     address: 213.104.121.213
50     parents: gw-ubcece
51     hostgroups: layer3-infrastructure
52   gw-brown:
53     address: 138.16.160.1
54     parents: gw-ubcece
55     hostgroups: layer3-infrastructure
56   gw-carnet:
57     address: 161.53.160.1
58     parents: gw-ubcece
59     hostgroups: layer3-infrastructure
60   gw-conova:
61     address: 217.196.149.238
62     parents: gw-ubcece
63     hostgroups: layer3-infrastructure
64   gw-csail:
65     address: 128.31.0.1
66     parents: gw-ubcece
67     hostgroups: layer3-infrastructure
68   gw-dgi:
69     address: 93.94.132.102
70     parents: gw-ubcece
71     hostgroups: layer3-infrastructure
72     contacts: bzed
73   gw-freenet:
74     address: 62.104.23.249
75     parents: gw-ubcece
76     hostgroups: layer3-infrastructure
77   gw-gatech:
78     address: 128.61.240.1
79     parents: gw-ubcece
80     hostgroups: layer3-infrastructure
81   gw-grnet:
82     address: 194.177.211.193
83     parents: gw-ubcece
84     hostgroups: layer3-infrastructure
85   gw-isc:
86     address: 149.20.20.1
87     parents: gw-ubcece
88     hostgroups: layer3-infrastructure
89   gw-karlsruhe:
90     address: 129.143.57.177
91     parents: gw-ubcece
92     hostgroups: layer3-infrastructure
93   gw-leaseweb:
94     address: 185.17.185.190
95     parents: gw-ubcece
96     hostgroups: layer3-infrastructure
97   gw-man-da:
98     address: 82.195.75.126
99     parents: gw-ubcece
100     hostgroups: layer3-infrastructure
101   gw-marist:
102     address: 148.100.88.1
103     parents: gw-ubcece
104     hostgroups: layer3-infrastructure
105   gw-osuosl:
106     address: 140.211.166.1
107     parents: gw-ubcece
108     hostgroups: layer3-infrastructure
109   gw-rapidswitch:
110     address: 193.201.200.129
111     parents: gw-ubcece
112     hostgroups: layer3-infrastructure
113   gw-sanger:
114     address: 193.62.202.20
115     parents: gw-ubcece
116     hostgroups: layer3-infrastructure
117     contacts: tjrc1, dave
118   gw-scanplus-lobos:
119     address: 212.211.132.249
120     parents: gw-ubcece
121     hostgroups: layer3-infrastructure
122   gw-scanplus-villa:
123     address: 212.211.132.1
124     parents: gw-ubcece
125     hostgroups: layer3-infrastructure
126   gw-sil:
127     address: 86.59.118.145
128     parents: gw-ubcece
129     hostgroups: layer3-infrastructure
130   gw-ubcece:
131     address: 206.12.19.254
132     hostgroups: layer3-infrastructure
133     contacts: lfilipoz
134   gw-ugent:
135     address: 193.191.17.50
136     parents: gw-ubcece
137     hostgroups: layer3-infrastructure
138   gw-umn:
139     address: 128.101.240.222
140     parents: gw-ubcece
141     hostgroups: layer3-infrastructure
142   gw-unicamp:
143     address: 143.106.167.234
144     parents: gw-ubcece
145     hostgroups: layer3-infrastructure
146   gw-utwente:
147     address: 130.89.149.1
148     parents: gw-ubcece
149     hostgroups: layer3-infrastructure
150   gw-ynic:
151     # really janet, because ynic is stupid about firewalling
152     #address: 146.97.42.26
153     address: 146.97.41.66
154     parents: gw-ubcece
155     hostgroups: layer3-infrastructure
156   gw-zivit:
157     address: 80.245.144.3
158     parents: gw-ubcece
159     hostgroups: layer3-infrastructure
160   # }}}
161   # {{{ servers
162   # {{{ gw-1und1
163   powell:
164     address: 87.106.64.223
165     parents: gw-1und1
166     hostgroups: computers, service, acpid-hosts, wheezy
167   pkgmirror-1and1:
168     address: 213.165.95.4
169     parents: powell
170     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, no-bacula, apache-https
171   babin:
172     address: 213.165.95.6
173     parents: powell
174     hostgroups: computers, buildd, hassrvfs, kvmdomains, wheezy
175   piu-slave-1und1-01:
176     address: 213.165.95.7
177     parents: powell
178     hostgroups: computers, service, kvmdomains, wheezy
179     contacts: holger
180   # }}}
181   # {{{ gw-1und1-sec
182   schumann:
183     address: 212.227.126.54
184     parents: gw-1und1-sec
185     hostgroups: computers, acpid-hosts, service, wheezy
186   chopin:
187     address: 195.20.242.124
188     parents: schumann
189     hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, xinetd-hosts, apache-https, postgres91-hosts, wheezy
190   geo3:
191     address: 195.20.242.125
192     parents: schumann
193     hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, wheezy
194   soler:
195     address: 195.20.242.126
196     parents: schumann
197     hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains, apache2-hosts, wheezy, apache-https
198   wieck:
199     address: 195.20.242.89
200     parents: gw-1und1-sec
201     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, wheezy, security_mirror, hasvarlogfs, no-bacula
202   # }}}
203   # {{{ gw-accumu
204   pettersson:
205     address: 130.239.18.123
206     parents: gw-accumu
207     hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, wheezy, autofs
208   praetorius:
209     address: 130.239.18.121
210     parents: gw-accumu
211     hostgroups: computers, buildd, hassrvfs, wheezy
212   # }}}
213   # {{{ gw-arm
214   abel:
215     address: 217.140.96.56
216     parents: gw-arm
217     hostgroups: computers, hasbootfs, hassrvfs, porterbox, wheezy, broken_mq
218   antheil:
219     address: 217.140.96.60
220     parents: gw-arm
221     hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy, broken_mq
222   arnold:
223     address: 217.140.96.57
224     parents: gw-arm
225     hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy, broken_mq
226   arm-arm-01:
227     address: 217.140.96.58
228     parents: gw-arm
229     hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy, broken_mq
230   arm-arm-02:
231     address: 217.140.96.59
232     parents: gw-arm
233     hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy, broken_mq
234   harris:
235     address: 217.140.96.66
236     parents: gw-arm
237     hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, porterbox, broken_mq
238   hartmann:
239     address: 217.140.96.67
240     parents: gw-arm
241     hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd, broken_mq
242   hasse:
243     address: 217.140.96.68
244     parents: gw-arm
245     hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd, broken_mq
246   henze:
247     address: 217.140.96.70
248     parents: gw-arm
249     hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd, broken_mq
250   hoiby:
251     address: 217.140.96.71
252     parents: gw-arm
253     hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd, broken_mq
254   # }}}
255   # {{{ gw-brown
256   franck:
257     address: 138.16.160.12
258     parents: gw-brown
259     hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres91-hosts, spamd, acpid-hosts, uploadqueue, xinetd-hosts, apache-https, hassrvfs, wheezy
260   # }}}
261   # {{{ gw-bytemark
262   bm-bl1:
263     address: 5.153.231.241
264     parents: gw-bytemark
265     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
266   bm-bl2:
267     address: 5.153.231.242
268     parents: gw-bytemark
269     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
270   bm-bl3:
271     address: 5.153.231.243
272     parents: gw-bytemark
273     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
274   bm-bl4:
275     address: 5.153.231.244
276     parents: gw-bytemark
277     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
278   bm-bl5:
279     address: 5.153.231.245
280     parents: gw-bytemark
281     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
282   bm-bl6:
283     address: 5.153.231.246
284     parents: gw-bytemark
285     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
286   bm-bl7:
287     address: 5.153.231.247
288     parents: gw-bytemark
289     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
290   bm-bl8:
291     address: 5.153.231.248
292     parents: gw-bytemark
293     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy
294   bm-bl9:
295     address: 5.153.231.249
296     parents: gw-bytemark
297     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute, broken_mq
298   bm-bl10:
299     address: 5.153.231.250
300     parents: gw-bytemark
301     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute, broken_mq
302   bm-bl11:
303     address: 5.153.231.251
304     parents: gw-bytemark
305     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute, broken_mq
306   bm-bl12:
307     address: 5.153.231.252
308     parents: gw-bytemark
309     hostgroups: computers, bm-bl, acpid-hosts, service, wheezy, openstack-compute, broken_mq
310
311   milanollo:
312     address: 5.153.231.2
313     parents: gw-bytemark
314     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-server, xinetd-hosts
315   milanollo2:
316     address: 5.153.231.9
317     parents: milanollo
318     hostgroups: secondary-IPs
319   picconi:
320     address: 5.153.231.3
321     parents: gw-bytemark
322     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs, heavy-exim, spamd, apache-https
323   senfter:
324     address: 5.153.231.4
325     parents: gw-bytemark
326     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, no-bacula, apache-https
327   adayevskaya:
328     address: 5.153.231.5
329     parents: gw-bytemark
330     hostgroups: computers, service, kvmdomains, wheezy
331   pejacevic:
332     address: 5.153.231.6
333     parents: gw-bytemark
334     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs, apache-https
335     contacts: holger
336   piu-slave-bm-a:
337     address: 5.153.231.7
338     parents: gw-bytemark
339     hostgroups: computers, service, kvmdomains, wheezy, nfs-client, autofs
340     contacts: holger
341   binet:
342     address: 5.153.231.8
343     parents: gw-bytemark
344     hostgroups: computers, buildd, hassrvfs, kvmdomains, wheezy
345   bmdb1:
346     address: 5.153.231.10
347     parents: gw-bytemark
348     hostgroups: computers, hassrvfs, kvmdomains, wheezy, postgres91-hosts
349   ganeti-bytemark:
350     address: 82.195.75.111
351     parents: gw-bytemark
352     hostgroups: notacomputer
353   coccia:
354     address: 5.153.231.11
355     parents: ganeti-bytemark
356     hostgroups: computers, hassrvfs, kvmdomains, wheezy, autofs, nfs-client, uploadqueue, xinetd-hosts
357   backuphost:
358     address: 5.153.231.12
359     parents: ganeti-bytemark
360     hostgroups: computers, hassrvfs, kvmdomains, wheezy
361   philp:
362     address: 5.153.231.13
363     parents: ganeti-bytemark
364     hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts
365   couper:
366     address: 5.153.231.14
367     parents: ganeti-bytemark
368     hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs
369   rainier:
370     address: 5.153.231.16
371     parents: ganeti-bytemark
372     hostgroups: computers, kvmdomains, wheezy, no-bacula
373   rapoport:
374     address: 5.153.231.15
375     parents: ganeti-bytemark
376     hostgroups: computers, kvmdomains, wheezy, no-bacula
377   delfin:
378     address: 5.153.231.17
379     parents: ganeti-bytemark
380     hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs
381   wuiet:
382     address: 5.153.231.18
383     parents: ganeti-bytemark
384     hostgroups: computers, general, kvmdomains, wheezy, service, apache-https, apache2-hosts, heavy-exim, xinetd-hosts
385   dinis:
386     address: 5.153.231.19
387     parents: ganeti-bytemark
388     hostgroups: computers, general, kvmdomains, wheezy
389   donizetti:
390     address: 5.153.231.20
391     parents: ganeti-bytemark
392     hostgroups: computers, general, kvmdomains, wheezy, nfs-client, autofs
393   moszumanska:
394     address: 5.153.231.21
395     parents: ganeti-bytemark
396     contact_groups: alioth-admins
397     hostgroups: computers, general, wheezy, postgres91-hosts, apache2-hosts, acpid-hosts, apache-https, brokensamhain, no-bacula, bind9-hosts, xinetd-hosts, alioth, heavy-exim, spamd
398     no-servicegroups: true
399   dillon:
400     address: 5.153.231.22
401     parents: ganeti-bytemark
402     hostgroups: computers, general, kvmdomains, wheezy, nfs-client, autofs, hassrvfs
403   ticharich:
404     address: 5.153.231.23
405     parents: ganeti-bytemark
406     hostgroups: computers, general, kvmdomains, wheezy, nfs-client, autofs, apache2-hosts, apache-https, service, broken_https_default_vhost
407   petrova:
408     address: 5.153.231.25
409     parents: ganeti-bytemark
410     hostgroups: computers, kvmdomains, wheezy, apache2-hosts
411   oyens:
412     address: 5.153.231.26
413     parents: ganeti-bytemark
414     hostgroups: computers, kvmdomains, wheezy, apache2-hosts, openstack-controller, apache-https, broken_mq
415   barriere:
416     address: 5.153.231.27
417     parents: ganeti-bytemark
418     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, porterbox
419   quantz:
420     address: 5.153.231.28
421     parents: ganeti-bytemark
422     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, nfs-client, xinetd-hosts, heavy-exim, apache2-hosts, autofs, apache-https
423   portman:
424     address: 5.153.231.29
425     parents: ganeti-bytemark
426     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts
427   paradis:
428     address: 5.153.231.30
429     parents: ganeti-bytemark
430     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, apache-https
431   x86-bm-01:
432     address: 5.153.231.32
433     parents: ganeti-bytemark
434     hostgroups: computers, kvmdomains, wheezy, acpid-hosts, no-bacula
435   fischer:
436     address: 5.153.231.33
437     parents: ganeti-bytemark
438     hostgroups: computers, freebsd, hassrvfs, porterbox, wheezy
439   gideon:
440     address: 5.153.231.34
441     parents: ganeti-bytemark
442     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, apache-https
443   httpredir-bm-01:
444     address: 5.153.231.35
445     parents: ganeti-bytemark
446     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts
447   # }}}
448   # {{{ gw-c3sl
449   santoro:
450     address: 200.17.202.197
451     parents: gw-c3sl
452     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, xinetd-hosts, hassrvfs, wheezy, high-RTT, security_mirror, no-bacula, apache-https
453     contacts: faw
454   # }}}
455   # {{{ gw-carnet
456   lebrun:
457     address: 193.198.184.10
458     parents: gw-carnet
459     hostgroups: computers, buildd, sw-raid, hasorgfs, sparc, wheezy
460   schroeder:
461     address: 193.198.184.11
462     parents: gw-carnet
463     hostgroups: computers, buildd, sw-raid, hassrvfs, sparc, wheezy
464   # }}}
465   # {{{ gw-cecsit
466   gluck:
467     address: 150.203.164.38
468     parents: gw-cecsit
469     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hassrvfs, acpid-hosts, xinetd-hosts, wheezy, security_mirror, no-bacula, apache-https
470   # }}}
471   # {{{ gw-conova
472   sompek:
473     address: 217.196.149.225
474     parents: gw-conova
475     hostgroups: computers, buildd, hassrvfs, sw-raid, wheezy, sparc
476   stadler:
477     address: 217.196.149.226
478     parents: gw-conova
479     hostgroups: computers, buildd, hassrvfs, sw-raid, wheezy, sparc
480   # }}}
481   # {{{ gw-csail
482   senfl:
483     address: 128.31.0.51
484     parents: gw-csail
485     hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, apache2-hosts, rsyncd-hosts, xinetd-hosts, squeeze, apache-https
486   steffani:
487     address: 128.31.0.36
488     parents: gw-csail
489     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, sw-raid, acpid-hosts, hasbootfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula
490   csail-node01:
491     address: 128.31.0.16
492     parents: gw-csail
493     hostgroups: computers, service, dl360, acpid-hosts, wheezy, drbd-hosts
494   csail-node02:
495     address: 128.31.0.46
496     parents: gw-csail
497     hostgroups: computers, service, dl360, acpid-hosts, wheezy, drbd-hosts
498   # }}}
499   # {{{ gw-dgi
500   storace:
501     address: 93.94.130.161
502     parents: gw-dgi
503     hostgroups: computers, acpid-hosts, wheezy, dl380, nfs-client, hassrvfs
504   # }}}
505   # {{{ gw-gatech
506   sechter:
507     address: 128.61.240.73
508     parents: gw-gatech
509     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, sw-raid, acpid-hosts, hasbootfs, hassrvfs, xinetd-hosts, wheezy, security_mirror
510   # }}}
511   # {{{ gw-grnet
512   rautavaara:
513     address: 194.177.211.199
514     parents: gw-grnet
515     hostgroups: computers, acpid-hosts, megaraid, service, squeeze, nfs-server
516   # }}}
517   # {{{ gw-isc
518   schein:
519     address: 149.20.20.6
520     parents: gw-isc
521     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, dl360, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula
522   # }}}
523   # {{{ gw-leaseweb
524   lw01:
525     address: 185.17.185.177
526     parents: gw-leaseweb
527     hostgroups: computers, service, acpid-hosts, wheezy, dl180, nfs-server
528   lw02:
529     address: 185.17.185.178
530     parents: gw-leaseweb
531     hostgroups: computers, service, acpid-hosts, wheezy, dl180, nfs-server
532   lw03:
533     address: 185.17.185.179
534     parents: gw-leaseweb
535     hostgroups: computers, service, acpid-hosts, wheezy, dl180, nfs-server
536   lw04:
537     address: 185.17.185.180
538     parents: gw-leaseweb
539     hostgroups: computers, service, acpid-hosts, wheezy, dl180, nfs-server
540   lw07:
541     address: 185.17.185.187
542     parents: gw-leaseweb
543     hostgroups: computers,  service, acpid-hosts, wheezy, dl180, nfs-client, autofs, hassrvfs, postgres91-hosts, apache2-hosts
544   lw08:
545     address: 185.17.185.189
546     parents: gw-leaseweb
547     hostgroups: computers,  service, acpid-hosts, wheezy, dl180, nfs-client, autofs, hassrvfs
548   #, apache2-hosts
549   # }}}
550   # {{{ gw-karlsruhe
551   zemlinsky:
552     address: 129.143.160.6
553     parents: gw-karlsruhe
554     hostgroups: computers, buildd, wheezy
555     contacts: pkern
556   # }}}
557   # {{{ gw-man-da
558   ball:
559     address: 82.195.75.70
560     parents: gw-man-da
561     hostgroups: computers, buildd, hasbootfs, wheezy
562   # bartok TODO
563   czerny:
564     address: 82.195.75.109
565     parents: gw-man-da
566     hostgroups: computers, service, dl380, acpid-hosts, wheezy, drbd-hosts
567   clementi:
568     address: 82.195.75.103
569     parents: gw-man-da
570     hostgroups: computers, service, dl380, acpid-hosts, wheezy, drbd-hosts
571   bendel:
572     address: 82.195.75.100
573     parents: ganeti3
574     hostgroups: computers, service, hasbootfs, kvmdomains, hassrvfs, apache2-hosts, wheezy, postfix-hosts, heavy-postfix, acpid-hosts, apache-https, amavis-hosts, hasvarlogfs
575   master:
576     address: 82.195.75.110
577     parents: ganeti3
578     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, spamd, heavy-exim, highload
579   mipsel-manda-01:
580     address: 82.195.75.72
581     parents: gw-arm
582     hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy
583   mipsel-manda-02:
584     address: 82.195.75.74
585     parents: gw-arm
586     hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy
587   fils:
588     address: 82.195.75.89
589     parents: ganeti3
590     hostgroups: computers, freebsd, wheezy, buildd, hassrvfs
591     contacts: christoph
592   fayrfax:
593     address: 82.195.75.82
594     parents: ganeti3
595     hostgroups: computers, freebsd, wheezy, buildd, hassrvfs
596     contacts: christoph
597   vento:
598     address: 82.195.75.98
599     parents: ganeti3
600     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, apache-https, heavy-exim
601   lully:
602     address: 82.195.75.99
603     parents: ganeti3
604     hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hasvarlogfs
605   rem:
606     address: 82.195.75.68
607     parents: gw-man-da
608     hostgroups: computers, hasbootfs, hassrvfs, wheezy, no-bacula
609   draghi:
610     address: 82.195.75.106
611     parents: ganeti3
612     hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, spamd, heavy-exim, kvmdomains, xinetd-hosts, apache-https, wheezy
613   geo1:
614     address: 82.195.75.105
615     parents: ganeti3
616     hostgroups: computers, service, bind9-hosts, kvmdomains, wheezy
617   handel:
618     address: 82.195.75.104
619     parents: ganeti3
620     hostgroups: computers, service, kvmdomains, apache2-hosts, wheezy, apache-https
621   kaufmann:
622     address: 82.195.75.107
623     parents: ganeti3
624     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, kvmdomains, xinetd-hosts, wheezy
625   stockhausen:
626     address: 82.195.75.108
627     parents: ganeti3
628     hostgroups: computers, service, kvmdomains, wheezy, acpid-hosts, jetty-hosts
629   ganeti3:
630     address: 82.195.75.111
631     parents: gw-man-da
632     hostgroups: notacomputer
633   wilder:
634     address: 82.195.75.112
635     parents: ganeti3
636     hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache-https, rsyncd-hosts, xinetd-hosts
637   mailly:
638     address: 82.195.75.114
639     parents: ganeti3
640     hostgroups: computers, service, kvmdomains, wheezy, spamd, heavy-exim, mail-relay
641   denis:
642     address: 82.195.75.91
643     parents: ganeti3
644     hostgroups: computers, service, kvmdomains, wheezy, bind9-hosts
645   vogler:
646     address: 82.195.75.92
647     parents: ganeti3
648     hostgroups: computers, service, kvmdomains, wheezy
649   mipsel-manda-01:
650     address: 82.195.75.72
651     parents: gw-man-da
652     hostgroups: computers, buildd, wheezy, hassrvfs, sw-raid
653   mipsel-manda-02:
654     address: 82.195.75.74
655     parents: gw-man-da
656     hostgroups: computers, buildd, wheezy, hassrvfs, sw-raid
657   # }}}
658   # {{{ gw-marist
659   zani:
660     address: 148.100.88.22
661     parents: gw-marist
662     hostgroups: computers, buildd, hassrvfs, wheezy, incomingmailrelayed, ping-suckers
663   # }}}
664   # {{{ gw-osuosl
665   busoni:
666     address: 140.211.15.34
667     parents: gw-osuosl
668     hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, wheezy, hasvarlogfs, apache2-hosts, no-bacula, apache-https
669   byrd:
670     address: 140.211.166.20
671     parents: gw-osuosl
672     hostgroups: computers, service, dl380, acpid-hosts, wheezy
673   buxtehude:
674     address: 140.211.166.26
675     parents: byrd
676     hostgroups: computers, service, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres91-hosts, wheezy, hasvarlogfs, apache-https
677   # malo TODO
678   mayer:
679     address: 140.211.166.78
680     parents: gw-osuosl
681     hostgroups: computers, buildd, hasbootfs, wheezy
682 #  mayr:
683 #    address: 140.211.166.58
684 #    parents: gw-osuosl
685 #    hostgroups: computers, buildd, hasbootfs
686   merulo:
687     address: 140.211.166.46
688     parents: gw-osuosl
689     hostgroups: computers, porterbox, hasusrfs, wheezy
690   parry:
691     address: 140.211.15.153
692     parents: gw-osuosl
693     hostgroups: computers, wheezy, buildd, hassrvfs
694   partch:
695     address: 140.211.15.152
696     parents: gw-osuosl
697     hostgroups: computers, wheezy, hassrvfs, porterbox
698   rietz:
699     address: 140.211.166.43
700     parents: gw-osuosl
701     hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, wheezy
702     #, bosserver
703   rietz2:
704     address: 140.211.166.44
705     parents: rietz
706     hostgroups: secondary-IPs
707   # zee TODO
708   # }}}
709   # {{{ gs-rapidswitch
710   caballero:
711     address: 193.201.200.200
712     parents: gw-rapidswitch
713     hostgroups: computers, buildd, sw-raid, wheezy, hassrvfs, acpid-hosts
714   # }}}
715   # {{{ gw-sanger
716   sibelius:
717     address: 193.62.202.28
718     parents: gw-sanger
719     hostgroups: computers, acpid-hosts, postgres91-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts, hasvarlogfs
720     contacts: tjrc1, dave
721   smetana:
722     address: 193.62.202.29
723     parents: gw-sanger
724     hostgroups: computers, porterbox, sw-raid, sparc, wheezy
725     contacts: tjrc1, dave
726   # }}}
727   # {{{ gw-scanplus
728   lobos:
729     address: 212.211.132.250
730     parents: gw-scanplus-lobos
731     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula
732   villa:
733     address: 212.211.132.32
734     parents: gw-scanplus-villa
735     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula
736   # }}}
737   # {{{ gw-sil
738   eder:
739     address: 86.59.118.151
740     parents: gw-sil
741     hostgroups: computers, porterbox, wheezy, hassrvfs
742   eysler:
743     address: 86.59.118.152
744     parents: gw-sil
745     hostgroups: computers, buildd, wheezy
746   eberlin:
747     address: 86.59.118.155
748     parents: gw-sil
749     hostgroups: computers, buildd, wheezy
750   # }}}
751   # {{{ gw-ubcece
752   sw-ubcece:
753     hostgroups: layer2-infrastructure
754     contacts: lfilipoz
755     pingable: false
756     check_command: dsa_check_always_ok
757   sw-ubcece-mcld:
758     hostgroups: layer2-infrastructure
759     parents: sw-ubcece
760     contacts: lfilipoz
761     pingable: false
762     check_command: dsa_check_always_ok
763   sw-ubcece-kais:
764     hostgroups: layer2-infrastructure
765     parents: sw-ubcece
766     contacts: lfilipoz
767     pingable: false
768     check_command: dsa_check_always_ok
769   spontini:
770     address: 206.12.19.14
771     parents: sw-ubcece-mcld
772     hostgroups: computers, buildd, hasbootfs, hassrvfs, sparc, wheezy
773     contacts: lfilipoz
774   ravel:
775     address: 206.12.19.5
776     parents: sw-ubcece-kais
777     hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-client, hasorgfs, wheezy, autofs
778   dijkstra:
779     address: 206.12.19.218
780     parents: sw-ubcece-kais
781     hostgroups: computers, bl460, acpid-hosts, service, wheezy, drbd-hosts
782   pasquini:
783     address: 206.12.19.217
784     parents: sw-ubcece-kais
785     hostgroups: computers, bl460, acpid-hosts, service, wheezy, drbd-hosts
786   luchesi:
787     address: 206.12.19.214
788     parents: sw-ubcece-kais
789     hostgroups: computers, bl460, acpid-hosts, service, wheezy, drbd-hosts
790   tristano:
791     address: 206.12.19.213
792     parents: sw-ubcece-kais
793     hostgroups: computers, bl460, acpid-hosts, service, wheezy, drbd-hosts
794   boito:
795     address: 206.12.19.216
796     parents: sw-ubcece-kais
797     hostgroups: computers, bl460, acpid-hosts, service, wheezy, drbd-hosts
798   bertali:
799     address: 206.12.19.212
800     parents: sw-ubcece-kais
801     hostgroups: computers, bl460, acpid-hosts, service, wheezy, drbd-hosts
802   ganeti2:
803     address: 206.12.19.23
804     parents: sw-ubcece-kais
805     hostgroups: notacomputer
806   tchaikovsky:
807     address: 206.12.19.118
808     parents: ganeti2
809     hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains, apache-https, wheezy
810   wolkenstein:
811     address: 206.12.19.116
812     parents: ganeti2
813     hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, rsyncd-hosts, apache2-hosts, wheezy
814   brahms:
815     address: 206.12.19.115
816     parents: ganeti2
817     hostgroups: computers, buildd, hassrvfs, kvmdomains, wheezy
818   geo2:
819     address: 206.12.19.113
820     parents: ganeti2
821     hostgroups: computers, service, bind9-hosts, kvmdomains, wheezy
822   # MSA 2000 (2012i)
823   giustini:
824     address: 192.168.2.6
825     parents: dijkstra
826     hostgroups: notacomputer
827     # unless we implement runfrom for host alive checks
828     pingable: false
829     check_command: dsa_check_always_ok
830   falla:
831     address: 206.12.19.117
832     parents: ganeti2
833     hostgroups: computers, freebsd, hassrvfs, porterbox, wheezy
834   fano:
835     address: 206.12.19.110
836     parents: ganeti2
837     hostgroups: computers, freebsd, wheezy, buildd, hassrvfs
838     contacts: christoph
839   finzi:
840     address: 206.12.19.111
841     parents: ganeti2
842     hostgroups: computers, freebsd, wheezy, buildd, hassrvfs
843     contacts: christoph
844   gabrielli:
845     address: 206.12.19.17
846     parents: sw-ubcece-kais
847     hostgroups: computers, porterbox, wheezy
848   corelli:
849     address: 206.12.19.16
850     parents: sw-ubcece-kais
851     hostgroups: computers, buildd, wheezy
852   lucatelli:
853     address: 206.12.19.15
854     parents: sw-ubcece-kais
855     hostgroups: computers, buildd, wheezy
856   rossini:
857     address: 206.12.19.19
858     parents: sw-ubcece-kais
859     hostgroups: computers, dl585, acpid-hosts, service, wheezy
860   salieri:
861     address: 206.12.19.20
862     parents: sw-ubcece-kais
863     hostgroups: computers, dl585, acpid-hosts, service, wheezy
864   traetta:
865     address: 206.12.19.21
866     parents: sw-ubcece-kais
867     hostgroups: computers, dl585, acpid-hosts, service, wheezy
868 #  locke:
869 #    address: 206.12.19.120
870 #    parents: sw-ubcece-kais
871 #    hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa
872   lotti:
873     address: 206.12.19.121
874     parents: sw-ubcece-kais
875     hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hassrvfs
876   nono:
877     address: 206.12.19.123
878     parents: traetta
879     hostgroups: computers, service, kvmdomains, wheezy, heavy-exim, xinetd-hosts, apache2-hosts, apache-https, broken_https_default_vhost
880   reger:
881     address: 206.12.19.124
882     parents: ganeti2
883     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, apache-https, heavy-exim
884   danzi:
885     address: 206.12.19.125
886     parents: ganeti2
887     hostgroups: computers, service, kvmdomains, wheezy, postgres91-hosts, xinetd-hosts
888   glinka:
889     address: 206.12.19.126
890     parents: traetta
891     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs, xinetd-hosts
892   tye:
893     address: 206.12.19.129
894     parents: ganeti2
895     hostgroups: computers, service, kvmdomains, wheezy, heavy-exim, apache2-hosts, nfs-client, autofs, hassrvfs
896   elgar:
897     address: 206.12.19.130
898     parents: salieri
899     hostgroups: computers, service, kvmdomains, wheezy
900   gombert:
901     address: 206.12.19.132
902     parents: ganeti2
903     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts
904   jenkins:
905     address: 206.12.19.133
906     parents: salieri
907     hostgroups: computers, service, kvmdomains, wheezy
908   blavet:
909     address: 206.12.19.134
910     parents: ganeti2
911     hostgroups: computers, service, kvmdomains, wheezy, xinetd-hosts, nfs-client, autofs
912   diabelli:
913     address: 206.12.19.136
914     parents: traetta
915     hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, apache2-hosts, apache-https, broken_https_default_vhost
916   bizet:
917     address: 206.12.19.137
918     parents: ganeti2
919     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, no-bacula
920   lilburn:
921     address: 206.12.19.138
922     parents: ganeti2
923     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, nfs-client, autofs
924   popov:
925     address: 206.12.19.119
926     parents: ganeti2
927     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, nfs-client, autofs, heavy-exim
928   beach:
929     address: 206.12.19.140
930     parents: ganeti2
931     hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, xinetd-hosts, hassrvfs, nfs-server, rsyncd-hosts, no-bacula, apache-https
932   ullmann:
933     address: 206.12.19.141
934     parents: ganeti2
935     hostgroups: computers, service, kvmdomains, wheezy, postgres91-hosts, nfs-client, apache2-hosts, autofs, apache-https
936   sonntag:
937     address: 206.12.19.142
938     parents: ganeti2
939     hostgroups: computers, service, kvmdomains, wheezy, nfs-client, autofs
940   menotti:
941     address: 206.12.19.143
942     parents: ganeti2
943     hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, apache-https
944   muffat:
945     address: 206.12.19.146
946     parents: ganeti2
947     hostgroups: computers, service, kvmdomains, wheezy, spamd, heavy-exim, mail-relay
948   # }}}
949   # {{{ gw-ugent
950   # }}}
951   # {{{ gw-umn
952   saens:
953     address: 128.101.240.212
954     parents: gw-umn
955     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula
956   # }}}
957   # {{{ gw-unicamp
958   asgard:
959     address: 143.106.167.145
960     parents: gw-unicamp
961     hostgroups: layer3-infrastructure
962   powerpc-unicamp-01:
963     address: 143.106.167.149
964     parents: asgard
965     hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy
966   # }}}
967   # {{{ gw-utwente
968   klecker:
969     address: 130.89.148.10
970     parents: gw-utwente
971     hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, acpid-hosts, xinetd-hosts, wheezy, incomingmailrelayed2025, hassrvfs
972   klecker-ftp:
973     address: 130.89.148.12
974     parents: klecker
975     hostgroups: secondary-IPs
976   klecker-archive:
977     address: 130.89.148.13
978     parents: klecker
979     hostgroups: secondary-IPs
980   klecker-static:
981     address: 130.89.148.14
982     parents: klecker
983     hostgroups: secondary-IPs
984   # }}}
985   # {{{ gw-ynic
986   howells:
987     address: 144.32.168.75
988     parents: gw-ynic
989     hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd
990   hummel:
991     address: 144.32.168.76
992     parents: gw-ynic
993     hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd
994   porpora:
995     address: 144.32.168.78
996     parents: gw-ynic
997     hostgroups: computers, buildd, sw-raid, hassrvfs, wheezy
998   poulenc:
999     address: 144.32.168.77
1000     parents: gw-ynic
1001     hostgroups: computers, buildd, sw-raid, hassrvfs, wheezy
1002   # }}}
1003   # {{{ gw-zivit
1004   zandonai:
1005     address: 80.245.147.46
1006     parents: gw-zivit
1007     hostgroups: computers, buildd, hassrvfs, wheezy
1008   zelenka:
1009     address: 80.245.147.40
1010     parents: gw-zivit
1011     hostgroups: computers, porterbox, hassrvfs, wheezy
1012   # }}}
1013   # }}}
1014
1015 # {{{ ############################# host groups #############################
1016 hostgroups:
1017   computers:
1018     alias: computers
1019     private: 1
1020   layer2-infrastructure:
1021     alias: Layer 2 Devices
1022     extinfo-icon_image: base/switch40.png
1023     extinfo-icon_image_alt: switch
1024   layer3-infrastructure:
1025     alias: Layer 3 Devices
1026     extinfo-icon_image: base/switch40.png
1027     extinfo-icon_image_alt: router
1028   notacomputer:
1029     alias: Systems that are not really systems.  Yeah :)
1030     private: 1
1031   freebsd:
1032     alias: freebsd
1033     private: 1
1034   armhf:
1035     alias: armhf
1036     private: 1
1037   sparc:
1038     alias: sparc
1039     private: 1
1040
1041   porterbox:
1042     alias: developer accessible porter machines
1043     extinfo-icon_image: base/debian.png
1044     extinfo-icon_image_alt: Debian GNU/Linux
1045     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
1046   service:
1047     alias: machines running services
1048     extinfo-icon_image: base/debian.png
1049     extinfo-icon_image_alt: Debian GNU/Linux
1050     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
1051   buildd:
1052     alias: buildd systems
1053     extinfo-icon_image: base/debian.png
1054     extinfo-icon_image_alt: Debian GNU/Linux
1055     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
1056   general:
1057     alias: general purpose developer accessible machines
1058     extinfo-icon_image: base/debian.png
1059     extinfo-icon_image_alt: Debian GNU/Linux
1060     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
1061
1062   dl380:
1063     alias: HP DL380 hosts
1064     private: 1
1065   dl385:
1066     alias: HP DL385 hosts
1067     private: 1
1068   dl360:
1069     alias: HP DL360 hosts
1070     private: 1
1071   bl460:
1072     alias: HP BL460 blades
1073     private: 1
1074   bm-bl:
1075     alias: HP blades at bytemark
1076     private: 1
1077   dl585:
1078     alias: HP DL385 hosts
1079     private: 1
1080   dl180:
1081     alias: HP DL180
1082     private: 1
1083   dl120:
1084     alias: HP DL120
1085     private: 1
1086   sw-raid:
1087     alias: Hosts with Linux software raid
1088     private: 1
1089   aacraid:
1090     alias: Hosts with Adaptec AACraid
1091     private: 1
1092   megaraid:
1093     alias: Hosts with LSI Logic MegaRAID
1094     private: 1
1095
1096   squeeze:
1097     alias: Hosts running squeeze
1098   wheezy:
1099     alias: Hosts running wheezy
1100
1101   kvmdomains:
1102     alias: Hosts that are KVM domains
1103     private: 1
1104
1105   drbd-hosts:
1106     alias: hosts running drbd
1107   postfix-hosts:
1108     alias: hosts running postfix instead of exim
1109     private: 1
1110   heavy-exim:
1111     alias: "hosts running the full mail stuff, including clamav and postgrey"
1112     private: 1
1113   mail-relay:
1114     alias: "relays usually are hosts with more exim processes"
1115     private: 1
1116   spamd:
1117     alias: "hosts running spamassassin as daemon"
1118     private: 1
1119   heavy-postfix:
1120     alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, policyd-weight"
1121     private: 1
1122   apache2-hosts:
1123     alias: hosts running apache2
1124     private: 1
1125   jetty-hosts:
1126     alias: hosts running jetty
1127     private: 1
1128   bind9-hosts:
1129     alias: hosts running bind9
1130     private: 1
1131   # once every host runs unbound, do away with this group and check "computers" instead
1132   amavis-hosts:
1133     alias: hosts running amavis
1134     private: 1
1135   rsyncd-hosts:
1136     alias: hosts providing rsync services via xinetd
1137     private: 1
1138   xinetd-hosts:
1139     alias: hosts providing services via xinetd
1140     private: 1
1141   postgres91-hosts:
1142     alias: hosts running postgres91
1143     private: 1
1144   no-ulogd:
1145     alias: hosts not running ulogd
1146     private: 1
1147   acpid-hosts:
1148     alias: hosts running acpid
1149     private: 1
1150   uploadqueue:
1151     alias: hosts that are an anonymous ftp uploadqueue
1152     private: 1
1153   bosserver:
1154     alias: hosts running bosserver
1155     private: 1
1156   apache-https:
1157     alias: hosts with https services
1158     private: 1
1159   broken_https_default_vhost:
1160     alias: https default vhost does not say 200 OK
1161     private: 1
1162
1163   no-bacula:
1164     alias: hosts which are not being backed up with bacula
1165     private: 1
1166
1167   nfs-client:
1168     alias: hosts mounting filesystems using NFS
1169     private: 1
1170   nfs-server:
1171     alias: hosts serving filesystems using NFS
1172     private: 1
1173   autofs:
1174     alias: hosts running the automounter
1175     private: 1
1176
1177   highload:
1178     alias: "hosts on which high load is normal"
1179     private: 1
1180
1181   secondary-IPs:
1182     alias: secondary IP addresses
1183     private: 1
1184
1185   hasbootfs:
1186     alias: hosts with a /boot filesystem
1187     private: 1
1188   hassrvfs:
1189     alias: hosts with a /srv filesystem
1190     private: 1
1191   hasorgfs:
1192     alias: hosts with a /org filesystem
1193     private: 1
1194   hasvarfs:
1195     alias: hosts with a /var filesystem
1196     private: 1
1197   hasvarlogfs:
1198     alias: hosts with a /var/log filesystem
1199     private: 1
1200   hasusrfs:
1201     alias: hosts with a /usr filesystem
1202     private: 1
1203
1204   incomingmailrelayed:
1205     alias: incoming mail needs to go through a mail relay
1206     # i.e. no port 25
1207     private: 1
1208   incomingmailrelayed2025:
1209     alias: incoming mail needs to go through a mail relay
1210     # i.e. no port 25
1211     private: 1
1212
1213   brokensamhain:
1214     alias: machines that can not run samhain
1215     private: 1
1216   high-RTT:
1217     alias: machines with high round trip times
1218     private: 1
1219   ping-suckers:
1220     alias: machines that just suck at icmp
1221     private: 1
1222   alioth:
1223     alias: machines that just are just awkward
1224     private: 1
1225   openstack-compute:
1226     alias: nodes that run OpenStack compute
1227     private: 1
1228   openstack-controller:
1229     alias: nodes that run OpenStack controller
1230     private: 1
1231
1232   security_mirror:
1233     alias: hosts that are security mirrors
1234     private: 1
1235
1236   broken_mq:
1237     alias: hosts whose MQ is broken
1238     private: 1
1239 # }}}
1240 # {{{ ############################# servicegroups #############################
1241 servicegroups:
1242   diskspace:
1243     alias: diskusage checks
1244   buildd:
1245     alias: buildd checks
1246   raid:
1247     alias: raid checks
1248   backup:
1249     alias: backup checks
1250   kernel:
1251     alias: kernel checks
1252   apt:
1253     alias: apt upgrade status
1254   samhain:
1255     alias: samhain integrity status
1256   time:
1257     alias: time stuff
1258   security:
1259     alias: security
1260     servicegroup_members: apt, kernel, samhain
1261   MQ:
1262     alias: rabbitMQ stuff
1263 # }}}
1264 # {{{ ############################# services #############################
1265 services:
1266   # {{{ ### basic networking
1267   -
1268     name: PING
1269     check: "check_ping!350.0,20%!600.0,40%"
1270     hostgroups: pingable
1271     excludehostgroups: layer3-infrastructure, high-RTT, ping-suckers
1272     normal_check_interval: 5
1273     max_check_attempts: 4
1274     retry_check_interval: 1
1275   -
1276     name: PING
1277     check: "check_ping!600.0,20%!900.0,40%"
1278     hostgroups: high-RTT
1279     normal_check_interval: 5
1280     max_check_attempts: 4
1281     retry_check_interval: 1
1282   -
1283     name: PING
1284     check: "check_ping!600.0,90%!900.0,95%"
1285     hostgroups: ping-suckers
1286     normal_check_interval: 5
1287     max_check_attempts: 4
1288     retry_check_interval: 1
1289   -
1290     name: PING
1291     check: "check_ping!2000.0,60%!3000.0,80%"
1292     hostgroups: layer3-infrastructure
1293     normal_check_interval: 5
1294     max_check_attempts: 4
1295     retry_check_interval: 1
1296   # }}}
1297   # {{{ ### disk usage
1298   -
1299     name: disk usage - all
1300     servicegroups: diskspace
1301     nrpe: "/usr/lib/nagios/plugins/check_disk -w 5% -c 2%  -A -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs -X nfs --ignore-eregi-path='/home/buildd/build-tr|/var/lib/schroot/mount'"
1302     hostgroups: computers
1303     excludehosts: sibelius
1304   -
1305     name: disk usage - all
1306     servicegroups: diskspace
1307     nrpe: "/usr/lib/nagios/plugins/check_disk -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs -X nfs 95 98"
1308     hosts: sibelius
1309
1310   -
1311     name: disk usage on /
1312     servicegroups: diskspace
1313     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /"
1314     hostgroups: computers
1315   -
1316     name: disk usage on /boot
1317     servicegroups: diskspace
1318     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
1319     hostgroups: hasbootfs
1320   -
1321     name: disk usage on /var
1322     servicegroups: diskspace
1323     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
1324     hostgroups: hasvarfs
1325   -
1326     name: disk usage on /org
1327     servicegroups: diskspace
1328     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
1329     hostgroups: hasorgfs
1330   -
1331     name: disk usage on /srv
1332     servicegroups: diskspace
1333     nrpe: "/usr/lib/nagios/plugins/check_disk 95 98 /srv"
1334     hostgroups: hassrvfs
1335   -
1336     name: disk usage on /tmp
1337     servicegroups: diskspace
1338     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
1339     hosts: saens
1340   -
1341     name: disk usage on /usr
1342     servicegroups: diskspace
1343     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
1344     hostgroups: hasusrfs
1345   -
1346     name: disk usage on /var/lib/postgresql
1347     servicegroups: diskspace
1348     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql"
1349     hosts: sibelius, busoni, buxtehude, lw07
1350   -
1351     name: disk usage on /var/log
1352     servicegroups: diskspace
1353     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/log"
1354     hostgroups: hasvarlogfs
1355   -
1356     name: disk usage on /var/spool/postfix
1357     servicegroups: diskspace
1358     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/spool/postfix"
1359     hosts: bendel
1360   -
1361     name: disk usage on /srv/mirrors
1362     servicegroups: diskspace
1363     nrpe: "/usr/lib/nagios/plugins/check_disk 95 98 /srv/mirrors"
1364     hosts: sibelius
1365   -
1366     name: disk usage on /srv/snapshot.debian.org
1367     servicegroups: diskspace
1368     nrpe: "/usr/lib/nagios/plugins/check_disk 90 94 /srv/snapshot.debian.org"
1369     hosts: sibelius
1370   -
1371     name: disk usage on /srv/farm-snapshot/farm-misc
1372     servicegroups: diskspace
1373     nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-misc"
1374     hosts: sibelius
1375   -
1376     name: disk usage on /var/lib/postgresql/9.1
1377     servicegroups: diskspace
1378     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /var/lib/postgresql/9.1"
1379     hosts: franck
1380   -
1381     name: disk usage on /srv/ftp-master.debian.org
1382     servicegroups: diskspace
1383     nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/ftp-master.debian.org"
1384     hosts: franck
1385   -
1386     name: disk usage on /storage/snapshot-farm-1
1387     servicegroups: diskspace
1388     nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-1"
1389     hosts: lw01
1390   -
1391     name: disk usage on /storage/snapshot-farm-2
1392     servicegroups: diskspace
1393     nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-2"
1394     hosts: lw02
1395   -
1396     name: disk usage on /storage/snapshot-farm-3
1397     servicegroups: diskspace
1398     nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-3"
1399     hosts: lw03
1400   -
1401     name: disk usage on /storage/snapshot-farm-4
1402     servicegroups: diskspace
1403     nrpe: "/usr/lib/nagios/plugins/check_disk 98 92 /storage/snapshot-farm-4"
1404     hosts: lw04
1405   -
1406     name: disk usage on /srv/morgue.debian.org/
1407     servicegroups: diskspace
1408     nrpe: "/usr/lib/nagios/plugins/check_disk 95 90 /srv/morgue.debian.org"
1409     hosts: lw03
1410   # }}}
1411   # {{{ ### system
1412   # {{{ setup
1413   -
1414     name: setup - dsa config
1415     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1416     hostgroups: computers
1417     normal_check_interval: 60
1418     excludehostgroups: alioth
1419   -
1420     name: setup - local hostname etc-hosts
1421     nrpe: 'if getent ahosts `hostname` | grep -q 127.0; then echo "Warning: local hostname resolves to 127/8 address"; exit 1; else echo "OK: Hostname resolves to non-127/8 address."; exit 0; fi'
1422     hostgroups: computers
1423     normal_check_interval: 60
1424   # }}}
1425   # {{{ os health
1426   ####
1427   -
1428     name: users
1429     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
1430     hostgroups: computers
1431   -
1432     name: load
1433     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
1434     hostgroups: computers
1435     excludehostgroups: highload
1436   -
1437     name: load
1438     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
1439     hostgroups: highload
1440   -
1441     name: uptime check
1442     nrpe: "/usr/lib/nagios/plugins/dsa-check-uptime"
1443     hostgroups: computers
1444   -
1445     name: processes - total
1446     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
1447     hostgroups: computers
1448   -
1449     name: swap usage - percent
1450     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
1451     hostgroups: computers
1452   -
1453     name: swap usage - mb
1454     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
1455     hostgroups: computers
1456   -
1457     name: process - getty
1458     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
1459     hostgroups: computers
1460     excludehosts: zelenka, zandonai
1461   -
1462     name: processes - zombies
1463     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
1464     hostgroups: computers
1465   -
1466     name: system - available entropy
1467     nrpe: "/usr/lib/nagios/plugins/dsa-check-entropy"
1468     event_handler: dsa_event_handler_restart_ekey
1469     hostgroups: computers
1470     excludehostgroups: freebsd
1471   -
1472     name: system - filesystem check
1473     nrpe: "/usr/bin/sudo /usr/lib/nagios/plugins/dsa-check-filesystems"
1474     normal_check_interval:  60
1475     retry_check_interval: 15
1476     hostgroups: computers
1477   # }}}
1478   # {{{ backup
1479   -
1480     name: backup
1481     servicegroups: backup
1482     nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
1483     hostgroups: computers
1484     excludehosts: backuphost
1485     normal_check_interval: 60
1486     max_check_attempts: 2
1487     retry_check_interval: 5
1488   -
1489     name: backup server config
1490     servicegroups: backup
1491     nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
1492     hosts: backuphost
1493     normal_check_interval: 60
1494     max_check_attempts: 2
1495     retry_check_interval: 5
1496   -
1497     name: backup - bacula - last backup
1498     servicegroups: backup
1499     remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula $HOSTNAME$.debian.org"
1500     runfrom: dinis
1501     hostgroups: computers
1502     excludehostgroups: buildd, porterbox, no-bacula
1503     normal_check_interval:  60
1504     retry_check_interval: 15
1505   -
1506     name: backup - bacula - last full backup
1507     servicegroups: backup
1508     remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula -w 1080 -c 1560 $HOSTNAME$.debian.org F"
1509     runfrom: dinis
1510     hostgroups: computers
1511     excludehostgroups: buildd, porterbox, no-bacula
1512     normal_check_interval:  60
1513     retry_check_interval: 15
1514   -
1515     name: process - bacula-fd
1516     servicegroups: backup
1517     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'"
1518     hostgroups: computers
1519     excludehostgroups: freebsd, alioth
1520   -
1521     name: process - bacula-fd
1522     servicegroups: backup
1523     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'"
1524     hostgroups: freebsd
1525
1526   ####
1527   -
1528     name: process - acc.umu.se backup
1529     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -a 'dsmc'"
1530     hosts: sibelius
1531   # }}}
1532   # {{{ security
1533   -
1534     name: running kernel
1535     servicegroups: kernel
1536     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
1537     hostgroups: computers
1538     normal_check_interval: 60
1539     retry_check_interval: 5
1540   -
1541     name: apt - security updates
1542     servicegroups: apt
1543     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
1544     hostgroups: computers
1545     normal_check_interval:  60
1546     retry_check_interval: 15
1547   -
1548     name: installed firewall
1549     nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/ferm.conf"
1550     hostgroups: computers
1551     excludehostgroups: freebsd
1552   -
1553     name: puppetized firewall
1554     nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/conf.d/defs.conf"
1555     hostgroups: computers
1556     excludehostgroups: freebsd
1557   -
1558     name: process - ulogd
1559     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
1560     hostgroups: computers
1561     excludehostgroups: freebsd, sparc
1562   -
1563     name: unexpected process - ulogd
1564     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
1565     hostgroups: freebsd, sparc
1566   ####
1567   -
1568     name: process - samhain
1569     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'"
1570     hostgroups: computers
1571     excludehostgroups: brokensamhain
1572   -
1573     name: samhain
1574     servicegroups: samhain
1575     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/samhain"
1576     hostgroups: computers
1577     depends: process - samhain
1578     normal_check_interval: 60
1579     retry_check_interval: 5
1580     excludehostgroups: brokensamhain
1581   -
1582     name: processes - samhain zombies
1583     nrpe: "/usr/lib/nagios/plugins/check_procs 3 6 -s Z -u root -a samhain"
1584     event_handler: dsa_event_handler_restart_samhain
1585     hostgroups: computers
1586     excludehostgroups: brokensamhain
1587   # }}}
1588   # {{{ logging
1589   -
1590     name: process - syslog-ng
1591     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng  -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'"
1592     hostgroups: computers
1593     excludehostgroups: freebsd
1594
1595   -
1596     name: process - syslog-ng
1597     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng  -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'"
1598     hostgroups: freebsd
1599
1600   -
1601     name: remote logging on lotti
1602     remotecheck: "/usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$"
1603     runfrom: lotti
1604     hostgroups: computers
1605     excludehostgroups: alioth
1606   -
1607     name: remote logging on lully
1608     remotecheck: "/usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$"
1609     runfrom: lully
1610     hostgroups: computers
1611     excludehostgroups: alioth
1612   # }}}
1613   # {{{ base service
1614   -
1615     name: process - sshd
1616     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
1617     hostgroups: computers
1618   -
1619     name: "network service - sshd"
1620     check: dsa_check_ssh
1621     hostgroups: computers
1622     depends: process - sshd
1623     normal_check_interval:  60
1624     notification_interval: 1440
1625   ####
1626   -
1627     name: network service - nrpe
1628     check: check_tcp!5666
1629     hostgroups: computers
1630     max_check_attempts: -2
1631     notification_interval: 1440
1632   -
1633     name: process - nrpe
1634     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d'"
1635     hostgroups: computers
1636     max_check_attempts: -1
1637     depends: network service - nrpe
1638   ###
1639   -
1640     name: process - munin-node
1641     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
1642     hostgroups: computers
1643     excludehostgroups: freebsd, armhf
1644   -
1645     name: process - munin-node
1646     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C perl -a '/usr/bin/perl -wT /usr/sbin/munin-node'"
1647     hostgroups: freebsd
1648   -
1649     name: process - munin-node
1650     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C munin-node -a 'munin-node'"
1651     hostgroups: wheezy
1652     excludehostgroups: freebsd
1653   -
1654     name: network service - munin-node
1655     check: check_tcp!4949
1656     hostgroups: computers
1657     depends: process - munin-node
1658   ###
1659   -
1660     name: process - ntpd
1661     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -p 1 -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
1662     hostgroups: computers
1663     servicegroups: time
1664   -
1665     name: network service - ntp
1666     check: dsa_check_ntp
1667     hostgroups: computers
1668     depends: process - ntpd
1669     servicegroups: time
1670   ###
1671   -
1672     name: network service - time
1673     check: dsa_check_time
1674     hosts:
1675     depends: process - xinetd
1676     servicegroups: time
1677   ###
1678   -
1679     name: process - atd
1680     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
1681     hostgroups: computers
1682   ###
1683   -
1684     name: process - cron
1685     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C cron -a /usr/sbin/cron"
1686     hostgroups: computers
1687   ###
1688   -
1689     name: process - ud-replicated
1690     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C ud-replicated -a '/usr/bin/python /usr/bin/ud-replicated'"
1691     hostgroups: computers
1692     excludehostgroups: squeeze, freebsd, alioth
1693   -
1694     name: process - ud-replicated
1695     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C python2.7 -a '/usr/bin/python /usr/bin/ud-replicated'"
1696     hostgroups: freebsd
1697   ###
1698   -
1699     name: process - monit
1700     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
1701     hostgroups: squeeze
1702   -
1703     name: process - monit
1704     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/bin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
1705     hostgroups: computers
1706     excludehostgroups: squeeze, alioth
1707   ###
1708   -
1709     name: MQ connection on rainier
1710     servicegroups: MQ
1711     remotecheck: "/usr/lib/nagios/plugins/dsa-check-mq-connection $HOSTNAME$ ud dsa"
1712     runfrom: rainier
1713     hostgroups: computers
1714     normal_check_interval:  60
1715     retry_check_interval: 15
1716     excludehostgroups: alioth, broken_mq
1717   -
1718     name: MQ connection on rapoport
1719     servicegroups: MQ
1720     remotecheck: "/usr/lib/nagios/plugins/dsa-check-mq-connection $HOSTNAME$ ud dsa"
1721     runfrom: rapoport
1722     hostgroups: computers
1723     normal_check_interval:  60
1724     retry_check_interval: 15
1725     excludehostgroups: alioth, broken_mq
1726   ###
1727   -
1728     name: local resolver
1729     nrpe: "/usr/lib/nagios/plugins/dsa-check-resolver www.debian.org www.google.com"
1730     hostgroups: computers
1731     normal_check_interval: 60
1732   -
1733     name: process - unbound
1734     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u unbound -C unbound -a '/usr/sbin/unbound'"
1735     hostgroups: computers
1736     excludehostgroups: alioth
1737   ###
1738   -
1739     name: process - uptimed
1740     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1741     hostgroups: computers
1742   ###
1743   -
1744     name: process - udevd
1745     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C udevd -a 'udevd'"
1746     hostgroups: computers
1747     excludehostgroups: freebsd
1748   -
1749     name: unexpected process - udev
1750     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
1751     hostgroups: freebsd
1752   ###
1753   -
1754     name: process - acpid
1755     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
1756     hostgroups: acpid-hosts
1757   -
1758     name: unexpected process - acpid
1759     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
1760     hostgroups: computers
1761     excludehostgroups: acpid-hosts, kvmdomains
1762   ###
1763   -
1764     name: process - xinetd
1765     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'"
1766     hostgroups: xinetd-hosts
1767   -
1768     name: unwanted process - xinetd
1769     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1770     hostgroups: computers
1771     excludehostgroups: xinetd-hosts
1772   ###
1773   -
1774     name: process - stunnel4 - puppet-ekeyd
1775     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/puppet-ekeyd.conf'"
1776     hostgroups: squeeze, wheezy
1777     excludehostgroups: freebsd, alioth
1778   # }}}
1779   # {{{ anti-services
1780   -
1781     name: ganeti - job watcher paused
1782     nrpe: "/usr/lib/nagios/plugins/negate /usr/lib/nagios/plugins/dsa-check-file -f /var/lib/ganeti/watcher.pause"
1783     hostgroups: computers
1784   -
1785     name: unwanted process - irqbalance
1786     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1787     hostgroups: computers
1788   -
1789     name: unwanted process - openvpn
1790     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C openvpn"
1791     hostgroups: computers
1792     normal_check_interval: 120
1793   -
1794     name: unwanted process - gkrellmd
1795     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1796     hostgroups: computers
1797   -
1798     name: unwanted process - rpc.statd
1799     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1800     hostgroups: computers
1801     excludehostgroups: nfs-client, nfs-server
1802   -
1803     name: unwanted process - inetd
1804     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1805     hostgroups: computers
1806     excludehosts: abel
1807   -
1808     name: unwanted process - snmpd
1809     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1810     hostgroups: computers
1811   # }}}
1812   # {{{ ssl certs
1813   -
1814     name: "host SSL cert"
1815     nrpe: "if [ -e /etc/ssl/certs/thishost.pem ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/certs/thishost.pem; else echo 'No thishost.pem on this host.'; fi"
1816     hostgroups: computers
1817   # }}}
1818   # {{{ HW health/raid
1819   -
1820     name: process - mdadm monitor
1821     servicegroups: raid
1822     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan'"
1823     hostgroups: sw-raid
1824     excludehostgroups: wheezy
1825   -
1826     # wheezy:
1827     name: process - mdadm monitor
1828     servicegroups: raid
1829     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan'"
1830     hostgroups: sw-raid
1831     excludehostgroups: squeeze
1832   -
1833     name: RAID - sw raid
1834     servicegroups: raid
1835     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1836     hostgroups: sw-raid
1837   ###
1838   -
1839     name: HW - hpacucli status
1840     servicegroups: raid
1841     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1842     normal_check_interval: 120
1843     hostgroups: dl385, dl380, dl360, bl460, dl180
1844     excludehosts: schein, rietz
1845   -
1846     name: HW - hpacucli status
1847     servicegroups: raid
1848     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-controller-ok --ignore-controller='P700m'"
1849     normal_check_interval: 120
1850     hostgroups: bm-bl
1851   -
1852     name: HW - hpacucli status
1853     servicegroups: raid
1854     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-battery"
1855     normal_check_interval: 120
1856     hosts: schein, rietz
1857   -
1858     name: HW - hpacucli enclosure status
1859     servicegroups: raid
1860     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli-enclosure 1 1E:1"
1861     normal_check_interval: 120
1862     hosts: franck
1863   -
1864     name: HW - hpacucli status
1865     servicegroups: raid
1866     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --ignore-transfer-speed=1I:1:1 --ignore-transfer-speed=1I:1:2"
1867     normal_check_interval: 120
1868     hostgroups: dl585
1869   ###
1870 #  -
1871 #    name: HW - edac status
1872 #    nrpe: "/usr/lib/nagios/plugins/dsa-check-edac"
1873 #    normal_check_interval: 120
1874     #hostgroups: computers
1875     #excludehosts: villa, lobos, senfl, schein
1876   -
1877     name: HW - hpasmcli status
1878     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm"
1879     normal_check_interval: 120
1880     hostgroups: dl385, dl380, dl360, bl460, dl585, bm-bl
1881     excludehosts: villa, lobos, senfl, schein, storace
1882   -
1883     name: HW - hpasmcli status
1884     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant"
1885     normal_check_interval: 120
1886     hosts: villa
1887   -
1888     name: HW - hpasmcli status
1889     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant  --ignore-failed='PS2'"
1890     normal_check_interval: 120
1891     hosts: lobos
1892   -
1893     name: HW - hpasmcli status
1894     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant"
1895     normal_check_interval: 120
1896     hosts: senfl, schein
1897   -
1898     name: HW - hpasmcli status
1899     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-ignore-not-present"
1900     normal_check_interval: 120
1901     hosts: storace
1902   ###
1903   -
1904     name: RAID - 3ware
1905     servicegroups: raid
1906     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1907     hosts: powell
1908   ###
1909   -
1910     name: RAID - aacraid
1911     servicegroups: raid
1912     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-aacraid"
1913     hostgroups: aacraid
1914   ###
1915   -
1916     name: RAID - megaraid
1917     servicegroups: raid
1918     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megaraid"
1919     hostgroups: megaraid
1920   ###
1921   -
1922     name: RAID - DRBD
1923     servicegroups: raid
1924     nrpe: "/usr/lib/nagios/plugins/dsa-check-drbd -d All"
1925     hostgroups: drbd-hosts
1926   # }}}
1927   # }}}
1928   # {{{ ### mail stuff
1929   # {{{ exim processes and mailq
1930   -
1931     name: process - exim
1932     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
1933     hostgroups: computers
1934     excludehostgroups: postfix-hosts, mail-relay
1935     excludehosts: master, busoni, quantz, buxtehude
1936   -
1937     name: process - exim
1938     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
1939     hostgroups: mail-relay
1940   -
1941     name: process - exim - total
1942     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
1943     hostgroups: computers
1944     excludehostgroups: postfix-hosts
1945     excludehosts: master, busoni, quantz, buxtehude
1946   -
1947     name: process - exim
1948     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
1949     hosts: master, busoni, quantz, buxtehude
1950   -
1951     name: mail queue
1952     nrpe: "/usr/lib/nagios/plugins/check_mailq -M exim -w 1000 -c 2000"
1953     hostgroups: heavy-exim
1954   # }}}
1955   # {{{ clamav
1956   -
1957     name: process - clamav - clamd
1958     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
1959     hostgroups: heavy-exim, heavy-postfix
1960   -
1961     name: service - clamav
1962     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
1963     hostgroups: heavy-exim, heavy-postfix
1964     depends: process - clamav - clamd
1965   -
1966     name: process - clamav - freshclam
1967     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
1968     hostgroups: heavy-exim, heavy-postfix
1969   -
1970     name: unwanted process - clamav
1971     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
1972     hostgroups: computers
1973     excludehostgroups: heavy-exim, heavy-postfix
1974   -
1975     name: unwanted process - freshclam
1976     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
1977     hostgroups: computers
1978     excludehostgroups: heavy-exim, heavy-postfix
1979   # }}}
1980   # {{{ anti-spam
1981   -
1982     name: process - spamd - master
1983     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
1984     hostgroups: spamd
1985     excludehosts: picconi
1986   -
1987     name: process - spamd - master
1988     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
1989     hosts: picconi
1990   -
1991     name: process - spamd - master
1992     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
1993     hosts: bendel
1994   -
1995     name: process - spamd - child
1996     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
1997     hosts: bendel
1998     hostgroups: spamd
1999     depends: process - spamd - master
2000   #
2001   -
2002     name: process - spamd - master
2003     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
2004     hosts: buxtehude
2005   -
2006     name: process - spamd - child
2007     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
2008     hosts: buxtehude
2009   #
2010   -
2011     name: unwanted process - spamd
2012     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
2013     hostgroups: computers
2014     excludehostgroups: spamd
2015     excludehosts: bendel, busoni, buxtehude
2016
2017   -
2018     name: unwanted process - greylistd
2019     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
2020     hostgroups: computers
2021
2022   ###
2023   -
2024     name: process - postgrey
2025     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'"
2026     hostgroups: heavy-exim
2027   -
2028     name: process - postgrey
2029     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000'"
2030     hostgroups: heavy-postfix
2031   #
2032   -
2033     name: unwanted process - postgrey
2034     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
2035     hostgroups: computers
2036     excludehostgroups: heavy-postfix, heavy-exim
2037   ###
2038   -
2039     name: process - amavis - master
2040     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -a 'amavisd-new (master)'"
2041     hostgroups: amavis-hosts
2042   -
2043     name: process - amavis - all
2044     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -a 'amavisd-new '"
2045     hostgroups: amavis-hosts
2046     depends: process - amavis - master
2047   #
2048   -
2049     name: unwanted process - amavis
2050     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
2051     hostgroups: computers
2052     excludehostgroups: amavis-hosts
2053   ###
2054   -
2055     name: process - weightd - master
2056     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -a 'policyd-weight (master)'"
2057     hostgroups: heavy-postfix, alioth
2058   -
2059     name: process - weightd - cache
2060     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -a 'policyd-weight (cache)'"
2061     hostgroups: heavy-postfix, alioth
2062     depends: process - weightd - master
2063   -
2064     name: process - weightd - child
2065     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -a 'policyd-weight (child)'"
2066     hostgroups: heavy-postfix, alioth
2067     depends: process - weightd - master
2068   ###
2069   -
2070     name: unwanted process - policyd-weight
2071     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
2072     hostgroups: computers
2073     excludehostgroups: heavy-postfix, alioth
2074   # }}}
2075   # {{{ postfix
2076   ###
2077   -
2078     name: process - postfix - master
2079     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
2080     hostgroups: postfix-hosts
2081   -
2082     name: process - postfix - qmgr
2083     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
2084     hostgroups: postfix-hosts
2085     depends: process - postfix - master
2086   -
2087     name: process - postfix - pickup
2088     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
2089     hostgroups: postfix-hosts
2090     depends: process - postfix - master
2091   -
2092     name: process - postfix - anvil
2093     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
2094     hostgroups: postfix-hosts
2095     depends: process - postfix - master
2096
2097   -
2098     name: process - postfix - trivial-rewrite
2099     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C trivial-rewrite -a 'trivial-rewrite -n rewrite -t unix -u -c'"
2100     hostgroups: postfix-hosts
2101     depends: process - postfix - master
2102   -
2103     name: process - postfix - proxymap
2104     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
2105     hostgroups: postfix-hosts
2106     depends: process - postfix - master
2107   -
2108     name: process - postfix - cleanup
2109     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
2110     hostgroups: postfix-hosts
2111     depends: process - postfix - master
2112   -
2113     name: process - postfix - local
2114     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
2115     hostgroups: postfix-hosts
2116     depends: process - postfix - master
2117
2118   -
2119     name: network service local - smtps cert
2120     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
2121     hostgroups: postfix-hosts
2122     depends: process - postfix - master
2123     normal_check_interval: 120
2124   # }}}
2125   # {{{ mail - network service
2126   -
2127     name: network service - smtp
2128     check: dsa_check_smtp
2129     hostgroups: computers
2130     excludehostgroups: postfix-hosts, incomingmailrelayed, incomingmailrelayed2025
2131     depends: process - exim
2132
2133   -
2134     name: network service - smtp
2135     check: dsa_check_smtp
2136     hostgroups: postfix-hosts
2137     depends: process - postfix - master
2138   -
2139     name: network service - submission
2140     check: dsa_check_smtp_port!587
2141     hostgroups: incomingmailrelayed
2142     depends: process - exim
2143   -
2144     name: network service - smtp 2025
2145     check: dsa_check_smtp_port!2025
2146     hostgroups: incomingmailrelayed2025
2147     depends: process - exim
2148   # }}}
2149   # }}}
2150   # {{{ ### host specific services
2151   # {{{ HTTP
2152   -
2153     name: process - apache2 - master
2154     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a /usr/sbin/apache2"
2155     hostgroups: apache2-hosts
2156   -
2157     name: process - apache2 - worker
2158     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -a /usr/sbin/apache2"
2159     hostgroups: apache2-hosts
2160     depends: process - apache2 - master
2161   -
2162     name: unwanted process - apache2
2163     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C apache2"
2164     hostgroups: computers
2165     excludehostgroups: apache2-hosts
2166
2167   -
2168     name: network service - http
2169     check: check_http
2170     hostgroups: apache2-hosts
2171     excludehosts: klecker
2172     depends: process - apache2 - master
2173   -
2174     name: network service - http
2175     check: check_http
2176     depends: klecker:process - apache2 - master
2177     hosts: klecker-ftp
2178
2179   # keyserver on kaufmann
2180   -
2181     name: network service - http keyserver
2182     check: dsa_check_http_port!11371
2183     hosts: kaufmann
2184     depends: process - apache2 - master
2185
2186   # https on various hosts
2187   -
2188     name: network service - https
2189     check: check_https
2190     hostgroups: apache-https
2191     excludehosts: handel,menotti
2192     excludehostgroups: broken_https_default_vhost
2193     depends: "process - apache2 - master"
2194     normal_check_interval: 120
2195   -
2196     name: network service - https
2197     check: dsa_check_https_want_auth
2198     hosts: handel,menotti
2199     depends: "process - apache2 - master"
2200     normal_check_interval: 120
2201   -
2202     name: network service - https
2203     check: dsa_check_https_any_status
2204     hostgroups: broken_https_default_vhost
2205     depends: "process - apache2 - master"
2206     normal_check_interval: 120
2207   -
2208     name: network service - https cert
2209     check: dsa_check_cert!443
2210     hostgroups: apache-https
2211     depends: network service - https
2212     normal_check_interval: 60
2213   -
2214     name: unwanted network service - https
2215     check: dsa_check_port_closed!443
2216     hostgroups: apache2-hosts
2217     excludehostgroups: apache-https
2218     # ravel does ssh on port 443
2219     excludehosts: ravel
2220     normal_check_interval: 60
2221   # }}}
2222   # {{{ FTP
2223   -
2224     name: network service - ftp
2225     check: check_ftp
2226     hostgroups: uploadqueue, security_mirror
2227     excludehosts: klecker
2228   -
2229     name: network service - ftp
2230     check: check_ftp
2231     hosts: klecker-ftp
2232     depends: klecker:process - xinetd
2233   # }}}
2234   # {{{ postgres
2235   -
2236     name: unwanted process - postgresql
2237     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres"
2238     hostgroups: computers
2239     excludehostgroups: postgres91-hosts
2240   -
2241     name: unwanted process - postgresql 9.0
2242     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'"
2243     hostgroups: computers
2244   -
2245     name: process - postgresql91 - master
2246     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.1/bin/postgres'"
2247     hostgroups: postgres91-hosts
2248   -
2249     name: postgresql backups
2250     nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg"
2251     hosts: backuphost
2252   # }}}
2253   # {{{ power
2254 #  -
2255 #    name: process - UPS - nut usbhid-ups - ups1
2256 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C usbhid-ups  -a '/lib/nut/usbhid-ups -a ups1'"
2257 #    hosts: franck
2258 #  -
2259 #    name: process - UPS - nut upsd
2260 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsd  -a '/sbin/upsd'"
2261 #    hosts: franck
2262 #  -
2263 #    name: process - UPS - nut upsmon master
2264 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C upsmon  -a '/sbin/upsmon'"
2265 #    hosts: franck
2266 #  -
2267 #    name: process - UPS - nut upsmon worker
2268 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsmon  -a '/sbin/upsmon'"
2269 #    hosts: franck
2270 #    depends: process - UPS - nut upsmon master
2271 #  -
2272 #    name: UPS - on line power
2273 #    nrpe: "/usr/lib/nagios/plugins/dsa-check-ups"
2274 #    hosts: franck
2275 #    depends: process - UPS - nut upsd
2276   # }}}
2277   # {{{ buildd
2278   -
2279     name: process - buildd
2280     servicegroups: buildd
2281     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C perl -a '/usr/bin/buildd'"
2282     hosts: fano, finzi, fils, fayrfax
2283     contact_groups: buildd
2284   -
2285     name: process - buildd
2286     servicegroups: buildd
2287     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C buildd -a '/usr/bin/buildd'"
2288     hostgroups: buildd
2289     excludehosts: fano, finzi, fils, fayrfax
2290     contact_groups: buildd
2291   -
2292     name: processes - zombie schroot
2293     nrpe: "(/usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0 > /dev/null || /usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0) && /usr/lib/nagios/plugins/check_procs -a schroot -s ZNs -c 0"
2294     hostgroups: buildd
2295     contact_groups: +buildd
2296     normal_check_interval: 5
2297     max_check_attempts: 24
2298     retry_check_interval: 5
2299   -
2300     name: processes - lvcreate
2301     nrpe: "/usr/lib/nagios/plugins/check_procs -m 'ELAPSED' -c 500 -C lvcreate -u root -a 'lvcreate'"
2302     hostgroups: buildd
2303     contact_groups: +buildd
2304   # }}}
2305   # {{{ NFS Stuff
2306   -
2307     name: process - statd
2308     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
2309     hostgroups: nfs-client, nfs-server
2310   -
2311     name: process - nfsd
2312     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
2313     hostgroups: nfs-server
2314   -
2315     name: process - lockd
2316     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C lockd -a '[lockd]'"
2317     hostgroups: nfs-server
2318   -
2319     name: process - mountd
2320     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'"
2321     hostgroups: nfs-server
2322   #
2323   -
2324     name: process - automount
2325     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C automount -a '/usr/sbin/automount'"
2326     hostgroups: autofs
2327   -
2328     name: unwanted process - automount
2329     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C automount"
2330     hostgroups: computers
2331     excludehostgroups: autofs
2332   # }}}
2333   # {{{ mirroring
2334   -
2335     name: mirror sync - bugs
2336     check: "dsa_check_mirrorsync_skew!bugs.debian.org!project/trace/bugs-master.debian.org!120:600"
2337     hosts: global
2338   -
2339     name: mirror sync - security
2340     check: "dsa_check_mirrorsync_skew!security-nagios.debian.org!project/trace/security-master.debian.org!150:3600"
2341     hosts: global
2342   -
2343     name: mirror sync - packages
2344     check: "dsa_check_mirrorsync_skew!packages.debian.org!Pics/.trace!3600:57600"
2345     hosts: global
2346     normal_check_interval: 15
2347     max_check_attempts: 5
2348     retry_check_interval: 5
2349   -
2350     name: mirror sync - snapshot
2351     check: "dsa_check_mirrorsync_skew!snapshot.debian.org!project/trace/snapshot-master.debian.org!3600:28800"
2352     hosts: global
2353     normal_check_interval: 15
2354     max_check_attempts: 5
2355     retry_check_interval: 5
2356   # }}}
2357   # {{{ DNS
2358   -
2359     name: process - named
2360     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
2361     hostgroups: bind9-hosts
2362   -
2363     name: network service - dns
2364     check: check_dns
2365     hostgroups: bind9-hosts
2366     depends: process - named
2367   -
2368     name: unwanted process - named
2369     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
2370     hostgroups: computers
2371     excludehostgroups: bind9-hosts
2372   ###
2373   -
2374     name: DNS SOA sync - debian.org
2375     check: "dsa_check_soas_add!denis.debian.org!debian.org"
2376     hosts: global
2377   -
2378     name: DNS SOA sync - debian.net
2379     check: "dsa_check_soas_add!denis.debian.org!debian.net"
2380     hosts: global
2381   -
2382     name: DNS SOA sync - debian.com
2383     check: "dsa_check_soas_add!denis.debian.org!debian.com"
2384     hosts: global
2385   -
2386     name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa
2387     check: "dsa_check_soas_add!denis.debian.org!144-28.118.59.86.in-addr.arpa"
2388     hosts: global
2389   -
2390     name: DNS SOA sync - alioth.debian.org
2391     check: "dsa_check_soas_add!denis.debian.org!alioth.debian.org"
2392     hosts: global
2393   -
2394     name: DNS - delegation and signature expiry
2395     hosts: global
2396     remotecheck: "/usr/lib/nagios/plugins/dsa-check-zone-rrsig-expiration-many --warn 20d --critical 7d --geozonedir /srv/dns.debian.org/repositories/auto-dns/zones /srv/dns.debian.org/repositories/domains"
2397     runfrom: denis
2398   -
2399     name: DNS - security delegations
2400     hosts: global
2401     remotecheck: "/usr/lib/nagios/plugins/dsa-check-dnssec-delegation --dir /srv/dns.debian.org/repositories/domains --dir /srv/dns.debian.org/repositories/auto-dns/zones check-header"
2402     runfrom: denis
2403   -
2404     name: DNS - key coverage
2405     hosts: global
2406     remotecheck: "/usr/lib/nagios/plugins/dsa-check-statusfile /srv/dns.debian.org/var/nagios/coverage"
2407     runfrom: denis
2408   -
2409     name: DNS - DS expiry
2410     hosts: global
2411     remotecheck: "/usr/lib/nagios/plugins/dsa-check-statusfile /srv/dns.debian.org/var/nagios/ds"
2412     runfrom: denis
2413   # }}}
2414   # {{{ storage
2415   -
2416     name: ping alive check
2417     remotecheck: "/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 50,10% -c 200,30%"
2418     runfrom: dijkstra
2419     hosts: giustini
2420     normal_check_interval: 5
2421     max_check_attempts: 4
2422     retry_check_interval: 1
2423   -
2424     name: Overall Unit Status
2425     remotecheck: "/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C public -P 2c -o connUnitStatus -n -c 3 -w 3"
2426     runfrom: dijkstra
2427     hosts: giustini
2428   -
2429     name: event log
2430     remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=9966 $HOSTADDRESS$ public"
2431     runfrom: dijkstra
2432     hosts: giustini
2433   # }}}
2434   # {{{ porterbox
2435   -
2436     name: current chroots
2437     nrpe: "/usr/lib/nagios/plugins/dsa-check-dchroots-current"
2438     hostgroups: porterbox
2439     normal_check_interval:  60
2440     retry_check_interval: 15
2441   # }}}
2442   # {{{ openstack
2443   -
2444     name: process - openstack - memcached
2445     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nobody -C memcached -a '/usr/bin/memcached -m 128 -p 11211 -u nobody -l 0.0.0.0'"
2446     hostgroups: openstack-controller
2447   -
2448     name: process - openstack - glance-registry
2449     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u glance -C glance-registry -a '/usr/bin/python /usr/bin/glance-registry'"
2450     hostgroups: openstack-controller
2451   -
2452     name: process - openstack - nova-api
2453     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-api -a '/usr/bin/python /usr/bin/nova-api --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-api.log'"
2454     hostgroups: openstack-controller
2455   -
2456     name: process - openstack - nova-compute
2457     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-compute -a '/usr/bin/python /usr/bin/nova-compute --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-compute.log --config-file=/etc/nova/nova-compute.conf'"
2458     hostgroups: openstack-compute
2459   -
2460     name: process - openstack - nova-cert
2461     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-cert -a '/usr/bin/python /usr/bin/nova-cert --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-cert.log'"
2462     hostgroups: openstack-controller
2463   -
2464     name: process - openstack - nova-conductor
2465     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -C nova-conductor -a '/usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-conductor.log'"
2466     hostgroups: openstack-controller
2467   -
2468     name: process - openstack - nova-consoleauth
2469     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -a '/usr/bin/python /usr/bin/nova-consoleauth --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-consoleauth.log'"
2470     hostgroups: openstack-controller
2471   -
2472     name: process - openstack - nova-scheduler
2473     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -a '/usr/bin/python /usr/bin/nova-scheduler --config-file=/etc/nova/nova.conf --log-file /var/log/nova/nova-scheduler.log'"
2474     hostgroups: openstack-controller
2475   -
2476     name: process - openstack - nova-spicehtml5proxy
2477     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u nova -a '/usr/bin/python /usr/bin/nova-spicehtml5proxy --log-file /var/log/nova/nova-consoleproxy.log'"
2478     hostgroups: openstack-controller
2479   -
2480     name: process - openstack - neutron-server
2481     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u neutron -C neutron-server -a '/usr/bin/python2.7 /usr/bin/neutron-server --config-file=/etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file=/var/log/neutron/neutron-server.log'"
2482     hostgroups: openstack-controller
2483   # }}}
2484   # {{{ misc
2485   -
2486     name: process - rngd
2487     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
2488     hostgroups: dl385
2489   ###
2490   -
2491     name: process - slapd
2492     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:50 -u openldap -C slapd -a '/usr/sbin/slapd -h ldap:/// ldaps:/// -g openldap -u openldap'"
2493     hosts: draghi
2494   -
2495     name: network service - ldaps cert
2496     check: dsa_check_cert!636
2497     depends: process - slapd
2498     normal_check_interval: 60
2499     hosts: draghi
2500   ###
2501   -
2502     name: network service - finger
2503     check: check_tcp!79
2504     hosts: draghi
2505     depends: process - xinetd
2506   ###
2507   -
2508     name: network service - rsync
2509     check: check_tcp!873
2510     hostgroups: rsyncd-hosts
2511     depends: process - xinetd
2512     excludehosts: rietz
2513   -
2514     name: network service - rsync
2515     check: check_tcp!873
2516     hosts: rietz2
2517     depends: rietz:process - xinetd
2518   -
2519     name: network service - rsync
2520     check: check_tcp!873
2521     hosts: milanollo2
2522     depends: milanollo:process - xinetd
2523   ###
2524   -
2525     name: process - icinga
2526     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'"
2527     hosts: tchaikovsky
2528   ###
2529   -
2530     name: process - jetty - master
2531     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a 'jsvc.exec'"
2532     hostgroups: jetty-hosts
2533   -
2534     name: process - jetty - worker
2535     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u jetty -a 'jsvc.exec -user jetty'"
2536     hostgroups: jetty-hosts
2537     depends: process - jetty - master
2538   ###
2539   -
2540     name: process - debianqueued
2541     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u dak-unpriv -C debianqueued"
2542     hostgroups: uploadqueue
2543   ####
2544   -
2545     name: network service - gobby
2546     check: check_tcp!6523
2547     hosts: gombert
2548     contact_groups: gobby
2549   ####
2550   -
2551     name: puppetmaster cert
2552     nrpe: "/usr/lib/nagios/plugins/dsa-check-cert-expire /var/lib/puppet/ssl/certs/ca.pem"
2553     hosts: handel
2554     normal_check_interval: 60
2555     max_check_attempts: 2
2556     retry_check_interval: 5
2557   # }}}
2558 # }}}
2559
2560 # vim: set ts=2 sw=2 et ai si fdm=marker: