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