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