[project @ peter@palfrader.org-20090201125442-69y1hh6cyrgixpoy]
[mirror/dsa-nagios.git] / 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 #  - raff:  identd, hpasmd
9 #  - spohr: hpasmd
10 #  - *: mailq
11 #  - *: check munin stats collection works
12 #  - *: check backups are successful
13 #  - *: unwanted: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some)
14 #  - goetz: gmond/gmetad
15 #  - verdi: pg upgrade, openvpn
16 #  - mundy: salinfo_decode
17
18 # down:
19 #  - sarti
20 #  - leisner
21
22 ---
23 #############################
24 # hosts
25 #############################
26 servers:
27   gw-man-da:
28     address: 82.195.75.126
29     parents: gw-HP-ftc
30     hostgroups: routing-infrastructure
31     contacts: joerg, bzed
32   gw-HP-ftc:
33     address: 192.25.206.1
34     parents: samosa
35     hostgroups: routing-infrastructure
36   gw-brainfood:
37     address: 70.103.162.1
38     parents: gw-HP-ftc
39     hostgroups: routing-infrastructure
40   gw-brown.edu:
41     address: 128.148.34.1
42     parents: gw-HP-ftc
43     hostgroups: routing-infrastructure
44   gw-osuosl:
45     address: 140.211.166.1
46     parents: gw-HP-ftc
47     hostgroups: routing-infrastructure
48   gw-scanplus-villa:
49     address: 212.211.132.1
50     parents: gw-HP-ftc
51     hostgroups: routing-infrastructure
52   gw-scanplus-lobos:
53     address: 212.211.132.249
54     parents: gw-HP-ftc
55     hostgroups: routing-infrastructure
56   gw-mit-csail:
57     address: 128.30.0.254
58     parents: gw-HP-ftc
59     hostgroups: routing-infrastructure
60   gw-xs4all:
61     address: 194.109.137.217
62     parents: gw-HP-ftc
63     hostgroups: routing-infrastructure
64   gw-umn.edu:
65     address: 128.101.240.222
66     parents: gw-HP-ftc
67     hostgroups: routing-infrastructure
68   gw-dg-i.net:
69     address: 195.49.152.190
70     parents: gw-HP-ftc
71     hostgroups: routing-infrastructure
72     contacts: bzed
73   gw-freenet:
74     address: 62.104.23.249
75     parents: gw-HP-ftc
76     hostgroups: routing-infrastructure
77   gw-topalis:
78     address: 195.243.109.254
79     parents: gw-HP-ftc
80     hostgroups: routing-infrastructure
81   gw-sanger:
82     address: 193.62.202.18
83     parents: gw-HP-ftc
84     hostgroups: routing-infrastructure
85     contacts: tjrc1
86   gw-lrz:
87     address: 129.187.0.150
88     parents: gw-HP-ftc
89     hostgroups: routing-infrastructure
90   gw-frost:
91     address: 130.81.242.195
92     parents: gw-HP-ftc
93     hostgroups: routing-infrastructure
94   gw-1und1:
95     address: 195.20.247.54
96     parents: gw-HP-ftc
97     hostgroups: routing-infrastructure
98     contacts: joerg
99   gw-1und1-karlsruhe:
100     address: 212.227.120.29
101     parents: gw-HP-ftc
102     hostgroups: routing-infrastructure
103   gw-blackcat:
104     address: 193.201.200.129
105     parents: gw-HP-ftc
106     hostgroups: routing-infrastructure
107   gw-xandros:
108     address: 67.210.160.81
109     parents: gw-HP-ftc
110     hostgroups: routing-infrastructure
111   gw-nmmn:
112     address: 217.114.76.81
113     parents: gw-HP-ftc
114     hostgroups: routing-infrastructure
115   gw-utwente:
116     address: 130.89.149.1
117     parents: gw-HP-ftc
118     hostgroups: routing-infrastructure
119   #gw-ughent:
120   #  address: 157.193.39.254
121   #  parents: gw-HP-ftc
122   #  hostgroups: routing-infrastructure
123   gw-agnesi:
124     address: 65.173.90.18
125     parents: gw-HP-ftc
126     hostgroups: routing-infrastructure
127   gw-ubc:
128     address: 137.82.84.94
129     parents: gw-HP-ftc
130     hostgroups: routing-infrastructure
131     contacts: lfilipoz
132   gw-carnet:
133     address: 161.53.160.1
134     parents: gw-HP-ftc
135     hostgroups: routing-infrastructure
136   gw-telegraaf:
137     address: 82.94.249.153
138     parents: gw-HP-ftc
139     hostgroups: routing-infrastructure
140   gw-helsinki:
141     address: 128.214.173.25
142     parents: gw-HP-ftc
143     hostgroups: routing-infrastructure
144     contacts: holger
145   gw-telefonica:
146     address: 195.71.99.193
147     parents: gw-HP-ftc
148     hostgroups: routing-infrastructure
149   gw-ball:
150     address: 78.32.9.209
151     parents: gw-HP-ftc
152     hostgroups: routing-infrastructure
153   gw-cst:
154     address: 213.188.99.215
155     parents: gw-HP-ftc
156     hostgroups: routing-infrastructure
157
158   global:
159     hostgroups: notacomputer
160     pingable: false
161     check_command: dsa_check_always_ok
162
163   samosa:
164     address: 192.25.206.57
165     hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim
166   raff:
167     address: 192.25.206.59
168     parents: samosa
169     hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client
170   gluck:
171     address: 192.25.206.10
172     parents: samosa
173     hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts
174   merkel:
175     address: 192.25.206.16
176     parents: samosa
177     hostgroups: computers, general, apache1-hosts, apache2-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim, nfs-client, ulogd-hosts
178   spohr:
179     address: 192.25.206.33
180     parents: samosa
181     hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server
182   peri:
183     address: 192.25.206.15
184     parents: samosa
185     hostgroups: computers, buildd, sw-raid, single-cpu
186     contacts: dannf
187   penalosa:
188     address: 192.25.206.68
189     parents: samosa
190     hostgroups: computers, buildd, sw-raid, single-cpu
191     contacts: dannf
192   mundy:
193     address: 192.25.206.62
194     parents: samosa
195     hostgroups: computers, no-udev, buildd
196   paer:
197     address: 192.25.206.11
198     parents: samosa
199     hostgroups: computers, porterbox, lenny
200   merulo:
201     address: 192.25.206.58
202     parents: samosa
203     hostgroups: computers, no-udev, porterbox
204
205   bartok:
206     address: 82.195.75.91
207     parents: gw-man-da
208     hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385, bind9-hosts
209     contacts: joerg, bzed
210   morales:
211     address: 82.195.75.97
212     parents: gw-man-da
213     hostgroups: computers, porterbox, single-cpu, no-samhain
214     contacts: bzed
215   sperger:
216     address: 82.195.75.98
217     parents: gw-man-da
218     hostgroups: computers, porterbox, sw-raid
219     contacts: bzed
220   agricola:
221     address: 82.195.75.86
222     parents: gw-man-da
223     hostgroups: computers, porterbox, sw-raid, single-cpu, lenny, no-samhain
224     contacts: bzed
225   arcadelt:
226     address: 82.195.75.87
227     parents: gw-man-da
228     hostgroups: computers, buildd, sw-raid, single-cpu, lenny, no-samhain
229     contacts: bzed
230   liszt:
231     address: 82.195.75.100
232     parents: gw-man-da
233     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts, dl385, acpid-hosts
234     contacts: bzed
235 #  auber:
236 #    address: 82.195.75.101
237 #    parents: gw-man-da
238 #    hostgroups: computers, no-udev, buildd, sw-raid
239 #    contacts: bzed
240
241   master:
242     address: 70.103.162.29
243     parents: gw-brainfood
244     hostgroups: computers, no-udev, general, apache2-hosts, bind9-hosts, heavy-exim, highload
245   murphy:
246     address: 70.103.162.31
247     parents: gw-brainfood
248     hostgroups: computers, general, postfix-hosts, dl380, acpid-hosts
249
250   ries:
251     address: 128.148.34.103
252     parents: gw-brown.edu
253     hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts, heavy-exim, acpid-hosts
254
255   mayer:
256     address: 140.211.166.78
257     parents: gw-osuosl
258     hostgroups: computers, no-udev, buildd
259   mayr:
260     address: 140.211.166.58
261     parents: gw-osuosl
262     hostgroups: computers, no-udev, buildd
263   malo:
264     address: 140.211.166.27
265     parents: gw-osuosl
266     hostgroups: computers, buildd, tftpd-hosts
267   rietz:
268     address: 140.211.166.43
269     parents: gw-osuosl
270     hostgroups: computers, no-udev, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-exim, highload
271   rietz2:
272     address: 140.211.166.44
273     parents: rietz
274     hostgroups: secondary-IPs
275
276   villa:
277     address: 212.211.132.32
278     parents: gw-scanplus-villa
279     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
280   lobos:
281     address: 212.211.132.250
282     parents: gw-scanplus-lobos
283     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
284
285   steffani:
286     address: 128.31.0.36
287     parents: gw-mit-csail
288     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts
289   mahler:
290     address: 128.31.0.46
291     parents: gw-mit-csail
292     hostgroups: computers, single-cpu, lenny, porterbox, rsyslog-hosts
293
294   klecker:
295     address: 194.109.137.218
296     parents: gw-xs4all
297     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts, heavy-exim
298
299   saens:
300     address: 128.101.240.212
301     parents: gw-umn.edu
302     hostgroups: computers, no-udev, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, heavy-exim
303
304   argento:
305     address: 195.49.152.174
306     parents: gw-dg-i.net
307     hostgroups: computers, buildd, sw-raid, single-cpu, lenny, no-samhain
308     contacts: bzed
309
310   pergolesi:
311     address: 62.104.23.252
312     parents: gw-freenet
313     hostgroups: computers, no-udev, porterbox, sw-raid
314   bruckner:
315     address: 62.104.23.253
316     parents: gw-freenet
317     hostgroups: computers, no-udev, porterbox, single-cpu
318
319   raptor:
320     address: 195.243.109.162
321     parents: gw-topalis
322     hostgroups: computers, porterbox, postfix-hosts
323
324   albeniz:
325     address: 193.62.202.27
326     parents: gw-sanger
327     # SMP kernel doesn't run stable
328     hostgroups: computers, porterbox, sw-raid, single-cpu
329     contacts: tjrc1
330   goetz:
331     address: 193.62.202.26
332     parents: gw-sanger
333     # SMP kernel doesn't run stable
334     hostgroups: computers, buildd, sw-raid, single-cpu
335     contacts: tjrc1
336   smetana:
337     address: 193.62.202.29
338     parents: gw-sanger
339     hostgroups: computers, porterbox, sw-raid
340     contacts: tjrc1
341
342   verdi:
343     address: 192.54.42.193
344     parents: gw-lrz
345     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, postgres81-hosts, postfix-hosts
346
347   voltaire:
348     address: 72.66.115.54
349     parents: gw-frost
350     hostgroups: computers, buildd
351     contacts: sfrost
352
353   puccini:
354     address: 87.106.4.56
355     parents: gw-1und1
356     hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts
357     contacts: joerg
358   powell:
359     address: 87.106.64.223
360     parents: gw-1und1
361     hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts
362     contacts: joerg
363
364   schumann:
365     address: 212.227.126.54
366     parents: gw-1und1-karlsruhe
367     hostgroups: computers, acpid-hosts, ulogd-hosts
368   wieck:
369     address: 195.20.242.89
370     parents: gw-1und1-karlsruhe
371     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, ulogd-hosts
372
373   caballero:
374     address: 193.201.200.200
375     parents: gw-blackcat
376     hostgroups: computers, no-udev, buildd, sw-raid, bind9-hosts
377
378   elara:
379     address: 67.210.160.90
380     parents: gw-xandros
381     hostgroups: deadslow
382   europa:
383     address: 67.210.160.89
384     parents: gw-xandros
385     hostgroups: deadslow
386
387   kullervo:
388     address: 217.114.76.82
389     parents: gw-nmmn
390     hostgroups: deadslow
391     contacts: luk
392   crest:
393     address: 217.114.76.83
394     parents: gw-nmmn
395     hostgroups: deadslow
396     contacts: luk
397   pescetti:
398     address: 217.114.76.85
399     parents: gw-nmmn
400     hostgroups: computers, porterbox, single-cpu, smart
401
402   kassia:
403     address: 130.89.149.224
404     parents: gw-utwente
405     hostgroups: computers, service, postfix-hosts, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl360, acpid-hosts, ulogd-hosts
406   kassia-sec:
407     address: 130.89.149.225
408     parents: kassia
409     hostgroups: secondary-IPs
410   kassia-ftp:
411     address: 130.89.149.226
412     parents: kassia
413     hostgroups: secondary-IPs
414   kassia4:
415     address: 130.89.149.227
416     parents: kassia
417     hostgroups: secondary-IPs
418
419   allegri:
420     address: 157.193.39.233
421     parents: gw-HP-ftc
422     hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny, no-samhain
423     contacts: luk
424
425   agnesi:
426     address: 65.173.90.83
427     parents: gw-agnesi
428     hostgroups: deadslow
429
430   spontini:
431     address: 137.82.84.65
432     parents: gw-ubc
433     hostgroups: computers, buildd
434     contacts: lfilipoz
435   ravel:
436     address: 137.82.84.66
437     parents: gw-ubc
438     hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts
439
440   lebrun:
441     address: 193.198.184.10
442     parents: gw-carnet
443     hostgroups: computers, buildd
444   schroeder:
445     address: 193.198.184.11
446     parents: gw-carnet
447     hostgroups: computers, buildd, sw-raid
448
449   tartini:
450     address: 82.94.249.158
451     parents: gw-telegraaf
452     hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts
453
454   piatti:
455     address: 193.167.161.225
456     parents: gw-helsinki
457     hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts, lenny
458     contacts: holger
459
460   rem:
461     address: 195.71.99.217
462     parents: gw-telefonica
463     hostgroups: computers, buildd
464
465   ball:
466     address: 78.32.9.213
467     parents: gw-ball
468     hostgroups: computers, buildd, no-udev, dialup
469
470   zelenka:
471     address: 80.245.147.40
472     parents: gw-HP-ftc
473     hostgroups: computers, porterbox, lenny
474
475   escher:
476     address: 213.188.99.215
477     parents: gw-cst
478     hostgroups: computers, single-cpu
479   goedel:
480     address: 213.188.99.214
481     parents: gw-cst
482     hostgroups: computers, single-cpu
483
484 #############################
485 # host groups
486 #
487 # hostgroups ircd and all are automatically defined
488 #
489 #############################
490 hostgroups:
491   computers:
492     alias: computers
493     private: 1
494   routing-infrastructure:
495     alias: Internet routers and friends
496     extinfo-icon_image: base/switch40.png
497     extinfo-icon_image_alt: router
498   notacomputer:
499     alias: Systems that are not really systems.  Yeah :)
500     private: 1
501   deadslow:
502     alias: Systems too slow to run any real checks
503   dialup:
504     alias: Systems with slow network
505
506   porterbox:
507     alias: developer accessible porter machines
508     extinfo-icon_image: base/debian.png
509     extinfo-icon_image_alt: Debian GNU/Linux
510     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
511   service:
512     alias: machines running services
513     extinfo-icon_image: base/debian.png
514     extinfo-icon_image_alt: Debian GNU/Linux
515     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
516   buildd:
517     alias: buildd systems
518     extinfo-icon_image: base/debian.png
519     extinfo-icon_image_alt: Debian GNU/Linux
520     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
521   general:
522     alias: general purpose developer accessible machines
523     extinfo-icon_image: base/debian.png
524     extinfo-icon_image_alt: Debian GNU/Linux
525     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
526
527   dl380:
528     alias: HP DL380 hosts
529     private: 1
530   dl385:
531     alias: HP DL385 hosts
532     private: 1
533   dl360:
534     alias: HP DL360 hosts
535     private: 1
536   sw-raid:
537     alias: Hosts with Linux software raid
538     private: 1
539   single-cpu:
540     alias: Hosts with only one CPU
541     private: 1
542
543   lenny:
544     alias: Hosts running lenny, not etch
545     private: 1
546
547   no-samhain:
548     alias: hosts not running samhain properly
549     private: 1
550
551   syslog-ng-hosts:
552     alias: hosts running syslog-ng instead of sysklogd
553     private: 1
554   rsyslog-hosts:
555     alias: hosts running rsyslogd instead of sysklogd
556     private: 1
557   postfix-hosts:
558     alias: hosts running postfix instead of exim
559     private: 1
560   heavy-exim:
561     alias: "hosts running the full mail stuff, including clamav, SA, and postgrey"
562     private: 1
563   heavy-postfix:
564     alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, policyd-weight"
565     private: 1
566   apache2-hosts:
567     alias: hosts running apache2
568     private: 1
569   apache1-hosts:
570     alias: hosts running apache1
571     private: 1
572   bind9-hosts:
573     alias: hosts running bind9
574     private: 1
575   amavis-hosts:
576     alias: hosts running amavis
577     private: 1
578   ftpd-hosts:
579     alias: hosts running vsftpd
580     private: 1
581   tftpd-hosts:
582     alias: hosts running a tftpd (tftpd-hpa as a daemon)
583     private: 1
584   rsyncd-hosts:
585     alias: hosts providing rsync services via xinetd
586     private: 1
587   postgres81-hosts:
588     alias: hosts running postgres81
589     private: 1
590   postgres83-hosts:
591     alias: hosts running postgres83
592     private: 1
593   mysql-hosts:
594     alias: hosts running mysql
595     private: 1
596   no-udev:
597     alias: hosts not using udev
598     private: 1
599   ulogd-hosts:
600     alias: hosts running ulogd
601     private: 1
602   acpid-hosts:
603     alias: hosts running acpid
604     private: 1
605
606   nfs-client:
607     alias: hosts mounting filesystems using NFS
608     private: 1
609   nfs-server:
610     alias: hosts serving filesystems using NFS
611     private: 1
612
613   highload:
614     alias: "hosts on which high load is normal"
615     private: 1
616
617   secondary-IPs:
618     alias: secondary IP addresses
619     private: 1
620
621   smart:
622     alias: hosts with smartd
623     private: 1
624
625
626 #############################
627 # servicegroups
628 #############################
629 servicegroups:
630   diskspace:
631     alias: diskusage checks
632   buildd:
633     alias: buildd checks
634   raid:
635     alias: raid checks
636   kernel:
637     alias: kernel checks
638   weaksshkeys:
639     alias: weak ssh keys
640   apt:
641     alias: apt upgrade status
642   samhain:
643     alias: samhain integrity status
644   security:
645     alias: security
646     servicegroup_members: apt, weaksshkeys, kernel, samhain
647
648 #############################
649 # services
650 #############################
651 services:
652   -
653     name: PING
654     check: "check_ping!300.0,20%!600.0,40%"
655     hostgroups: pingable
656     excludehostgroups: routing-infrastructure, dialup
657     normal_check_interval: 5
658     max_check_attempts: 4
659     retry_check_interval: 1
660   -
661     name: PING
662     check: "check_ping!2000.0,60%!3000.0,80%"
663     hostgroups: routing-infrastructure, dialup
664     normal_check_interval: 5
665     max_check_attempts: 4
666     retry_check_interval: 1
667
668  ############ Services ############
669  ###
670
671  ############ Disk Usage ############
672  ####
673   -
674     name: disk usage - all
675     servicegroups: diskspace
676     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
677     hostgroups: computers
678   -
679     name: disk usage on /
680     servicegroups: diskspace
681     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
682     hostgroups: computers
683     excludehosts: ries
684   -
685     name: disk usage on /
686     servicegroups: diskspace
687     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /"
688     hosts: ries
689   -
690     name: disk usage on /boot
691     servicegroups: diskspace
692     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
693     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, goetz, mayer, mayr, paer, spontini, tartini, morales, ravel, schroeder, piatti, rem, ball, goedel, escher
694   -
695     name: disk usage on /var
696     servicegroups: diskspace
697     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
698     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, voltaire, lebrun, tartini, morales, powell, escher
699   -
700     name: disk usage on /org
701     servicegroups: diskspace
702     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
703     hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, spontini, ravel, mahler, schroeder, piatti, pescetti
704   -
705     name: disk usage on /org
706     servicegroups: diskspace
707     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
708     hosts: merkel, bartok
709   -
710     name: disk usage on /srv
711     servicegroups: diskspace
712     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
713     hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini, zelenka
714   -
715     name: disk usage on /org/scratch
716     servicegroups: diskspace
717     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch"
718     hosts: merkel
719   -
720     name: disk usage on /tmp
721     servicegroups: diskspace
722     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
723     hosts: samosa, raff, gluck, saens, puccini, merkel, tartini, powell, piatti, escher
724   -
725     name: disk usage on /usr
726     servicegroups: diskspace
727     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
728     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, merulo, tartini, morales, powell
729   -
730     name: disk usage on /home
731     servicegroups: diskspace
732     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
733     hosts: raptor, voltaire, lebrun, rem, ball, paer, escher
734   -
735     name: disk usage on /home
736     servicegroups: diskspace
737     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
738     hosts: gluck
739   -
740     name: disk usage on /chroot
741     servicegroups: diskspace
742     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
743     hosts: raptor
744   -
745     name: disk usage on /mnt/hdc
746     servicegroups: diskspace
747     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
748     hosts: voltaire
749   -
750     name: disk usage on /mnt/sdb1
751     servicegroups: diskspace
752     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/sdb1"
753     hosts: spontini
754   -
755     name: disk usage on /x
756     servicegroups: diskspace
757     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
758     hosts: caballero
759
760  ############ All Computers ############
761  ####
762   -
763     name: apt - security updates
764     servicegroups: apt
765     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
766     hostgroups: computers
767     normal_check_interval:  60
768     retry_check_interval: 15
769  ####
770   -
771     name: backup
772     nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
773     hostgroups: computers
774     normal_check_interval: 180
775     max_check_attempts: 2
776     retry_check_interval: 5
777   -
778     name: backup server config
779     nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
780     hosts: bartok
781     normal_check_interval: 180
782     max_check_attempts: 2
783     retry_check_interval: 5
784
785  ####
786   -
787     name: running kernel
788     servicegroups: kernel
789     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
790     hostgroups: computers
791     normal_check_interval: 180
792     retry_check_interval: 5
793
794  ####
795   -
796     name: process - samhain
797     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'"
798     hostgroups: computers
799     excludehostgroups: no-samhain
800   -
801     name: samhain
802     servicegroups: samhain
803     nrpe: "/usr/lib/nagios/plugins/dsa-check-samhain -t 45"
804     hostgroups: computers
805     excludehostgroups: no-samhain
806     depends: process - samhain
807     normal_check_interval: 240
808     retry_check_interval: 5
809
810  ####
811   -
812     name: users
813     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
814     hostgroups: computers
815  ####
816   -
817     name: load
818     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
819     hostgroups: computers
820     excludehostgroups: highload
821   -
822     name: load
823     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
824     hostgroups: highload
825     excludehosts: rietz
826   -
827     name: load
828     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
829     hosts: rietz
830  ####
831   -
832     name: processes - zombies
833     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
834     hostgroups: computers
835  ####
836   -
837     name: processes - total
838     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
839     hostgroups: computers
840  ####
841   -
842     name: swap usage - percent
843     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
844     hostgroups: computers
845  ####
846   -
847     name: swap usage - mb
848     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
849     hostgroups: computers
850  ####
851   -
852     name: process - getty
853     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
854     hostgroups: computers
855     excludehosts: zelenka
856  ####
857   -
858     name: process - sshd
859     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
860     hostgroups: computers
861   -
862     name: "network service - sshd"
863     check: dsa_check_ssh
864     hostgroups: computers
865     depends: process - sshd
866     normal_check_interval:  60
867     notification_interval: 1440
868
869   -
870     name: "network service - sshd"
871     check: dsa_check_ssh
872     hostgroups: deadslow
873     excludehosts: agnesi
874     normal_check_interval:  180
875   -
876     name: "network service - sshd - 2260"
877     check: dsa_check_ssh_port!2260
878     hosts: agnesi
879     normal_check_interval:  180
880   -
881     name: "network service - sshd - 443"
882     check: dsa_check_ssh_port!443
883     hosts: gluck
884     normal_check_interval:  180
885
886   -
887     name: "network service - sshd - version"
888     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch3"
889     depends: network service - sshd
890     hostgroups: computers, deadslow
891     excludehosts: agnesi, crest, kullervo
892     excludehostgroups: lenny
893     normal_check_interval:  360
894   -
895     name: "network service - sshd - version"
896     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1"
897     depends: network service - sshd
898     hosts: crest, kullervo
899     normal_check_interval:  360
900   -
901     name: "network service - sshd - version"
902     check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5"
903     depends: network service - sshd
904     hostgroups: lenny
905     normal_check_interval:  360
906   -
907     name: "network service - sshd - version - 2260"
908     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch3"
909     depends: network service - sshd - 2260
910     hosts: agnesi
911     normal_check_interval:  360
912  #
913   -
914     name: ssh - weak keys
915     servicegroups: weaksshkeys
916     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
917     hostgroups: computers
918     normal_check_interval:  360
919  ####
920   -
921     name: network service - nrpe
922     check: check_tcp!5666
923     hostgroups: computers
924     max_check_attempts: -2
925     notification_interval: 1440
926   -
927     name: process - nrpe
928     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'"
929     hostgroups: computers
930     max_check_attempts: -1
931     depends: network service - nrpe
932  ###
933   -
934     name: process - munin-node
935     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
936     hostgroups: computers
937   -
938     name: network service - munin-node
939     check: check_tcp!4949
940     hostgroups: computers
941     depends: process - munin-node
942  ###
943   -
944     name: process - ntpd
945     # sarge: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
946     # etch: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ntp -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
947     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
948     hostgroups: computers
949     excludehosts: raptor, zelenka
950   -
951     name: network service - ntp
952     check: check_ntp
953     hostgroups: computers
954     depends: process - ntpd
955     excludehosts: raptor, allegri, zelenka
956   #
957   -
958     name: network service - time
959     check: dsa_check_time
960     hosts: raptor, allegri, zelenka
961     depends: process - xinetd
962
963  ###
964   -
965     name: process - atd
966     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
967     hostgroups: computers
968  ###
969   -
970     name: process - cron
971     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
972     hostgroups: computers
973
974  ###
975   -
976     name: process - syslog-ng
977     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'"
978     hostgroups: syslog-ng-hosts
979  ###
980   -
981     name: process - rsyslogd
982     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rsyslogd  -a '/usr/sbin/rsyslogd -c3'"
983     hostgroups: rsyslog-hosts
984  ###
985   -
986     name: process - syslogd
987     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
988     hostgroups: computers
989     excludehostgroups: syslog-ng-hosts, rsyslog-hosts
990   -
991     name: process - klogd
992     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
993     hostgroups: computers
994     excludehostgroups: syslog-ng-hosts, rsyslog-hosts
995
996  ### MAIL STUFF
997  ###
998   -
999     name: process - exim
1000     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
1001     hostgroups: computers
1002     excludehostgroups: postfix-hosts
1003     excludehosts: master, rietz, merkel
1004   -
1005     name: process - exim - total
1006     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
1007     hostgroups: computers
1008     excludehostgroups: postfix-hosts
1009     excludehosts: master, rietz, merkel
1010   -
1011     name: process - exim
1012     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
1013     hosts: master, rietz, merkel
1014  ###
1015   -
1016     name: process - clamav - clamd
1017     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
1018     hostgroups: heavy-exim, heavy-postfix
1019   -
1020     name: service - clamav
1021     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
1022     hostgroups: heavy-exim, heavy-postfix
1023     depends: process - clamav - clamd
1024   -
1025     name: process - clamav - freshclam
1026     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
1027     hostgroups: heavy-exim, heavy-postfix
1028   -
1029     name: process - clamav - getsigs
1030     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'"
1031     hostgroups: heavy-exim, heavy-postfix
1032   #
1033   -
1034     name: unwanted process - clamav
1035     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
1036     hostgroups: computers
1037     excludehostgroups: heavy-exim, heavy-postfix
1038   -
1039     name: unwanted process - freshclam
1040     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
1041     hostgroups: computers
1042     excludehostgroups: heavy-exim, heavy-postfix
1043   -
1044     name: unwanted process - clamav - getsigs
1045     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs"
1046     hostgroups: computers
1047     excludehostgroups: heavy-exim, heavy-postfix
1048  ###
1049   -
1050     name: process - spamd - master
1051     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'"
1052     hostgroups: heavy-exim
1053     excludehosts: rietz, merkel, raff
1054   -
1055     name: process - spamd - master
1056     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'"
1057     hosts: liszt
1058   -
1059     name: process - spamd - child
1060     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
1061     hosts: liszt
1062     hostgroups: heavy-exim
1063     depends: process - spamd - master
1064     excludehosts: rietz, merkel, raff
1065   #
1066   -
1067     name: process - spamd - master
1068     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
1069     hosts: rietz
1070   -
1071     name: process - spamd - child
1072     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
1073     hosts: rietz
1074   #
1075   -
1076     name: unwanted process - spamd
1077     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1078     hostgroups: computers
1079     excludehostgroups: heavy-exim
1080     excludehosts: liszt
1081   -
1082     name: unwanted process - spamd
1083     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1084     hosts: merkel, raff
1085
1086  ###
1087   #-
1088   #  name: process - greylistd
1089   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
1090   #  hostgroups: heavy-exim
1091   #
1092   -
1093     name: unwanted process - greylistd
1094     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
1095     hostgroups: computers
1096
1097  ###
1098   -
1099     name: process - postgrey
1100     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'"
1101     hostgroups: heavy-exim
1102   -
1103     name: process - postgrey
1104     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'"
1105     hostgroups: heavy-postfix
1106   #
1107   -
1108     name: unwanted process - postgrey
1109     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
1110     hostgroups: computers
1111     excludehostgroups: heavy-postfix, heavy-exim
1112  ###
1113   -
1114     name: process - amavis - master
1115     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
1116     hostgroups: amavis-hosts
1117   -
1118     name: process - amavis - all
1119     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
1120     hostgroups: amavis-hosts
1121     depends: process - amavis - master
1122   #
1123   -
1124     name: unwanted process - amavis
1125     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
1126     hostgroups: computers
1127     excludehostgroups: amavis-hosts
1128  ###
1129   -
1130     name: process - weightd - master
1131     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
1132     hostgroups: heavy-postfix
1133   -
1134     name: process - weightd - cache
1135     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
1136     hostgroups: heavy-postfix
1137     depends: process - weightd - master
1138   -
1139     name: process - weightd - child
1140     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
1141     hostgroups: heavy-postfix
1142     depends: process - weightd - master
1143   #
1144   -
1145     name: unwanted process - policyd-weight
1146     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
1147     hostgroups: computers
1148     excludehostgroups: heavy-postfix
1149
1150
1151
1152  ###
1153   -
1154     name: process - postfix - master
1155     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1156     hostgroups: postfix-hosts
1157   -
1158     name: process - postfix - qmgr
1159     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1160     hostgroups: postfix-hosts
1161     depends: process - postfix - master
1162   #-
1163   #  name: process - postfix - tlsmgr
1164   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1165   #  hostgroups: postfix-hosts
1166   #  depends: process - postfix - master
1167   -
1168     name: process - postfix - pickup
1169     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1170     hostgroups: postfix-hosts
1171     depends: process - postfix - master
1172   -
1173     name: process - postfix - anvil
1174     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1175     hostgroups: postfix-hosts
1176     depends: process - postfix - master
1177
1178   -
1179     name: process - postfix - trivial-rewrite
1180     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'"
1181     hostgroups: postfix-hosts
1182     depends: process - postfix - master
1183   -
1184     name: process - postfix - proxymap
1185     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1186     hostgroups: postfix-hosts
1187     depends: process - postfix - master
1188   -
1189     name: process - postfix - cleanup
1190     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1191     hostgroups: postfix-hosts
1192     depends: process - postfix - master
1193   -
1194     name: process - postfix - local
1195     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1196     hostgroups: postfix-hosts
1197     depends: process - postfix - master
1198
1199   -
1200     name: process - postfix - smtpd
1201     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:40 -c 0:90 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
1202     hostgroups: postfix-hosts
1203     excludehosts: liszt
1204     depends: process - postfix - master
1205   -
1206     name: process - postfix - smtp
1207     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1208     hostgroups: postfix-hosts
1209     excludehosts: liszt
1210     depends: process - postfix - master
1211
1212   -
1213     name: process - postfix - smtpd
1214     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'"
1215     hosts: liszt
1216     depends: process - postfix - master
1217   -
1218     name: process - postfix - smtp
1219     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1220     hosts: liszt
1221     depends: process - postfix - master
1222
1223  ###
1224   -
1225     name: network service - smtp
1226     check: dsa_check_smtp
1227     hostgroups: computers
1228     excludehostgroups: postfix-hosts
1229     depends: process - exim
1230
1231   -
1232     name: network service - smtp
1233     check: dsa_check_smtp
1234     hostgroups: postfix-hosts
1235     excludehosts: verdi, kassia, allegri, raptor, piatti
1236     depends: process - postfix - master
1237   -
1238     name: network service - smtp - port 2025
1239     check: dsa_check_smtp_port!2025
1240     hosts: verdi, kassia, murphy, allegri, piatti
1241     depends: process - postfix - master
1242   -
1243     name: network service - smtp - port 8080
1244     check: dsa_check_smtp_port!8080
1245     hosts: murphy
1246     depends: process - postfix - master
1247   -
1248     name: network service - smtp - port 2025
1249     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1250     runfrom: murphy
1251     hosts: raptor
1252     depends: process - postfix - master
1253
1254   -
1255     name: network service local - smtps cert
1256     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1257     hostgroups: postfix-hosts
1258     depends: process - postfix - master
1259     normal_check_interval: 120
1260
1261
1262   -
1263     name: setup - dsa config
1264     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1265     hostgroups: computers
1266     normal_check_interval: 120
1267   -
1268     name: setup - ud-ldap freshness
1269     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1270     hostgroups: computers
1271  ###
1272   -
1273     name: process - uptimed
1274     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1275     hostgroups: computers
1276  ###
1277   -
1278     name: process - irqbalance
1279     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1280     hostgroups: computers
1281     excludehostgroups: single-cpu
1282   -
1283     name: unwanted process - irqbalance
1284     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1285     hostgroups: single-cpu
1286
1287  ####
1288  ###
1289   #-
1290   #  name: unwanted process - system-tools-backends
1291   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1292   #  hostgroups: computers
1293   #-
1294   #  name: unwanted process - dbus-daemon
1295   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1296   #  hostgroups: computers
1297   -
1298     name: unwanted process - gkrellmd
1299     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1300     hostgroups: computers
1301   -
1302     name: unwanted process - portmap
1303     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1304     hostgroups: computers
1305     excludehostgroups: nfs-client, nfs-server
1306   -
1307     name: unwanted process - rpc.statd
1308     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1309     hostgroups: computers
1310     excludehostgroups: nfs-client, nfs-server
1311   -
1312     name: unwanted process - inetd
1313     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1314     hostgroups: computers
1315   -
1316     name: unwanted process - snmpd
1317     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1318     hostgroups: computers
1319     excludehosts: lobos, villa
1320
1321
1322  ############ Processes/Services that only run on some computers ############
1323  ####
1324  ###
1325   -
1326     name: process - rngd
1327     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1328     hostgroups: dl385
1329  ###
1330   -
1331     name: process - sensord
1332     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
1333     hosts: bartok
1334
1335  ###
1336   -
1337     name: process - mdadm monitor
1338     servicegroups: raid
1339     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'"
1340     hostgroups: sw-raid
1341   -
1342     name: RAID - sw raid
1343     servicegroups: raid
1344     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1345     hostgroups: sw-raid
1346
1347  ###
1348   -
1349     name: process - cpqarrayd
1350     servicegroups: raid
1351     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1352     hostgroups: dl385, dl380, dl360
1353   -
1354     name: RAID - arrayprobe
1355     servicegroups: raid
1356     nrpe: "sudo /usr/bin/arrayprobe"
1357     hostgroups: dl385, dl380, dl360
1358   -
1359     name: HW - hpacucli status
1360     servicegroups: raid
1361     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1362     normal_check_interval: 120
1363     hostgroups: dl385, dl380, dl360
1364  ###
1365   -
1366     name: RAID - areca
1367     servicegroups: raid
1368     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-areca"
1369     hosts: powell
1370  ###
1371   -
1372     name: RAID - DAC960
1373     servicegroups: raid
1374     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1375     hosts: verdi
1376  ###
1377   -
1378     name: RAID - 3ware
1379     servicegroups: raid
1380     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1381     hosts: puccini
1382  ###
1383   -
1384     name: RAID - MPT
1385     servicegroups: raid
1386     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1387     hosts: master
1388
1389  ###
1390   -
1391     name: process - slapd
1392     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'"
1393     hosts: samosa
1394  ###
1395   -
1396     name: process - ulogd
1397     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
1398     hostgroups: ulogd-hosts
1399   -
1400     name: unexpected process - ulogd
1401     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
1402     hostgroups: computers
1403     excludehostgroups: ulogd-hosts
1404  ###
1405   -
1406     name: process - udevd
1407     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1408     hostgroups: computers
1409     excludehostgroups: no-udev
1410   -
1411     name: unexpected process - udev
1412     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
1413     hostgroups: no-udev
1414  ###
1415   -
1416     name: process - acpid
1417     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
1418     hostgroups: acpid-hosts
1419   -
1420     name: unexpected process - acpid
1421     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
1422     hostgroups: computers
1423     excludehostgroups: acpid-hosts
1424
1425  ###
1426   -
1427     name: process - xinetd
1428     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'"
1429     hosts: samosa, raptor, allegri, gluck, zelenka
1430     hostgroups: rsyncd-hosts
1431   -
1432     name: unwanted process - xinetd
1433     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1434     hostgroups: computers
1435     excludehosts: samosa, raptor, allegri, gluck, zelenka
1436     excludehostgroups: rsyncd-hosts
1437  ###
1438   -
1439     name: network service - finger
1440     check: check_tcp!79
1441     hosts: samosa
1442     depends: process - xinetd
1443  ###
1444   -
1445     name: network service - rsync
1446     check: check_tcp!873
1447     hostgroups: rsyncd-hosts
1448     depends: process - xinetd
1449
1450   -
1451     name: network service - rsync
1452     check: check_tcp!873
1453     hosts: rietz2
1454     depends: rietz:process - xinetd
1455
1456   -
1457     name: network service - rsync
1458     check: check_tcp!873
1459     hosts: kassia-sec
1460     depends: kassia:process - xinetd
1461
1462  ###
1463   -
1464     name: process - nagios3
1465     # there is always one extra process per check currently running..
1466     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'"
1467     hosts: samosa
1468
1469  ###
1470   -
1471     name: process - apache2 - master
1472     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1473     hostgroups: apache2-hosts
1474   -
1475     name: process - apache2 - worker
1476     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1477     hostgroups: apache2-hosts
1478     depends: process - apache2 - master
1479   -
1480     name: network service - http
1481     check: check_http
1482     hostgroups: apache2-hosts
1483     excludehosts: kassia
1484     depends: process - apache2 - master
1485   -
1486     name: network service - http
1487     check: check_http
1488     depends: kassia:process - apache2 - master
1489     hosts: kassia-sec, kassia-ftp
1490
1491
1492   -
1493     name: process - apache - master
1494     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1495     hostgroups: apache1-hosts
1496   -
1497     name: process - apache - worker
1498     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1499     hostgroups: apache1-hosts
1500     depends: process - apache - master
1501   -
1502     name: network service - http
1503     check: check_http
1504     hostgroups: apache1-hosts
1505     depends: process - apache - master
1506
1507   -
1508     name: network service - http keyserver
1509     check: dsa_check_http_port!11371
1510     hosts: raff
1511     depends: process - apache2 - master
1512
1513   -
1514     name: network service - https
1515     check: check_https
1516     hosts: samosa, ries
1517     depends: "process - apache2 - master"
1518     normal_check_interval: 120
1519   -
1520     name: network service - https cert
1521     check: dsa_check_cert!443
1522     hosts: samosa, ries
1523     depends: network service - https
1524     normal_check_interval: 240
1525  ####
1526   -
1527     name: process - named
1528     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1529     hostgroups: bind9-hosts
1530   -
1531     name: network service - dns
1532     check: check_dns
1533     hostgroups: bind9-hosts
1534     depends: process - named
1535   -
1536     name: unwanted process - named
1537     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1538     hostgroups: computers
1539     excludehostgroups: bind9-hosts
1540
1541  ####
1542   -
1543     name: process - vsftp - listener
1544     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1545     hostgroups: ftpd-hosts
1546     excludehosts: kassia
1547   -
1548     name: process - vsftp - instance
1549     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1550     hostgroups: ftpd-hosts
1551     excludehosts: kassia
1552   -
1553     name: network service - ftp
1554     check: check_ftp
1555     hostgroups: ftpd-hosts
1556     excludehosts: kassia
1557     depends: process - vsftp - listener
1558   -
1559     name: network service - ftp
1560     check: check_ftp
1561     hosts: kassia-sec, kassia-ftp
1562     depends: kassia:process - xinetd
1563
1564  ####
1565   -
1566     name: process - debianqueued
1567     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1568     hosts: ries, ravel, klecker
1569
1570  ###
1571   -
1572     name: process - postresql81 - master
1573     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'"
1574     hostgroups: postgres81-hosts
1575   -
1576     name: process - postresql81 - writer
1577     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1578     hostgroups: postgres81-hosts
1579     depends: process - postresql81 - master
1580   -
1581     name: process - postresql81 - buffer
1582     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1583     hostgroups: postgres81-hosts
1584     depends: process - postresql81 - master
1585   -
1586     name: process - postresql81 - collector
1587     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1588     hostgroups: postgres81-hosts
1589     depends: process - postresql81 - master
1590  ####
1591   -
1592     name: process - postresql83 - master
1593     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'"
1594     hostgroups: postgres83-hosts
1595     excludehosts: piatti
1596   -
1597     name: process - postresql83 - master
1598     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'"
1599     hosts: piatti
1600   -
1601     name: process - postresql83 - writer
1602     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'"
1603     hostgroups: postgres83-hosts
1604     depends: process - postresql83 - master
1605   -
1606     name: process - postresql83 - wal writer
1607     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: wal writer process'"
1608     hostgroups: postgres83-hosts
1609     depends: process - postresql83 - master
1610   -
1611     name: process - postresql83 - autovacuum launcher
1612     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: autovacuum launcher process'"
1613     hostgroups: postgres83-hosts
1614     depends: process - postresql83 - master
1615   -
1616     name: process - postresql83 - stats collector
1617     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: stats collector process'"
1618     hostgroups: postgres83-hosts
1619     depends: process - postresql83 - master
1620  ####
1621   -
1622     name: process - mysql - master
1623     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1624     hostgroups: mysql-hosts
1625   -
1626     name: process - mysql - workers
1627     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1628     hostgroups: mysql-hosts
1629     depends: process - mysql - master
1630
1631  ####
1632   -
1633     name: process - stunnel4 - postgres-udd
1634     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'"
1635     hosts: piatti
1636   -
1637     name: process - stunnel4 - postgres-udd
1638     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd.conf'"
1639     hosts: merkel
1640
1641  ####
1642   #-
1643   #  name: process - xenconsoled
1644   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1645   #  hosts: piatti
1646   #-
1647   #  name: process - xenstored
1648   #  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'"
1649   #  hosts: piatti
1650   #-
1651   #  name: process - xend
1652   #  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'"
1653   #  hosts: piatti
1654 #
1655  ####
1656   # XXX is this needed?
1657   -
1658     name: process - snmpd
1659     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u snmp -C snmpd -a '/usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'"
1660     hosts: lobos, villa
1661
1662  ###
1663   -
1664     name: process - buildd
1665     servicegroups: buildd
1666     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1667     hostgroups: buildd
1668     contacts: luk
1669
1670  ###
1671   -
1672     name: process - iscsid
1673     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1674     hosts: raptor
1675
1676  ###
1677   -
1678     name: process - tftpd
1679     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'"
1680     hostgroups: tftpd-hosts
1681  ###
1682 #  -
1683 #    name: process - dhcpd
1684 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1685 #    hosts: paer
1686  ###
1687   -
1688     name: process - monit
1689     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C monit -a '/usr/sbin/monit -d 30 -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
1690     hosts: villa, lobos, steffani, kassia, master
1691  ###
1692   -
1693     name: process - smartd
1694     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'"
1695     hostgroups: smart
1696
1697  ############ NFS Stuff ############
1698  ####
1699   -
1700     name: process - portmap
1701     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'"
1702     hostgroups: nfs-client, nfs-server
1703   -
1704     name: process - statd
1705     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
1706     hostgroups: nfs-client, nfs-server
1707   -
1708     name: process - nfsd
1709     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
1710     hostgroups: nfs-server
1711   -
1712     name: process - lockd
1713     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C lockd -a '[lockd]'"
1714     hostgroups: nfs-server
1715   -
1716     name: process - mountd
1717     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'"
1718     hostgroups: nfs-server
1719  # see if the nfs stuff works and doesn't hang.
1720   # the df check all script will also hang, but we don't appear to pay attention to that
1721   -
1722     name: nfs mount ftp archive
1723     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /home/org/ftp.root/debian"
1724     hosts: gluck
1725   -
1726     name: nfs mount ftp archive
1727     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp"
1728     hosts: merkel, raff
1729
1730  ############ MISC OTHER Stuff ############
1731  #####
1732   -
1733     name: mirror sync - security
1734     check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org"
1735     hosts: global
1736   -
1737     name: mirror sync - security.eu
1738     check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org"
1739     hosts: global
1740   -
1741     name: mirror sync - security.us
1742     check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org"
1743     hosts: global
1744   -
1745     name: DNS SOA sync - debprivate-ftcollins.debian.org
1746     check: "dsa_check_soas!debprivate-ftcollins.debian.org"
1747     hosts: global
1748   -
1749     name: DNS SOA sync - debian.org
1750     check: "dsa_check_soas_add!samosa.debian.org!debian.org"
1751     hosts: global
1752   -
1753     name: DNS SOA sync - debian.net
1754     check: "dsa_check_soas_add!samosa.debian.org!debian.net"
1755     hosts: global
1756   -
1757     name: DNS SOA sync - debian.com
1758     check: "dsa_check_soas_add!samosa.debian.org!debian.com"
1759     hosts: global
1760   -
1761     name: DNS SOA sync - mirror.debian.net
1762     check: "dsa_check_soas_add!samosa.debian.org!mirror.debian.net"
1763     hosts: global
1764   -
1765     name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa
1766     check: "dsa_check_soas_add!samosa.debian.org!144-28.118.59.86.in-addr.arpa"
1767     hosts: global
1768   -
1769     name: DNS SOA sync - alioth.debian.org
1770     check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org"
1771     hosts: global