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