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