megaraid checks on grieg and rautavaara
[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 #  - spohr: hpasmd
9 #  - *: mailq
10 #  - *: check munin stats collection works
11 #  - *: check backups are successful
12 #  - *: unwanted: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some)
13 #  - mundy: salinfo_decode
14
15 # down:
16 #  - sarti
17 #  - leisner
18
19 ---
20 #############################
21 # hosts
22 #############################
23 servers:
24   gw-man-da:
25     address: 82.195.75.126
26     parents: gw-ubc
27     hostgroups: routing-infrastructure
28     contacts: joerg, bzed
29   gw-man-da2:
30     address: 82.195.75.46
31     parents: gw-ubc
32     hostgroups: routing-infrastructure
33     contacts: joerg, bzed
34   gw-HP-ftc:
35     address: 192.25.206.1
36     parents: gw-ubc
37     hostgroups: routing-infrastructure
38   gw-brainfood:
39     address: 70.103.162.1
40     parents: gw-ubc
41     hostgroups: routing-infrastructure
42   gw-brown.edu:
43     address: 128.148.34.1
44     parents: gw-ubc
45     hostgroups: routing-infrastructure
46   gw-osuosl:
47     address: 140.211.166.1
48     parents: gw-ubc
49     hostgroups: routing-infrastructure
50   gw-scanplus-villa:
51     address: 212.211.132.1
52     parents: gw-ubc
53     hostgroups: routing-infrastructure
54   gw-scanplus-lobos:
55     address: 212.211.132.249
56     parents: gw-ubc
57     hostgroups: routing-infrastructure
58   gw-mit-csail:
59     address: 128.30.0.254
60     parents: gw-ubc
61     hostgroups: routing-infrastructure
62   gw-xs4all:
63     address: 194.109.137.217
64     parents: gw-ubc
65     hostgroups: routing-infrastructure
66   gw-umn.edu:
67     address: 128.101.240.222
68     parents: gw-ubc
69     hostgroups: routing-infrastructure
70   gw-dg-i.net:
71     address: 93.94.130.190
72     parents: gw-ubc
73     hostgroups: routing-infrastructure
74     contacts: bzed
75   gw-freenet:
76     address: 62.104.23.249
77     parents: gw-ubc
78     hostgroups: routing-infrastructure
79   gw-sanger:
80     address: 193.62.202.18
81     parents: gw-ubc
82     hostgroups: routing-infrastructure
83     contacts: tjrc1
84   gw-frost:
85     address: 130.81.242.195
86     parents: gw-ubc
87     hostgroups: routing-infrastructure
88   gw-1und1:
89     address: 195.20.247.54
90     parents: gw-ubc
91     hostgroups: routing-infrastructure
92     contacts: joerg
93   gw-1und1-karlsruhe:
94     address: 212.227.120.29
95     parents: gw-ubc
96     hostgroups: routing-infrastructure
97   gw-blackcat:
98     address: 193.201.200.129
99     parents: gw-ubc
100     hostgroups: routing-infrastructure
101   gw-grnet:
102     address: 194.177.211.193
103     parents: gw-ubc
104     hostgroups: routing-infrastructure
105   gw-nmmn:
106     address: 217.114.76.81
107     parents: gw-ubc
108     hostgroups: routing-infrastructure
109   gw-utwente:
110     address: 130.89.149.1
111     parents: gw-ubc
112     hostgroups: routing-infrastructure
113   #gw-ughent:
114   #  address: 157.193.39.254
115   #  parents: gw-ubc
116   #  hostgroups: routing-infrastructure
117   gw-agnesi:
118     address: 65.173.90.22
119     parents: gw-ubc
120     hostgroups: routing-infrastructure
121   gw-ubc:
122     address: 206.12.19.254
123     parents: tchaikovsky
124     hostgroups: routing-infrastructure
125     contacts: lfilipoz
126   gw-carnet:
127     address: 161.53.160.1
128     parents: gw-ubc
129     hostgroups: routing-infrastructure
130   gw-telegraaf:
131     address: 82.94.249.153
132     parents: gw-ubc
133     hostgroups: routing-infrastructure
134   gw-helsinki:
135     address: 128.214.173.25
136     parents: gw-ubc
137     hostgroups: routing-infrastructure
138     contacts: holger
139   gw-telefonica:
140     address: 195.71.99.193
141     parents: gw-ubc
142     hostgroups: routing-infrastructure
143   gw-cst:
144     address: 213.188.99.215
145     parents: gw-ubc
146     hostgroups: routing-infrastructure
147   gw-isc:
148     address: 149.20.20.1
149     parents: gw-ubc
150     hostgroups: routing-infrastructure
151   gw-aca:
152     address: 130.239.18.97
153     parents: gw-ubc
154     hostgroups: routing-infrastructure
155   gw-esiee:
156     address: 195.220.83.13
157     parents: gw-ubc
158     hostgroups: routing-infrastructure
159   gw-ghent:
160     address: 193.191.17.50
161     parents: gw-ubc
162     hostgroups: routing-infrastructure
163   gw-anu:
164     address: 150.203.164.38
165     parents: gw-ubc
166     hostgroups: routing-infrastructure
167   gw-sil:
168     address: 86.59.118.145
169     parents: gw-ubc
170     hostgroups: routing-infrastructure
171
172   global:
173     hostgroups: notacomputer
174     pingable: false
175     check_command: dsa_check_always_ok
176
177   samosa:
178     address: 192.25.206.57
179     parents: gw-HP-ftc
180     hostgroups: computers, service, dl380, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client, postgres84-hosts, bind9-hosts, xinetd-hosts
181   raff:
182     address: 192.25.206.59
183     parents: gw-HP-ftc
184     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, no-udev, hassrvfs, acpid-hosts, xinetd-hosts
185   merkel:
186     address: 192.25.206.16
187     parents: gw-HP-ftc
188     hostgroups: computers, general, apache2-hosts, rsyncd-hosts, sw-raid, postgres83-hosts, heavy-exim, nfs-client, ulogd-hosts, xinetd-hosts
189   merkel2:
190     address: 192.25.206.71
191     parents: merkel
192     hostgroups: secondary-IPs
193   spohr:
194     address: 192.25.206.33
195     parents: gw-HP-ftc
196     hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server, spamd, heavy-exim, bind9-hosts
197   peri:
198     address: 192.25.206.15
199     parents: gw-HP-ftc
200     hostgroups: computers, buildd, sw-raid, hasbootfs, single-cpu
201     contacts: dannf
202   penalosa:
203     address: 192.25.206.68
204     parents: gw-HP-ftc
205     hostgroups: computers, buildd, hasbootfs, single-cpu
206     contacts: dannf
207   mundy:
208     address: 192.25.206.62
209     parents: gw-HP-ftc
210     hostgroups: computers, buildd
211   paer:
212     address: 192.25.206.11
213     parents: gw-HP-ftc
214     hostgroups: computers, porterbox, hasbootfs, hashomefs, single-cpu
215   merulo:
216     address: 192.25.206.58
217     parents: gw-HP-ftc
218     hostgroups: computers, porterbox, hasusrfs
219   alkman:
220     address: 192.25.206.63
221     parents: gw-HP-ftc
222     hostgroups: computers, buildd, acpid-hosts
223
224   bartok:
225     address: 82.195.75.91
226     parents: gw-man-da
227     hostgroups: computers, service, dl385, bind9-hosts, hasvarfs, ulogd-hosts
228     contacts: joerg, bzed
229   #morales:
230   #  address: 82.195.75.97
231   #  parents: gw-man-da
232   #  hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs, hassrvfs, hasvarfs, hasusrfs
233   #  contacts: bzed
234   sperger:
235     address: 82.195.75.34
236     parents: gw-man-da2
237     hostgroups: computers, porterbox, sw-raid, hasbootfs, hasorgfs
238     contacts: bzed
239   agricola:
240     address: 82.195.75.86
241     parents: gw-man-da
242     hostgroups: computers, porterbox, sw-raid, single-cpu, hassrvfs
243     contacts: bzed
244   arcadelt:
245     address: 82.195.75.87
246     parents: gw-man-da
247     hostgroups: computers, buildd, sw-raid, single-cpu, hassrvfs
248     contacts: bzed
249   liszt:
250     address: 82.195.75.100
251     parents: gw-man-da
252     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts, dl385, acpid-hosts
253     contacts: bzed
254 #  auber:
255 #    address: 82.195.75.101
256 #    parents: gw-man-da
257 #    hostgroups: computers, no-udev, buildd, sw-raid
258 #    contacts: bzed
259   unger:
260     address: 82.195.75.102
261     parents: gw-man-da
262     hostgroups: computers, service, dl360, acpid-hosts
263   handel:
264     address: 82.195.75.104
265     parents: unger
266     hostgroups: computers, service, hasbootfs, kvmdomains
267   geo1:
268     address: 82.195.75.105
269     parents: unger
270     hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, ulogd-hosts
271   draghi:
272     address: 82.195.75.106
273     parents: unger
274     hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, ulogd-hosts, kvmdomains, xinetd-hosts
275   kaufmann:
276     address: 82.195.75.107
277     parents: unger
278     hostgroups: computers, service, hasbootfs, apache2-hosts, single-cpu, rsyncd-hosts, kvmdomains, xinetd-hosts
279   byrd:
280     address: 82.195.75.101
281     parents: unger
282     hostgroups: computers, service, hasbootfs, hassrvfs, postgres84-hosts, heavy-exim, kvmdomains
283   ball:
284     address: 82.195.75.70
285     parents: gw-man-da
286     hostgroups: computers, buildd, no-udev, hasbootfs, hashomefs, ntpsuckers
287   purcell:
288     address: 82.195.75.69
289     parents: gw-man-da
290     hostgroups: computers, buildd, single-cpu
291
292   master:
293     address: 70.103.162.29
294     parents: gw-brainfood
295     hostgroups: computers, general, apache2-hosts, bind9-hosts, spamd, heavy-exim, highload, xinetd-hosts
296   murphy:
297     address: 70.103.162.31
298     parents: gw-brainfood
299     hostgroups: computers, general, dl380, acpid-hosts, buildd, hasbootfs, hassrvfs
300
301
302   ries:
303     address: 128.148.34.103
304     parents: gw-brown.edu
305     hostgroups: computers, service, apache2-hosts, bind9-hosts, dl385, rsyncd-hosts, postgres83-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts
306
307   mayer:
308     address: 140.211.166.78
309     parents: gw-osuosl
310     hostgroups: computers, buildd, hasbootfs
311   mayr:
312     address: 140.211.166.58
313     parents: gw-osuosl
314     hostgroups: computers, buildd, hasbootfs
315   malo:
316     address: 140.211.166.27
317     parents: gw-osuosl
318     hostgroups: computers, buildd, smart
319   rietz:
320     address: 140.211.166.43
321     parents: gw-osuosl
322     hostgroups: computers, no-udev, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-exim, highload, hasbootfs, etch, xinetd-hosts
323   rietz2:
324     address: 140.211.166.44
325     parents: rietz
326     hostgroups: secondary-IPs
327   busoni:
328     address: 140.211.15.34
329     parents: gw-osuosl
330     hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim
331   zee:
332     address: 140.211.166.16
333     parents: gw-osuosl
334     hostgroups: computers, porterbox, hassrvfs, hasbootfs
335
336   villa:
337     address: 212.211.132.32
338     parents: gw-scanplus-villa
339     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts
340   lobos:
341     address: 212.211.132.250
342     parents: gw-scanplus-lobos
343     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts
344   gluck:
345     address: 150.203.164.38
346     parents: gw-anu
347     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, no-udev, hassrvfs, acpid-hosts, xinetd-hosts
348
349   steffani:
350     address: 128.31.0.36
351     parents: gw-mit-csail
352     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts, hasbootfs, hasorgfs, xinetd-hosts
353   #mahler:
354   #  address: 128.31.0.46
355   #  parents: gw-mit-csail
356   #  hostgroups: computers, single-cpu, porterbox, hasorgfs
357   rore:
358     address: 128.31.0.49
359     parents: gw-mit-csail
360     hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts
361   senfl:
362     address: 128.31.0.51
363     parents: gw-mit-csail
364     hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts, rsyncd-hosts, bind9-hosts, xinetd-hosts
365   #carver:
366   #  address: 128.31.0.50
367   #  parents: gw-mit-csail
368   #  hostgroups: computers, service, dl380, acpid-hosts, hassrvfs, ulogd-hosts
369
370   klecker:
371     address: 194.109.137.218
372     parents: gw-xs4all
373     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, spamd, heavy-exim, xinetd-hosts
374
375   saens:
376     address: 128.101.240.212
377     parents: gw-umn.edu
378     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts
379
380   argento:
381     address: 93.94.130.160
382     parents: gw-dg-i.net
383     hostgroups: computers, buildd, sw-raid, single-cpu, hassrvfs
384     contacts: bzed
385
386   widor:
387     address: 93.94.130.161
388     parents: gw-dg-i.net
389     hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs, heavy-exim
390     contacts: bzed
391
392   pergolesi:
393     address: 62.104.23.252
394     parents: gw-freenet
395     hostgroups: computers, porterbox, sw-raid, hasusrfs, hasorgfs
396
397   albeniz:
398     address: 193.62.202.27
399     parents: gw-sanger
400     # SMP kernel doesn't run stable
401     hostgroups: computers, porterbox, sw-raid, single-cpu, hasbootfs, ntpsuckers
402     contacts: tjrc1
403   goetz:
404     address: 193.62.202.26
405     parents: gw-sanger
406     # SMP kernel doesn't run stable
407     hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, ntpsuckers, hassrvfs
408     contacts: tjrc1
409   sibelius:
410     address: 193.62.202.28
411     parents: gw-sanger
412     hostgroups: computers, acpid-hosts
413     contacts: tjrc1
414   smetana:
415     address: 193.62.202.29
416     parents: gw-sanger
417     hostgroups: computers, porterbox, sw-raid
418     contacts: tjrc1
419
420   voltaire:
421     address: 72.66.115.54
422     parents: gw-frost
423     hostgroups: computers, buildd, hasvarfs, hashomefs
424     contacts: sfrost
425
426   puccini:
427     address: 87.106.4.56
428     parents: gw-1und1
429     hostgroups: computers, buildd, ulogd-hosts, hassrvfs
430     contacts: joerg
431   powell:
432     address: 87.106.64.223
433     parents: gw-1und1
434     hostgroups: computers, service, spamd, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, hassrvfs, hasvarfs, hasusrfs, xinetd-hosts
435     contacts: joerg
436
437   schumann:
438     address: 212.227.126.54
439     parents: gw-1und1-karlsruhe
440     hostgroups: computers, acpid-hosts, ulogd-hosts
441   wieck:
442     address: 195.20.242.89
443     parents: gw-1und1-karlsruhe
444     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, ulogd-hosts, xinetd-hosts
445   chopin:
446     address: 195.20.242.124
447     parents: schumann
448     hostgroups: computers, service, apache2-hosts, ulogd-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim, xinetd-hosts
449   geo3:
450     address: 195.20.242.125
451     parents: schumann
452     hostgroups: computers, service, hasbootfs, single-cpu, bind9-hosts, kvmdomains, ulogd-hosts
453   soler:
454     address: 195.20.242.126
455     parents: schumann
456     hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains
457
458   caballero:
459     address: 193.201.200.200
460     parents: gw-blackcat
461     hostgroups: computers, no-udev, buildd, sw-raid
462
463   pescetti:
464     address: 217.114.76.85
465     parents: gw-nmmn
466     hostgroups: computers, porterbox, single-cpu, smart, hasorgfs
467
468   kassia:
469     address: 130.89.149.224
470     parents: gw-utwente
471     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl360, acpid-hosts, ulogd-hosts, incomingmailrelayed, xinetd-hosts
472   kassia-sec:
473     address: 130.89.149.225
474     parents: kassia
475     hostgroups: secondary-IPs
476   kassia-ftp:
477     address: 130.89.149.226
478     parents: kassia
479     hostgroups: secondary-IPs
480   kassia-volatile:
481     address: 130.89.149.227
482     parents: kassia
483     hostgroups: secondary-IPs
484
485   ancina:
486     address: 157.193.39.13
487     parents: gw-ghent
488     hostgroups: computers, buildd, single-cpu, hassrvfs, hasbootfs, incomingmailrelayed2025, xinetd-hosts
489     contacts: luk
490
491   agnesi:
492     address: 67.233.102.241
493     parents: gw-agnesi
494     hostgroups: deadslow
495
496   spontini:
497     address: 206.12.19.14
498     parents: gw-ubc
499     hostgroups: computers, buildd, hasbootfs, hassrvfs
500     contacts: lfilipoz
501   ravel:
502     address: 206.12.19.5
503     parents: tchaikovsky
504     hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-server, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim, xinetd-hosts
505   dijkstra:
506     address: 206.12.19.218
507     parents: tchaikovsky
508     hostgroups: computers, bl460, acpid-hosts, ulogd-hosts
509   luchesi:
510     address: 206.12.19.214
511     parents: tchaikovsky
512     hostgroups: computers, bl460, acpid-hosts, ulogd-hosts
513   tchaikovsky:
514     address: 206.12.19.118
515     hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains, single-cpu
516   wolkenstein:
517     address: 206.12.19.116
518     parents: dijkstra
519     hostgroups: computers, hasbootfs, hassrvfs, kvmdomains
520   brahms:
521     address: 206.12.19.115
522     parents: dijkstra
523     hostgroups: computers, buildd, hasbootfs, hassrvfs, kvmdomains
524   geo2:
525     address: 206.12.19.113
526     parents: dijkstra
527     hostgroups: computers, service, hasbootfs, single-cpu, bind9-hosts, kvmdomains, ulogd-hosts
528   duarte:
529     address: 206.12.19.114
530     parents: dijkstra
531     hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains
532   valente:
533     address: 206.12.19.112
534     parents: dijkstra
535     hostgroups: computers, hasbootfs, single-cpu, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim, xinetd-hosts
536   bellini:
537     address: 206.12.19.7
538     parents: gw-ubc
539     hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim
540   morricone:
541     address: 206.12.19.9
542     parents: tchaikovsky
543     hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts
544   stabile:
545     address: 206.12.19.13
546     parents: gw-ubc
547     hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts
548   cimarosa:
549     address: 206.12.19.8
550     parents: gw-ubc
551     hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, heavy-exim, apache2-hosts
552   paganini:
553     address: 206.12.19.10
554     parents: tchaikovsky
555     hostgroups: computers, hasbootfs, aacraid, hassrvfs
556   respighi:
557     address: 206.12.19.11
558     parents: gw-ubc
559     hostgroups: computers, hasbootfs, aacraid, hassrvfs
560   vivaldi:
561     address: 206.12.19.12
562     parents: tchaikovsky
563     hostgroups: computers, hasbootfs, aacraid, hassrvfs
564   # MSA 2000 (2012i)
565   giustini:
566     address: 192.168.2.6
567     parents: dijkstra
568     hostgroups: notacomputer
569     # unless we implement runfrom for host alive checks
570     pingable: false
571     check_command: dsa_check_always_ok
572   fano:
573     address: 206.12.19.110
574     parents: luchesi
575     hostgroups: computers, freebsd, squeeze
576   finzi:
577     address: 206.12.19.111
578     parents: luchesi
579     hostgroups: computers, freebsd, squeeze
580
581   lebrun:
582     address: 193.198.184.10
583     parents: gw-carnet
584     hostgroups: computers, buildd, sw-raid, hasorgfs
585   schroeder:
586     address: 193.198.184.11
587     parents: gw-carnet
588     hostgroups: computers, buildd, sw-raid, hasbootfs, hasorgfs
589
590   tartini:
591     address: 82.94.249.158
592     parents: gw-telegraaf
593     hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, ulogd-hosts, hasvarfs, hasusrfs
594
595   piatti:
596     address: 193.167.161.225
597     parents: gw-helsinki
598     hostgroups: computers, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, hasbootfs, incomingmailrelayed2025, hasorgfs
599     contacts: holger
600
601   rem:
602     address: 195.71.99.217
603     parents: gw-telefonica
604     hostgroups: computers, buildd, hasbootfs, hashomefs
605
606   zelenka:
607     address: 80.245.147.40
608     parents: gw-HP-ftc
609     hostgroups: computers, porterbox, hassrvfs, xinetd-hosts
610   zandonai:
611     address: 80.245.147.46
612     parents: gw-HP-ftc
613     hostgroups: computers, buildd, hassrvfs
614
615   escher:
616     address: 213.188.99.215
617     parents: gw-cst
618     hostgroups: computers, single-cpu, hasbootfs, hasvarfs, hashomefs
619   goedel:
620     address: 213.188.99.214
621     parents: gw-cst
622     hostgroups: computers, single-cpu, hasbootfs, ntpsuckers
623
624   schein:
625     address: 149.20.20.6
626     parents: gw-isc
627     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, dl360, bind9-hosts, hasorgfs, xinetd-hosts
628
629   praetorius:
630     address: 130.239.18.121
631     parents: gw-aca
632     hostgroups: computers, buildd, hassrvfs
633   pettersson:
634     address: 130.239.18.123
635     parents: gw-aca
636     hostgroups: computers, hasbootfs, aacraid
637
638   lafayette:
639     address: 147.215.7.160
640     parents: gw-esiee
641     hostgroups: computers, buildd, sw-raid, hassrvfs, hasbootfs
642
643   grieg:
644     address: 194.177.211.200
645     parents: gw-grnet
646     hostgroups: computers, acpid-hosts, megaraid
647   rautavaara:
648     address: 194.177.211.199
649     parents: gw-grnet
650     hostgroups: computers, acpid-hosts, ulogd-hosts, megaraid
651   fasch:
652     address: 194.177.211.201
653     parents: rautavaara
654     hostgroups: computers, freebsd, squeeze
655   holter:
656     address: 194.177.211.202
657     parents: gw-grnet
658     hostgroups: computers, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts
659   barber:
660     address: 194.177.211.203
661     parents: gw-grnet
662     hostgroups: computers, acpid-hosts, buildd, hassrvfs
663   biber:
664     address: 194.177.211.204
665     parents: gw-grnet
666     hostgroups: computers, acpid-hosts, buildd, hassrvfs
667   cilea:
668     address: 194.177.211.205
669     parents: gw-grnet
670     hostgroups: computers, acpid-hosts
671   vitry:
672     address: 194.177.211.206
673     parents: gw-grnet
674     hostgroups: computers, acpid-hosts
675   krenek:
676     address: 194.177.211.207
677     parents: gw-grnet
678     hostgroups: computers, acpid-hosts
679   scelsi:
680     address: 194.177.211.208
681     parents: gw-grnet
682     hostgroups: computers, acpid-hosts
683   orff:
684     address: 194.177.211.209
685     parents: gw-grnet
686     hostgroups: computers, acpid-hosts, bind9-hosts
687   field:
688     address: 194.177.211.210
689     parents: rautavaara
690     hostgroups: computers, freebsd, squeeze
691
692   beethoven:
693     address: 86.59.118.146
694     parents: gw-sil
695     hostgroups: computers, hasbootfs, aacraid
696
697
698 #############################
699 # host groups
700 #
701 # hostgroups ircd and all are automatically defined
702 #
703 #############################
704 hostgroups:
705   computers:
706     alias: computers
707     private: 1
708   routing-infrastructure:
709     alias: Internet routers and friends
710     extinfo-icon_image: base/switch40.png
711     extinfo-icon_image_alt: router
712   notacomputer:
713     alias: Systems that are not really systems.  Yeah :)
714     private: 1
715   deadslow:
716     alias: Systems too slow to run any real checks
717   freebsd:
718     alias: freebsd
719     private: 1
720
721   porterbox:
722     alias: developer accessible porter machines
723     extinfo-icon_image: base/debian.png
724     extinfo-icon_image_alt: Debian GNU/Linux
725     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
726   service:
727     alias: machines running services
728     extinfo-icon_image: base/debian.png
729     extinfo-icon_image_alt: Debian GNU/Linux
730     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
731   buildd:
732     alias: buildd systems
733     extinfo-icon_image: base/debian.png
734     extinfo-icon_image_alt: Debian GNU/Linux
735     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
736   general:
737     alias: general purpose developer accessible machines
738     extinfo-icon_image: base/debian.png
739     extinfo-icon_image_alt: Debian GNU/Linux
740     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
741
742   dl380:
743     alias: HP DL380 hosts
744     private: 1
745   dl385:
746     alias: HP DL385 hosts
747     private: 1
748   dl360:
749     alias: HP DL360 hosts
750     private: 1
751   bl460:
752     alias: HP BL460 blades
753     private: 1
754   sw-raid:
755     alias: Hosts with Linux software raid
756     private: 1
757   aacraid:
758     alias: Hosts with Adaptec AACraid
759     private: 1
760   megaraid:
761     alias: Hosts with LSI Logic MegaRAID
762     private: 1
763   single-cpu:
764     alias: Hosts with only one CPU
765     private: 1
766
767   etch:
768     alias: Hosts running etch
769     private: 1
770   squeeze:
771     alias: Hosts running squeeze
772     private: 1
773
774   no-samhain:
775     alias: hosts not running samhain properly
776     private: 1
777
778   kvmdomains:
779     alias: Hosts that are KVM domains
780     private: 1
781
782   postfix-hosts:
783     alias: hosts running postfix instead of exim
784     private: 1
785   heavy-exim:
786     alias: "hosts running the full mail stuff, including clamav and postgrey"
787     private: 1
788   spamd:
789     alias: "hosts running spamassassin as daemon"
790     private: 1
791   heavy-postfix:
792     alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, policyd-weight"
793     private: 1
794   apache2-hosts:
795     alias: hosts running apache2
796     private: 1
797   bind9-hosts:
798     alias: hosts running bind9
799     private: 1
800   amavis-hosts:
801     alias: hosts running amavis
802     private: 1
803   ftpd-hosts:
804     alias: hosts running vsftpd
805     private: 1
806   #tftpd-hosts:
807   #  alias: hosts running a tftpd (tftpd-hpa as a daemon)
808   #  private: 1
809   rsyncd-hosts:
810     alias: hosts providing rsync services via xinetd
811     private: 1
812   xinetd-hosts:
813     alias: hosts providing services via xinetd
814     private: 1
815   #postgres81-hosts:
816   #  alias: hosts running postgres81
817   #  private: 1
818   postgres83-hosts:
819     alias: hosts running postgres83
820     private: 1
821   postgres84-hosts:
822     alias: hosts running postgres84
823     private: 1
824   mysql-hosts:
825     alias: hosts running mysql
826     private: 1
827   no-udev:
828     alias: hosts not using udev
829     private: 1
830   ulogd-hosts:
831     alias: hosts running ulogd
832     private: 1
833   acpid-hosts:
834     alias: hosts running acpid
835     private: 1
836   uploadqueue:
837     alias: hosts that are an anonymous ftp uploadqueue
838     private: 1
839
840   nfs-client:
841     alias: hosts mounting filesystems using NFS
842     private: 1
843   nfs-server:
844     alias: hosts serving filesystems using NFS
845     private: 1
846
847   highload:
848     alias: "hosts on which high load is normal"
849     private: 1
850
851   secondary-IPs:
852     alias: secondary IP addresses
853     private: 1
854
855   smart:
856     alias: hosts with smartd
857     private: 1
858   hasbootfs:
859     alias: hosts with a /boot filesystem
860     private: 1
861   hassrvfs:
862     alias: hosts with a /srv filesystem
863     private: 1
864   hasorgfs:
865     alias: hosts with a /org filesystem
866     private: 1
867   hashomefs:
868     alias: hosts with a /home filesystem
869     private: 1
870   hasvarfs:
871     alias: hosts with a /var filesystem
872     private: 1
873   hasusrfs:
874     alias: hosts with a /usr filesystem
875     private: 1
876
877   incomingmailrelayed:
878     alias: incoming mail needs to go through a mail relay
879     # i.e. no port 25
880     private: 1
881   incomingmailrelayed2025:
882     alias: incoming mail needs to go through a mail relay
883     # i.e. no port 25
884     private: 1
885
886   ntpsuckers:
887     alias: "hosts who's ntp offset is often unknown"
888     private: 1
889
890 #############################
891 # servicegroups
892 #############################
893 servicegroups:
894   diskspace:
895     alias: diskusage checks
896   buildd:
897     alias: buildd checks
898   raid:
899     alias: raid checks
900   kernel:
901     alias: kernel checks
902   weaksshkeys:
903     alias: weak ssh keys
904   apt:
905     alias: apt upgrade status
906   samhain:
907     alias: samhain integrity status
908   security:
909     alias: security
910     servicegroup_members: apt, weaksshkeys, kernel, samhain
911
912 #############################
913 # services
914 #############################
915 services:
916   -
917     name: PING
918     check: "check_ping!300.0,20%!600.0,40%"
919     hostgroups: pingable
920     excludehostgroups: routing-infrastructure
921     normal_check_interval: 5
922     max_check_attempts: 4
923     retry_check_interval: 1
924   -
925     name: PING
926     check: "check_ping!2000.0,60%!3000.0,80%"
927     hostgroups: routing-infrastructure
928     normal_check_interval: 5
929     max_check_attempts: 4
930     retry_check_interval: 1
931
932  ############ Services ############
933  ###
934
935  ############ Disk Usage ############
936  ####
937   -
938     name: disk usage - all
939     servicegroups: diskspace
940     nrpe: "/usr/lib/nagios/plugins/check_disk -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs 90 95"
941     hostgroups: computers
942   -
943     name: disk usage on /
944     servicegroups: diskspace
945     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
946     hostgroups: computers
947     excludehosts: ries, klecker, kassia, spohr
948   -
949     name: disk usage on /
950     servicegroups: diskspace
951     nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /"
952     hosts: ries, klecker, kassia, spohr
953   -
954     name: disk usage on /boot
955     servicegroups: diskspace
956     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
957     hostgroups: hasbootfs
958   -
959     name: disk usage on /var
960     servicegroups: diskspace
961     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
962     hostgroups: hasvarfs
963   -
964     name: disk usage on /org
965     servicegroups: diskspace
966     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
967     hostgroups: hasorgfs
968   -
969     name: disk usage on /org
970     servicegroups: diskspace
971     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
972     hosts: merkel, bartok
973   -
974     name: disk usage on /srv
975     servicegroups: diskspace
976     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
977     hostgroups: hassrvfs
978   -
979     name: disk usage on /org/scratch
980     servicegroups: diskspace
981     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch"
982     hosts: merkel
983   -
984     name: disk usage on /tmp
985     servicegroups: diskspace
986     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
987     hosts: saens, puccini, merkel, tartini, powell, piatti, escher
988   -
989     name: disk usage on /usr
990     servicegroups: diskspace
991     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
992     hostgroups: hasusrfs
993   -
994     name: disk usage on /home
995     servicegroups: diskspace
996     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
997     hostgroups: hashomefs
998   -
999     name: disk usage on /mnt/hdc
1000     servicegroups: diskspace
1001     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
1002     hosts: voltaire
1003   -
1004     name: disk usage on /x
1005     servicegroups: diskspace
1006     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
1007     hosts: caballero
1008   -
1009     name: disk usage on /var/lib/postgresql
1010     servicegroups: diskspace
1011     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql"
1012     hosts: samosa, stabile, sibelius
1013
1014   -
1015     name: disk usage on /srv/morgue.debian.org
1016     servicegroups: diskspace
1017     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/morgue.debian.org"
1018     hosts: stabile
1019   -
1020     name: disk usage on /srv/mirrors
1021     servicegroups: diskspace
1022     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/mirrors"
1023     hosts: stabile
1024   -
1025     name: disk usage on /srv/ftp-master.debian.org
1026     servicegroups: diskspace
1027     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/ftp-master.debian.org"
1028     hosts: stabile
1029   -
1030     name: disk usage on /srv/snapshot.debian.org
1031     servicegroups: diskspace
1032     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/snapshot.debian.org"
1033     hosts: stabile,sibelius
1034   -
1035     name: disk usage on /srv/farm-snapshot/farm-0123
1036     servicegroups: diskspace
1037     nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-0123"
1038     hosts: sibelius
1039   -
1040     name: disk usage on /srv/farm-snapshot/farm-4567
1041     servicegroups: diskspace
1042     nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-4567"
1043     hosts: sibelius
1044   -
1045     name: disk usage on /srv/farm-snapshot/farm-89ab
1046     servicegroups: diskspace
1047     nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-89ab"
1048     hosts: sibelius
1049   -
1050     name: disk usage on /srv/farm-snapshot/farm-cdef
1051     servicegroups: diskspace
1052     nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cdef"
1053     hosts: sibelius
1054
1055  ############ All Computers ############
1056  ####
1057   -
1058     name: apt - security updates
1059     servicegroups: apt
1060     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
1061     hostgroups: computers
1062     excludehostgroups: squeeze
1063     normal_check_interval:  60
1064     retry_check_interval: 15
1065  ####
1066   -
1067     name: backup
1068     nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
1069     hostgroups: computers
1070     normal_check_interval: 60
1071     max_check_attempts: 2
1072     retry_check_interval: 5
1073   -
1074     name: backup server config
1075     nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
1076     hosts: bartok, beethoven
1077     normal_check_interval: 60
1078     max_check_attempts: 2
1079     retry_check_interval: 5
1080
1081  ####
1082   -
1083     name: running kernel
1084     servicegroups: kernel
1085     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
1086     hostgroups: computers
1087     normal_check_interval: 60
1088     retry_check_interval: 5
1089
1090  ####
1091   -
1092     name: puppet
1093     nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -i 540 -f /var/lib/puppet/state/state.yaml"
1094     hostgroups: computers
1095
1096  ####
1097   -
1098     name: process - samhain
1099     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'"
1100     hostgroups: computers
1101     excludehostgroups: no-samhain
1102   -
1103     name: samhain
1104     servicegroups: samhain
1105     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/samhain"
1106     hostgroups: computers
1107     excludehostgroups: no-samhain
1108     depends: process - samhain
1109     normal_check_interval: 60
1110     retry_check_interval: 5
1111
1112  ####
1113   -
1114     name: users
1115     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
1116     hostgroups: computers
1117  ####
1118   -
1119     name: load
1120     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
1121     hostgroups: computers
1122     excludehostgroups: highload
1123   -
1124     name: load
1125     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
1126     hostgroups: highload
1127     excludehosts: rietz
1128   -
1129     name: load
1130     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
1131     hosts: rietz
1132  ####
1133   -
1134     name: processes - zombies
1135     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
1136     hostgroups: computers
1137  ####
1138   -
1139     name: processes - total
1140     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
1141     hostgroups: computers
1142     excludehosts: liszt
1143   -
1144     name: processes - total
1145     nrpe: "/usr/lib/nagios/plugins/check_procs 800 1000"
1146     hosts: liszt
1147  ####
1148   -
1149     name: swap usage - percent
1150     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
1151     hostgroups: computers
1152  ####
1153   -
1154     name: swap usage - mb
1155     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
1156     hostgroups: computers
1157  ####
1158   -
1159     name: process - getty
1160     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
1161     hostgroups: computers
1162     excludehosts: zelenka, zandonai
1163  ####
1164   -
1165     name: process - sshd
1166     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
1167     hostgroups: computers
1168   -
1169     name: "network service - sshd"
1170     check: dsa_check_ssh
1171     hostgroups: computers
1172     depends: process - sshd
1173     normal_check_interval:  60
1174     notification_interval: 1440
1175
1176   -
1177     name: "network service - sshd - 2260"
1178     check: dsa_check_ssh_port!2260
1179     hosts: agnesi
1180     normal_check_interval:  180
1181
1182   -
1183     name: ssh - weak keys
1184     servicegroups: weaksshkeys
1185     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
1186     hostgroups: computers
1187     normal_check_interval:  60
1188  ####
1189   -
1190     name: network service - nrpe
1191     check: check_tcp!5666
1192     hostgroups: computers
1193     max_check_attempts: -2
1194     notification_interval: 1440
1195   -
1196     name: process - nrpe
1197     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'"
1198     hostgroups: computers
1199     max_check_attempts: -1
1200     depends: network service - nrpe
1201  ###
1202   -
1203     name: process - munin-node
1204     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
1205     hostgroups: computers
1206     excludehostgroups: squeeze
1207   -
1208     name: process - munin-node
1209     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C perl -a '/usr/bin/perl -wT /usr/sbin/munin-node'"
1210     hostgroups: squeeze
1211   -
1212     name: network service - munin-node
1213     check: check_tcp!4949
1214     hostgroups: computers
1215     depends: process - munin-node
1216  ###
1217   -
1218     name: process - ntpd
1219     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'"
1220     hostgroups: computers
1221     excludehosts: zelenka
1222   -
1223     name: network service - ntp
1224     check: dsa_check_ntp
1225     hostgroups: computers
1226     depends: process - ntpd
1227     excludehosts: zelenka, ancina
1228     excludehostgroups: ntpsuckers
1229   #
1230   -
1231     name: network service - time
1232     check: dsa_check_time
1233     hosts: zelenka, ancina
1234     depends: process - xinetd
1235
1236  ###
1237   -
1238     name: process - atd
1239     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
1240     hostgroups: computers
1241  ###
1242   -
1243     name: process - cron
1244     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
1245     hostgroups: computers
1246
1247  ###
1248   -
1249     name: process - syslog-ng
1250     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'"
1251     hostgroups: computers
1252
1253  ### MAIL STUFF
1254  ###
1255   -
1256     name: process - exim
1257     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
1258     hostgroups: computers
1259     excludehostgroups: postfix-hosts
1260     excludehosts: master, rietz, merkel, byrd
1261   -
1262     name: process - exim - total
1263     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
1264     hostgroups: computers
1265     excludehostgroups: postfix-hosts
1266     excludehosts: master, rietz, merkel, byrd
1267   -
1268     name: process - exim
1269     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
1270     hosts: master, rietz, merkel, byrd
1271  ###
1272   -
1273     name: process - clamav - clamd
1274     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
1275     hostgroups: heavy-exim, heavy-postfix
1276   -
1277     name: service - clamav
1278     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
1279     hostgroups: heavy-exim, heavy-postfix
1280     depends: process - clamav - clamd
1281   -
1282     name: process - clamav - freshclam
1283     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
1284     hostgroups: heavy-exim, heavy-postfix
1285   -
1286     name: unwanted process - clamav
1287     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
1288     hostgroups: computers
1289     excludehostgroups: heavy-exim, heavy-postfix
1290   -
1291     name: unwanted process - freshclam
1292     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
1293     hostgroups: computers
1294     excludehostgroups: heavy-exim, heavy-postfix
1295   -
1296     name: process - spamd - master
1297     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'"
1298     hostgroups: spamd
1299     excludehosts: powell
1300   -
1301     name: process - spamd - master
1302     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'"
1303     hosts: powell
1304   -
1305     name: process - spamd - master
1306     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'"
1307     hosts: liszt
1308   -
1309     name: process - spamd - child
1310     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
1311     hosts: liszt
1312     hostgroups: spamd
1313     depends: process - spamd - master
1314   #
1315   -
1316     name: process - spamd - master
1317     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
1318     hosts: rietz
1319   -
1320     name: process - spamd - child
1321     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
1322     hosts: rietz
1323   #
1324   -
1325     name: unwanted process - spamd
1326     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1327     hostgroups: computers
1328     excludehostgroups: spamd
1329     excludehosts: liszt, rietz
1330
1331  ###
1332   #-
1333   #  name: process - greylistd
1334   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
1335   #  hostgroups: heavy-exim
1336   #
1337   -
1338     name: unwanted process - greylistd
1339     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
1340     hostgroups: computers
1341
1342  ###
1343   -
1344     name: process - postgrey
1345     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -C postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'"
1346     hostgroups: heavy-exim
1347   -
1348     name: process - postgrey
1349     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -C postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000'"
1350     hostgroups: heavy-postfix
1351   #
1352   -
1353     name: unwanted process - postgrey
1354     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
1355     hostgroups: computers
1356     excludehostgroups: heavy-postfix, heavy-exim
1357  ###
1358   -
1359     name: process - amavis - master
1360     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
1361     hostgroups: amavis-hosts
1362   -
1363     name: process - amavis - all
1364     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
1365     hostgroups: amavis-hosts
1366     depends: process - amavis - master
1367   #
1368   -
1369     name: unwanted process - amavis
1370     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
1371     hostgroups: computers
1372     excludehostgroups: amavis-hosts
1373  ###
1374   -
1375     name: process - weightd - master
1376     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
1377     hostgroups: heavy-postfix
1378   -
1379     name: process - weightd - cache
1380     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
1381     hostgroups: heavy-postfix
1382     depends: process - weightd - master
1383   -
1384     name: process - weightd - child
1385     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
1386     hostgroups: heavy-postfix
1387     depends: process - weightd - master
1388   #
1389   -
1390     name: unwanted process - policyd-weight
1391     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
1392     hostgroups: computers
1393     excludehostgroups: heavy-postfix
1394
1395
1396
1397  ###
1398   -
1399     name: process - postfix - master
1400     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1401     hostgroups: postfix-hosts
1402   -
1403     name: process - postfix - qmgr
1404     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1405     hostgroups: postfix-hosts
1406     depends: process - postfix - master
1407   #-
1408   #  name: process - postfix - tlsmgr
1409   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1410   #  hostgroups: postfix-hosts
1411   #  depends: process - postfix - master
1412   -
1413     name: process - postfix - pickup
1414     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1415     hostgroups: postfix-hosts
1416     depends: process - postfix - master
1417   -
1418     name: process - postfix - anvil
1419     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1420     hostgroups: postfix-hosts
1421     depends: process - postfix - master
1422
1423   -
1424     name: process - postfix - trivial-rewrite
1425     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'"
1426     hostgroups: postfix-hosts
1427     depends: process - postfix - master
1428   -
1429     name: process - postfix - proxymap
1430     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1431     hostgroups: postfix-hosts
1432     depends: process - postfix - master
1433   -
1434     name: process - postfix - cleanup
1435     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1436     hostgroups: postfix-hosts
1437     depends: process - postfix - master
1438   -
1439     name: process - postfix - local
1440     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1441     hostgroups: postfix-hosts
1442     depends: process - postfix - master
1443
1444   -
1445     name: process - postfix - smtpd
1446     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:150 -c 0:200 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
1447     hosts: liszt
1448     depends: process - postfix - master
1449   -
1450     name: process - postfix - smtp
1451     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1452     hosts: liszt
1453     depends: process - postfix - master
1454
1455  ###
1456   -
1457     name: network service - smtp
1458     check: dsa_check_smtp
1459     hostgroups: computers
1460     excludehostgroups: postfix-hosts, incomingmailrelayed, incomingmailrelayed2025
1461     depends: process - exim
1462
1463   -
1464     name: network service - smtp
1465     check: dsa_check_smtp
1466     hostgroups: postfix-hosts
1467     depends: process - postfix - master
1468   -
1469     name: network service - submission
1470     check: dsa_check_smtp_port!587
1471     hostgroups: incomingmailrelayed
1472     depends: process - exim
1473   -
1474     name: network service - smtp 2025
1475     check: dsa_check_smtp_port!2025
1476     hostgroups: incomingmailrelayed2025
1477     depends: process - exim
1478   -
1479     name: network service local - smtps cert
1480     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1481     hostgroups: postfix-hosts
1482     depends: process - postfix - master
1483     normal_check_interval: 120
1484
1485
1486   -
1487     name: setup - dsa config
1488     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1489     hostgroups: computers
1490     normal_check_interval: 60
1491   -
1492     name: setup - ud-ldap freshness
1493     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1494     hostgroups: computers
1495  ###
1496   -
1497     name: process - uptimed
1498     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1499     hostgroups: computers
1500  ###
1501   -
1502     name: process - irqbalance
1503     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1504     hostgroups: computers
1505     excludehostgroups: single-cpu, freebsd
1506   -
1507     name: unwanted process - irqbalance
1508     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1509     hostgroups: single-cpu, freebsd
1510
1511  ####
1512  ###
1513   #-
1514   #  name: unwanted process - system-tools-backends
1515   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1516   #  hostgroups: computers
1517   #-
1518   #  name: unwanted process - dbus-daemon
1519   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1520   #  hostgroups: computers
1521   -
1522     name: unwanted process - gkrellmd
1523     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1524     hostgroups: computers
1525   -
1526     name: unwanted process - portmap
1527     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1528     hostgroups: computers
1529     excludehostgroups: nfs-client, nfs-server
1530   -
1531     name: unwanted process - rpc.statd
1532     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1533     hostgroups: computers
1534     excludehostgroups: nfs-client, nfs-server
1535   -
1536     name: unwanted process - inetd
1537     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1538     hostgroups: computers
1539     excludehosts: rietz, grieg
1540   -
1541     name: unwanted process - snmpd
1542     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1543     hostgroups: computers
1544
1545  ####
1546   -
1547     name: "host SSL cert"
1548     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"
1549     hostgroups: computers
1550
1551  ############ Processes/Services that only run on some computers ############
1552  ####
1553  ###
1554   -
1555     name: process - rngd
1556     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1557     hostgroups: dl385
1558  ###
1559   -
1560     name: process - mdadm monitor
1561     servicegroups: raid
1562     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan'"
1563     hostgroups: sw-raid
1564   -
1565     name: RAID - sw raid
1566     servicegroups: raid
1567     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1568     hostgroups: sw-raid
1569
1570  ###
1571   -
1572     name: process - monit
1573     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -d 300 -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
1574     hostgroups: computers
1575     excludehostgroups: squeeze
1576   -
1577     name: process - monit
1578     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
1579     hostgroups: squeeze
1580  ###
1581   -
1582     name: process - cpqarrayd
1583     servicegroups: raid
1584     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1585     hostgroups: dl385, dl380, dl360, bl460
1586   -
1587     name: RAID - arrayprobe
1588     servicegroups: raid
1589     nrpe: "sudo /usr/bin/arrayprobe"
1590     hostgroups: dl385, dl380, dl360, bl460
1591   -
1592     name: HW - hpacucli status
1593     servicegroups: raid
1594     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1595     normal_check_interval: 120
1596     hostgroups: dl385, dl380, dl360, bl460
1597  ###
1598   -
1599     name: HW - hpasmcli status
1600     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm"
1601     normal_check_interval: 120
1602     hostgroups: dl385, dl380, dl360, bl460
1603     excludehosts: villa, lobos, liszt, senfl, schein, rore
1604   -
1605     name: HW - hpasmcli status
1606     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant"
1607     normal_check_interval: 120
1608     hosts: villa, lobos, liszt
1609   -
1610     name: HW - hpasmcli status
1611     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant"
1612     normal_check_interval: 120
1613     hosts: senfl, schein
1614   -
1615     name: HW - hpasmcli status
1616     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant --fan-high"
1617     normal_check_interval: 120
1618     hosts: rore
1619  ###
1620   -
1621     name: RAID - areca
1622     servicegroups: raid
1623     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-areca"
1624     hosts: powell
1625  ###
1626   -
1627     name: RAID - aacraid
1628     servicegroups: raid
1629     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-aacraid"
1630     hostgroups: aacraid
1631  ###
1632   -
1633     name: RAID - megaraid
1634     servicegroups: raid
1635     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megaraid"
1636     hostgroups: megaraid
1637  ###
1638   -
1639     name: RAID - 3ware
1640     servicegroups: raid
1641     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1642     hosts: puccini
1643  ###
1644   -
1645     name: RAID - MPT
1646     servicegroups: raid
1647     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1648     hosts: master
1649
1650  ###
1651   -
1652     name: process - slapd
1653     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'"
1654     hosts: draghi
1655  ###
1656   -
1657     name: process - ulogd
1658     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
1659     hostgroups: ulogd-hosts
1660   -
1661     name: unexpected process - ulogd
1662     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
1663     hostgroups: computers
1664     excludehostgroups: ulogd-hosts
1665  ###
1666   -
1667     name: process - udevd
1668     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1669     hostgroups: computers
1670     excludehostgroups: no-udev, freebsd
1671   -
1672     name: unexpected process - udev
1673     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
1674     hostgroups: no-udev, freebsd
1675  ###
1676   -
1677     name: process - acpid
1678     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
1679     hostgroups: acpid-hosts
1680   -
1681     name: unexpected process - acpid
1682     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
1683     hostgroups: computers
1684     excludehostgroups: acpid-hosts, kvmdomains
1685
1686  ###
1687   -
1688     name: process - inetd
1689     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C inetd -a '/usr/sbin/inetd'"
1690     hosts: grieg
1691  ###
1692   -
1693     name: process - xinetd
1694     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'"
1695     hostgroups: xinetd-hosts
1696   -
1697     name: unwanted process - xinetd
1698     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1699     hostgroups: computers
1700     excludehostgroups: xinetd-hosts
1701  ###
1702   -
1703     name: network service - finger
1704     check: check_tcp!79
1705     hosts: draghi
1706     depends: process - xinetd
1707  ###
1708   -
1709     name: network service - rsync
1710     check: check_tcp!873
1711     hostgroups: rsyncd-hosts
1712     depends: process - xinetd
1713
1714   -
1715     name: network service - rsync
1716     check: check_tcp!873
1717     hosts: rietz2
1718     depends: rietz:process - xinetd
1719
1720   -
1721     name: network service - rsync
1722     check: check_tcp!873
1723     hosts: kassia-sec
1724     depends: kassia:process - xinetd
1725
1726  ###
1727   -
1728     name: process - nagios3
1729     # there is always one extra process per check currently running..
1730     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'"
1731     hosts: tchaikovsky
1732
1733  ###
1734   -
1735     name: process - apache2 - master
1736     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1737     hostgroups: apache2-hosts
1738   -
1739     name: process - apache2 - worker
1740     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1741     hostgroups: apache2-hosts
1742     depends: process - apache2 - master
1743
1744   -
1745     name: network service - http
1746     check: check_http
1747     hostgroups: apache2-hosts
1748     excludehosts: kassia
1749     depends: process - apache2 - master
1750   -
1751     name: network service - http
1752     check: check_http
1753     depends: kassia:process - apache2 - master
1754     hosts: kassia-sec, kassia-ftp, kassia-volatile
1755
1756   # keyserver on kaufmann
1757   -
1758     name: network service - http keyserver
1759     check: dsa_check_http_port!11371
1760     hosts: kaufmann
1761     depends: process - apache2 - master
1762
1763   # https on various hosts
1764   -
1765     name: network service - https
1766     check: check_https
1767     hosts: ries, chopin, draghi, liszt, spohr, widor, rietz, tchaikovsky, cimarosa
1768     depends: "process - apache2 - master"
1769     normal_check_interval: 120
1770   -
1771     name: network service - https cert
1772     check: dsa_check_cert!443
1773     # ries              ftp-master.debian.org
1774     # chopin            security-master.debian.org
1775     # spohr             rt.debian.org
1776     # tchaikovsky       nagios.debian.org
1777     # draghi            db.debian.org
1778     # merkel2           nm.debian.org
1779     # liszt             lists.debian.org
1780     # cimarosa          buildd.debian.org
1781     hosts: ries, chopin, spohr, tchaikovsky, draghi, merkel2, liszt, widor, rietz, cimarosa
1782     depends: network service - https
1783     normal_check_interval: 60
1784
1785   # merkel
1786   -
1787     name: network service - https
1788     check: check_https
1789     hosts: merkel2
1790     depends: "merkel:process - apache2 - master"
1791     normal_check_interval: 120
1792   -
1793     name: network service - http
1794     check: check_http
1795     hosts: merkel2
1796     depends: "merkel:process - apache2 - master"
1797  ####
1798   -
1799     name: process - named
1800     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1801     hostgroups: bind9-hosts
1802   -
1803     name: network service - dns
1804     check: check_dns
1805     hostgroups: bind9-hosts
1806     depends: process - named
1807   -
1808     name: unwanted process - named
1809     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1810     hostgroups: computers
1811     excludehostgroups: bind9-hosts
1812
1813  ####
1814   -
1815     name: process - vsftp - listener
1816     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1817     hostgroups: ftpd-hosts, uploadqueue
1818     excludehosts: kassia
1819   -
1820     name: process - vsftp - instance
1821     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1822     hostgroups: ftpd-hosts, uploadqueue
1823     excludehosts: kassia
1824   -
1825     name: network service - ftp
1826     check: check_ftp
1827     hostgroups: ftpd-hosts, uploadqueue
1828     excludehosts: kassia
1829     depends: process - vsftp - listener
1830   -
1831     name: network service - ftp
1832     check: check_ftp
1833     hosts: kassia-sec, kassia-ftp
1834     depends: kassia:process - xinetd
1835
1836  ####
1837   -
1838     name: process - debianqueued
1839     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u dak -C debianqueued"
1840     hostgroups: uploadqueue
1841
1842  ###
1843   #-
1844   #  name: process - postresql81 - master
1845   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a '/usr/lib/postgresql/8.1/bin/postmaster -D /var/lib/postgresql/8.1/main -c config_file=/etc/postgresql/8.1/main/postgresql.conf'"
1846   #  hostgroups: postgres81-hosts
1847   #-
1848   #  name: process - postresql81 - writer
1849   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1850   #  hostgroups: postgres81-hosts
1851   #  depends: process - postresql81 - master
1852   #-
1853   #  name: process - postresql81 - buffer
1854   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1855   #  hostgroups: postgres81-hosts
1856   #  depends: process - postresql81 - master
1857   #-
1858   #  name: process - postresql81 - collector
1859   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1860   #  hostgroups: postgres81-hosts
1861   #  depends: process - postresql81 - master
1862  ####
1863   -
1864     name: process - postresql84 - master
1865     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"
1866     hostgroups: postgres84-hosts
1867   -
1868     name: process - postresql83 - master
1869     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'"
1870     hostgroups: postgres83-hosts
1871   #-
1872   #  name: process - postresql83 - master udd
1873   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'"
1874   #  hosts: piatti
1875   -
1876     name: process - postresql83 - dak master
1877     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/dak -c config_file=/etc/postgresql/8.3/dak/postgresql.conf'"
1878     hosts: klecker, chopin
1879   -
1880     name: process - postresql84 - dak master
1881     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak -c config_file=/etc/postgresql/8.4/dak/postgresql.conf'"
1882     hosts: ries
1883   -
1884     name: process - postresql84 - dak-dev master
1885     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak-dev -c config_file=/etc/postgresql/8.4/dak-dev/postgresql.conf'"
1886     hosts: ries
1887  ####
1888   -
1889     name: process - mysql - master
1890     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1891     hostgroups: mysql-hosts
1892   -
1893     name: process - mysql - workers
1894     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1895     hostgroups: mysql-hosts
1896     depends: process - mysql - master
1897
1898  ####
1899   -
1900     name: process - stunnel4 - postgres-udd
1901     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd-server.conf'"
1902     hosts: samosa
1903   -
1904     name: udd stunnel - master cert
1905     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45"
1906     hosts: samosa
1907
1908  ####
1909   #-
1910   #  name: process - xenconsoled
1911   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1912   #  hosts: piatti
1913   #-
1914   #  name: process - xenstored
1915   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenstored -a '/usr/lib/xen-3.0.3-1/bin/xenstored --pid-file /var/run/xenstore.pid'"
1916   #  hosts: piatti
1917   #-
1918   #  name: process - xend
1919   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C python -a 'python /usr/lib/xen-3.0.3-1/bin/xend start'"
1920   #  hosts: piatti
1921 #
1922  ####
1923   -
1924     name: process - libvirtd
1925     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C libvirtd -a '/usr/sbin/libvirtd -d'"
1926     hosts: unger
1927
1928  ###
1929   -
1930     name: process - buildd
1931     servicegroups: buildd
1932     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -u buildd -C buildd -a '/usr/bin/buildd'"
1933     hostgroups: buildd
1934     contacts: luk, pkern, HE
1935
1936  ###
1937   #-
1938   #  name: process - tftpd
1939   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C in.tftpd -a '/usr/sbin/in.tftpd -l -B 1450 -s /var/lib/tftpboot'"
1940   #  hostgroups: tftpd-hosts
1941  ###
1942 #  -
1943 #    name: process - dhcpd
1944 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1945 #    hosts: paer
1946  ###
1947   -
1948     name: process - smartd
1949     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C smartd -a '/usr/sbin/smartd --pidfile /var/run/smartd.pid --interval=1800'"
1950     hostgroups: smart
1951
1952  ############ NFS Stuff ############
1953  ####
1954   -
1955     name: process - portmap
1956     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'"
1957     hostgroups: nfs-client, nfs-server
1958   -
1959     name: process - statd
1960     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
1961     hostgroups: nfs-client, nfs-server
1962   -
1963     name: process - nfsd
1964     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
1965     hostgroups: nfs-server
1966   -
1967     name: process - lockd
1968     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C lockd -a '[lockd]'"
1969     hostgroups: nfs-server
1970   -
1971     name: process - mountd
1972     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'"
1973     hostgroups: nfs-server
1974  # see if the nfs stuff works and doesn't hang.
1975   # the df check all script will also hang, but we don't appear to pay attention to that
1976   -
1977     name: nfs mount ftp archive
1978     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp"
1979     hosts: merkel
1980   -
1981     name: nfs mount ftp archive
1982     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /srv/ftp.debian.org/ftp"
1983     hosts: bellini
1984
1985  ############ MISC OTHER Stuff ############
1986  #####
1987   -
1988     name: mirror sync - bugs
1989     check: "dsa_check_mirrorsync!bugs.debian.org!project/trace/bugs-master.debian.org"
1990     hosts: global
1991   -
1992     name: mirror sync - security
1993     check: "dsa_check_mirrorsync!security-nagios.debian.org!project/trace/security-master.debian.org"
1994     hosts: global
1995   -
1996     name: mirror sync - volatile
1997     check: "dsa_check_mirrorsync!volatile.debian.org!debian-volatile/project/trace/volatile-master.debian.org"
1998     hosts: global
1999   -
2000     name: mirror sync - packages
2001     check: "dsa_check_mirrorsync!packages.debian.org!Pics/.trace"
2002     hosts: global
2003     normal_check_interval: 15
2004     max_check_attempts: 5
2005     retry_check_interval: 5
2006   -
2007     name: DNS SOA sync - security.geo.debian.org
2008     check: "dsa_check_soas!security.geo.debian.org"
2009     hosts: global
2010   -
2011     name: DNS SOA sync - debian.org
2012     check: "dsa_check_soas_add!draghi.debian.org!debian.org"
2013     hosts: global
2014   -
2015     name: DNS SOA sync - debian.net
2016     check: "dsa_check_soas_add!draghi.debian.org!debian.net"
2017     hosts: global
2018   -
2019     name: DNS SOA sync - debian.com
2020     check: "dsa_check_soas_add!draghi.debian.org!debian.com"
2021     hosts: global
2022   -
2023     name: DNS SOA sync - mirror.debian.net
2024     check: "dsa_check_soas_add!draghi.debian.org!mirror.debian.net"
2025     hosts: global
2026   -
2027     name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa
2028     check: "dsa_check_soas_add!draghi.debian.org!144-28.118.59.86.in-addr.arpa"
2029     hosts: global
2030   -
2031     name: DNS SOA sync - alioth.debian.org
2032     check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org"
2033     hosts: global
2034   -
2035     name: DNS SOA sync - 2.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa
2036     check: "dsa_check_soas!2.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa"
2037     hosts: global
2038   -
2039     name: DNS SOA sync - a.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa
2040     check: "dsa_check_soas!a.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa"
2041     hosts: global
2042   -
2043     name: DNS SOA sync - 2.1.0.0.0.0.0.2.8.8.8.0.1.0.0.2.ip6.arpa
2044     check: "dsa_check_soas!2.1.0.0.0.0.0.2.8.8.8.0.1.0.0.2.ip6.arpa"
2045     hosts: global
2046   -
2047     name: DNS SOA sync - 2.6.a.0.4.6.5.6.1.0.0.0.2.0.0.0.8.d.8.0.1.0.0.2.ip6.arpa
2048     check: "dsa_check_soas!2.6.a.0.4.6.5.6.1.0.0.0.2.0.0.0.8.d.8.0.1.0.0.2.ip6.arpa"
2049     hosts: global
2050   -
2051     name: DNS SEC - signature expiry
2052     hosts: global
2053     remotecheck: "/usr/lib/nagios/plugins/dsa-check-zone-rrsig-expiration-many --warn 20d --critical 7d /var/cache/bind/git/domains"
2054     runfrom: draghi
2055   -
2056     name: DNS SEC - delegations
2057     hosts: global
2058     remotecheck: "/usr/lib/nagios/plugins/dsa-check-dnssec-delegation --dir /var/cache/bind/git/domains check-header"
2059     runfrom: draghi
2060
2061  ############
2062   -
2063     name: ping alive check
2064     remotecheck: "/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 50,10% -c 200,30%"
2065     runfrom: dijkstra
2066     hosts: giustini
2067     normal_check_interval: 5
2068     max_check_attempts: 4
2069     retry_check_interval: 1
2070   -
2071     name: Overall Unit Status
2072     remotecheck: "/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C public -P 2c -o connUnitStatus -n -c 3 -w 3"
2073     runfrom: dijkstra
2074     hosts: giustini
2075   -
2076     name: event log
2077     remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=789 $HOSTADDRESS$ public"
2078     runfrom: dijkstra
2079     hosts: giustini