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