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