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