[project @ peter@palfrader.org-20080525080839-r23ylyevwsv86os8]
[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     excludehosts: ries
558   -
559     name: disk usage on /
560     servicegroups: diskspace
561     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /"
562     hosts: ries
563   -
564     name: disk usage on /boot
565     servicegroups: diskspace
566     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
567     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer, spontini, tartini
568   -
569     name: disk usage on /var
570     servicegroups: diskspace
571     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
572     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher, voltaire, puccini, lebrun, tartini
573   -
574     name: disk usage on /org
575     servicegroups: diskspace
576     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
577     hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini, spontini
578   -
579     name: disk usage on /org
580     servicegroups: diskspace
581     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
582     hosts: merkel
583   -
584     name: disk usage on /srv
585     servicegroups: diskspace
586     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
587     hosts: agricola, arcadelt, argento, allegri, tartini
588   -
589     name: disk usage on /org/scratch
590     servicegroups: diskspace
591     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch"
592     hosts: merkel
593   -
594     name: disk usage on /tmp
595     servicegroups: diskspace
596     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
597     hosts: samosa, raff, gluck, saens, escher, puccini, merkel, tartini
598   -
599     name: disk usage on /usr
600     servicegroups: diskspace
601     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
602     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, puccini, merulo, tartini
603   -
604     name: disk usage on /home
605     servicegroups: diskspace
606     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
607     hosts: raptor, escher, voltaire, lebrun
608   -
609     name: disk usage on /home
610     servicegroups: diskspace
611     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
612     hosts: gluck
613   -
614     name: disk usage on /chroot
615     servicegroups: diskspace
616     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
617     hosts: raptor
618   -
619     name: disk usage on /mnt/hdc
620     servicegroups: diskspace
621     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
622     hosts: voltaire
623   -
624     name: disk usage on /mnt/sdb1
625     servicegroups: diskspace
626     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/sdb1"
627     hosts: spontini
628   -
629     name: disk usage on /x
630     servicegroups: diskspace
631     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
632     hosts: caballero
633
634  ############ All Computers ############
635  ####
636   -
637     name: apt - security updates
638     servicegroups: apt
639     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
640     hostgroups: computers
641     normal_check_interval:  360
642  ####
643   -
644     name: backup
645     nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
646     hostgroups: computers
647     normal_check_interval: 180
648     max_check_attempts: 2
649     retry_check_interval: 5
650
651  ####
652   -
653     name: running kernel
654     servicegroups: kernel
655     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
656     hostgroups: computers
657     normal_check_interval: 180
658     retry_check_interval: 5
659
660  ####
661   -
662     name: users
663     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
664     hostgroups: computers
665  ####
666   -
667     name: load
668     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
669     hostgroups: computers
670     excludehostgroups: highload
671   -
672     name: load
673     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
674     hostgroups: highload
675     excludehosts: rietz
676   -
677     name: load
678     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
679     hosts: rietz
680  ####
681   -
682     name: processes - zombies
683     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
684     hostgroups: computers
685  ####
686   -
687     name: processes - total
688     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
689     hostgroups: computers
690  ####
691   -
692     name: swap usage - percent
693     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
694     hostgroups: computers
695  ####
696   -
697     name: swap usage - mb
698     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
699     hostgroups: computers
700  ####
701   -
702     name: process - getty
703     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
704     hostgroups: computers
705  ####
706   -
707     name: process - sshd
708     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
709     hostgroups: computers
710   -
711     name: "network service - sshd"
712     check: dsa_check_ssh
713     hostgroups: computers
714     depends: process - sshd
715     normal_check_interval:  60
716     notification_interval: 1440
717
718   -
719     name: "network service - sshd"
720     check: dsa_check_ssh
721     hostgroups: deadslow
722     excludehosts: agnesi
723     normal_check_interval:  180
724   -
725     name: "network service - sshd - 2260"
726     check: dsa_check_ssh_port!2260
727     hosts: agnesi
728     normal_check_interval:  180
729   -
730     name: "network service - sshd - 443"
731     check: dsa_check_ssh_port!443
732     hosts: gluck
733     normal_check_interval:  180
734
735   -
736     name: "network service - sshd - version"
737     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2"
738     depends: network service - sshd
739     hostgroups: computers, deadslow
740     excludehosts: agnesi
741     excludehostgroups: lenny
742     normal_check_interval:  360
743   -
744     name: "network service - sshd - version"
745     check: "dsa_check_ssh_port_version!22!OpenSSH_4.7p1 Debian-9"
746     depends: network service - sshd
747     hostgroups: lenny
748     normal_check_interval:  360
749   -
750     name: "network service - sshd - version - 2260"
751     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch2"
752     depends: network service - sshd - 2260
753     hosts: agnesi
754     normal_check_interval:  360
755  #
756   -
757     name: ssh - weak keys
758     servicegroups: weaksshkeys
759     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
760     hostgroups: computers
761     normal_check_interval:  360
762  ####
763   -
764     name: network service - nrpe
765     check: check_tcp!5666
766     hostgroups: computers
767     max_check_attempts: -2
768     notification_interval: 1440
769   -
770     name: process - nrpe
771     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'"
772     hostgroups: computers
773     max_check_attempts: -1
774     depends: network service - nrpe
775  ###
776   -
777     name: process - munin-node
778     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
779     hostgroups: computers
780   -
781     name: network service - munin-node
782     check: check_tcp!4949
783     hostgroups: computers
784     depends: process - munin-node
785  ###
786   -
787     name: process - ntpd
788     # 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'"
789     # 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'"
790     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
791     hostgroups: computers
792     excludehosts: raptor
793   -
794     name: network service - ntp
795     check: check_ntp
796     hostgroups: computers
797     depends: process - ntpd
798     excludehosts: raptor, allegri
799   #
800   -
801     name: network service - time
802     check: dsa_check_time
803     hosts: raptor, allegri
804     depends: process - xinetd
805
806  ###
807   -
808     name: process - atd
809     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
810     hostgroups: computers
811  ###
812   -
813     name: process - cron
814     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
815     hostgroups: computers
816
817  ###
818   -
819     name: process - syslog-ng
820     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'"
821     hostgroups: syslog-ng-hosts
822  ###
823   -
824     name: process - syslogd
825     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
826     hostgroups: computers
827     excludehostgroups: syslog-ng-hosts
828   -
829     name: process - klogd
830     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
831     hostgroups: computers
832     excludehostgroups: syslog-ng-hosts
833
834  ### MAIL STUFF
835  ###
836   -
837     name: process - exim
838     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
839     hostgroups: computers
840     excludehostgroups: postfix-hosts
841     excludehosts: master, rietz, merkel
842   -
843     name: process - exim - total
844     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
845     hostgroups: computers
846     excludehostgroups: postfix-hosts
847     excludehosts: master, rietz, merkel
848   -
849     name: process - exim
850     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
851     hosts: master, rietz, merkel
852  ###
853   -
854     name: process - clamav - clamd
855     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
856     hostgroups: heavy-exim, heavy-postfix
857   -
858     name: service - clamav
859     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
860     hostgroups: heavy-exim, heavy-postfix
861     depends: process - clamav - clamd
862   -
863     name: process - clamav - freshclam
864     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
865     hostgroups: heavy-exim, heavy-postfix
866   #
867   -
868     name: unwanted process - clamav
869     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
870     hostgroups: computers
871     excludehostgroups: heavy-exim, heavy-postfix
872   -
873     name: unwanted process - freshclam
874     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
875     hostgroups: computers
876     excludehostgroups: heavy-exim, heavy-postfix
877  ###
878   -
879     name: process - spamd - master
880     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'"
881     hostgroups: heavy-exim
882     excludehosts: rietz, merkel, raff
883   -
884     name: process - spamd - master
885     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'"
886     hosts: liszt
887   -
888     name: process - spamd - child
889     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
890     hosts: liszt
891     hostgroups: heavy-exim
892     depends: process - spamd - master
893     excludehosts: rietz, merkel, raff
894   #
895   -
896     name: process - spamd - master
897     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
898     hosts: rietz
899   -
900     name: process - spamd - child
901     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
902     hosts: rietz
903   #
904   -
905     name: unwanted process - spamd
906     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
907     hostgroups: computers
908     excludehostgroups: heavy-exim
909     excludehosts: liszt
910   -
911     name: unwanted process - spamd
912     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
913     hosts: merkel, raff
914
915  ###
916   -
917     name: process - greylistd
918     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
919     hostgroups: heavy-exim
920   #
921   -
922     name: unwanted process - greylistd
923     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
924     hostgroups: computers
925     excludehostgroups: heavy-exim
926
927  ###
928   -
929     name: process - postgrey
930     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'"
931     hostgroups: heavy-postfix
932   #
933   -
934     name: unwanted process - postgrey
935     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
936     hostgroups: computers
937     excludehostgroups: heavy-postfix
938  ###
939   -
940     name: process - amavis - master
941     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
942     hostgroups: amavis-hosts
943   -
944     name: process - amavis - all
945     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
946     hostgroups: amavis-hosts
947     depends: process - amavis - master
948   #
949   -
950     name: unwanted process - amavis
951     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
952     hostgroups: computers
953     excludehostgroups: amavis-hosts
954  ###
955   -
956     name: process - weightd - master
957     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
958     hostgroups: heavy-postfix
959   -
960     name: process - weightd - cache
961     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
962     hostgroups: heavy-postfix
963     depends: process - weightd - master
964   -
965     name: process - weightd - child
966     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
967     hostgroups: heavy-postfix
968     depends: process - weightd - master
969   #
970   -
971     name: unwanted process - policyd-weight
972     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
973     hostgroups: computers
974     excludehostgroups: heavy-postfix
975
976
977
978  ###
979   -
980     name: process - postfix - master
981     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
982     hostgroups: postfix-hosts
983   -
984     name: process - postfix - qmgr
985     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
986     hostgroups: postfix-hosts
987     depends: process - postfix - master
988   #-
989   #  name: process - postfix - tlsmgr
990   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
991   #  hostgroups: postfix-hosts
992   #  depends: process - postfix - master
993   -
994     name: process - postfix - pickup
995     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
996     hostgroups: postfix-hosts
997     depends: process - postfix - master
998   -
999     name: process - postfix - anvil
1000     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1001     hostgroups: postfix-hosts
1002     depends: process - postfix - master
1003
1004   -
1005     name: process - postfix - trivial-rewrite
1006     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'"
1007     hostgroups: postfix-hosts
1008     depends: process - postfix - master
1009   -
1010     name: process - postfix - proxymap
1011     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1012     hostgroups: postfix-hosts
1013     depends: process - postfix - master
1014   -
1015     name: process - postfix - cleanup
1016     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1017     hostgroups: postfix-hosts
1018     depends: process - postfix - master
1019   -
1020     name: process - postfix - local
1021     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1022     hostgroups: postfix-hosts
1023     depends: process - postfix - master
1024
1025   -
1026     name: process - postfix - smtpd
1027     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'"
1028     hostgroups: postfix-hosts
1029     excludehosts: liszt
1030     depends: process - postfix - master
1031   -
1032     name: process - postfix - smtp
1033     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1034     hostgroups: postfix-hosts
1035     excludehosts: liszt
1036     depends: process - postfix - master
1037
1038   -
1039     name: process - postfix - smtpd
1040     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'"
1041     hosts: liszt
1042     depends: process - postfix - master
1043   -
1044     name: process - postfix - smtp
1045     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1046     hosts: liszt
1047     depends: process - postfix - master
1048
1049  ###
1050   -
1051     name: network service - smtp
1052     check: dsa_check_smtp
1053     hostgroups: computers
1054     excludehostgroups: postfix-hosts
1055     depends: process - exim
1056
1057   -
1058     name: network service - smtp
1059     check: dsa_check_smtp
1060     hostgroups: postfix-hosts
1061     excludehosts: verdi, kassia, allegri, raptor, piatti
1062     depends: process - postfix - master
1063   -
1064     name: network service - smtp - port 2025
1065     check: dsa_check_smtp_port!2025
1066     hosts: verdi, kassia, murphy, allegri, piatti
1067     depends: process - postfix - master
1068   -
1069     name: network service - smtp - port 8080
1070     check: dsa_check_smtp_port!8080
1071     hosts: murphy, piatti
1072     depends: process - postfix - master
1073   -
1074     name: network service - smtp - port 2025
1075     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1076     runfrom: murphy
1077     hosts: raptor
1078     depends: process - postfix - master
1079
1080   -
1081     name: network service local - smtps cert
1082     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1083     hostgroups: postfix-hosts
1084     depends: process - postfix - master
1085     normal_check_interval: 120
1086
1087
1088   -
1089     name: setup - debian-admin in etc aliases
1090     nrpe: "/usr/lib/nagios/plugins/dsa-check-da-in-aliases"
1091     hostgroups: computers
1092     normal_check_interval: 120
1093   -
1094     name: setup - ud-ldap freshness
1095     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1096     hostgroups: computers
1097  ###
1098   -
1099     name: process - uptimed
1100     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1101     hostgroups: computers
1102  ###
1103   -
1104     name: process - irqbalance
1105     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1106     hostgroups: computers
1107     excludehostgroups: single-cpu
1108   -
1109     name: unwanted process - irqbalance
1110     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1111     hostgroups: single-cpu
1112
1113  ####
1114  ###
1115   #-
1116   #  name: unwanted process - system-tools-backends
1117   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1118   #  hostgroups: computers
1119   #-
1120   #  name: unwanted process - dbus-daemon
1121   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1122   #  hostgroups: computers
1123   -
1124     name: unwanted process - gkrellmd
1125     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1126     hostgroups: computers
1127   -
1128     name: unwanted process - portmap
1129     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1130     hostgroups: computers
1131   -
1132     name: unwanted process - rpc.statd
1133     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1134     hostgroups: computers
1135   -
1136     name: unwanted process - inetd
1137     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1138     hostgroups: computers
1139   -
1140     name: unwanted process - snmpd
1141     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1142     hostgroups: computers
1143     excludehosts: lobos, villa
1144
1145
1146  ############ Processes/Services that only run on some computers ############
1147  ####
1148  ###
1149   -
1150     name: process - rngd
1151     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1152     hosts: bartok
1153  ###
1154   -
1155     name: process - sensord
1156     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
1157     hosts: bartok
1158
1159  ###
1160   -
1161     name: process - mdadm monitor
1162     servicegroups: raid
1163     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'"
1164     hostgroups: sw-raid
1165   -
1166     name: RAID - sw raid
1167     servicegroups: raid
1168     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1169     hostgroups: sw-raid
1170
1171  ###
1172   -
1173     name: process - cpqarrayd
1174     servicegroups: raid
1175     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1176     hostgroups: dl385, dl380, dl360
1177   -
1178     name: RAID - arrayprobe
1179     servicegroups: raid
1180     nrpe: "sudo /usr/bin/arrayprobe"
1181     hostgroups: dl385, dl380, dl360
1182   -
1183     name: HW - hpacucli status
1184     servicegroups: raid
1185     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1186     hostgroups: dl385, dl380, dl360
1187  ###
1188   -
1189     name: RAID - DAC960
1190     servicegroups: raid
1191     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1192     hosts: verdi
1193  ###
1194   -
1195     name: RAID - 3ware
1196     servicegroups: raid
1197     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1198     hosts: puccini
1199  ###
1200   -
1201     name: RAID - MPT
1202     servicegroups: raid
1203     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1204     hosts: master
1205
1206  ###
1207   -
1208     name: process - slapd
1209     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'"
1210     hosts: samosa
1211  ###
1212   -
1213     name: process - udevd
1214     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1215     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia, agricola, arcadelt, argento, allegri
1216  ###
1217   -
1218     name: process - acpid
1219     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'"
1220     hosts: ries, steffani, liszt, kassia
1221
1222  ###
1223   -
1224     name: process - xinetd
1225     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'"
1226     hosts: samosa, raptor, allegri
1227     hostgroups: rsyncd-hosts
1228   -
1229     name: unwanted process - xinetd
1230     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1231     hostgroups: computers
1232     excludehosts: samosa, raptor, allegri
1233     excludehostgroups: rsyncd-hosts
1234  ###
1235   -
1236     name: network service - finger
1237     check: check_tcp!79
1238     hosts: samosa
1239     depends: process - xinetd
1240  ###
1241   -
1242     name: network service - rsync
1243     check: check_tcp!873
1244     hostgroups: rsyncd-hosts
1245     depends: process - xinetd
1246
1247   -
1248     name: network service - rsync
1249     check: check_tcp!873
1250     hosts: rietz2
1251     depends: rietz:process - xinetd
1252
1253  ###
1254   -
1255     name: process - nagios3
1256     # there is always one extra process per check currently running..
1257     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'"
1258     hosts: samosa
1259
1260  ###
1261   -
1262     name: process - apache2 - master
1263     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1264     hostgroups: apache2-hosts
1265   -
1266     name: process - apache2 - worker
1267     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1268     hostgroups: apache2-hosts
1269     depends: process - apache2 - master
1270   -
1271     name: network service - http
1272     check: check_http
1273     hostgroups: apache2-hosts
1274     depends: process - apache2 - master
1275
1276
1277
1278   -
1279     name: process - apache - master
1280     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1281     hostgroups: apache1-hosts
1282   -
1283     name: process - apache - worker
1284     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1285     hostgroups: apache1-hosts
1286     depends: process - apache - master
1287   -
1288     name: network service - http
1289     check: check_http
1290     hostgroups: apache1-hosts
1291     depends: process - apache - master
1292
1293   -
1294     name: network service - http keyserver
1295     check: dsa_check_http_port!11371
1296     hosts: raff
1297     depends: process - apache - master
1298
1299   -
1300     name: network service - https
1301     check: check_https
1302     hosts: samosa
1303     depends: "process - apache2 - master"
1304     normal_check_interval: 120
1305   -
1306     name: network service - https cert
1307     check: dsa_check_cert!443
1308     hosts: samosa
1309     depends: network service - https
1310     normal_check_interval: 240
1311  ####
1312   -
1313     name: process - named
1314     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1315     hostgroups: bind9-hosts
1316   -
1317     name: network service - dns
1318     check: check_dns
1319     hostgroups: bind9-hosts
1320     depends: process - named
1321   -
1322     name: unwanted process - named
1323     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1324     hostgroups: computers
1325     excludehostgroups: bind9-hosts
1326
1327  ####
1328   -
1329     name: process - vsftp - listener
1330     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1331     hostgroups: ftpd-hosts
1332   -
1333     name: process - vsftp - instance
1334     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1335     hostgroups: ftpd-hosts
1336   -
1337     name: network service - ftp
1338     check: check_ftp
1339     hostgroups: ftpd-hosts
1340     depends: process - vsftp - listener
1341
1342  ####
1343   -
1344     name: process - debianqueued
1345     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1346     hosts: ries
1347
1348  ###
1349   -
1350     name: process - postresql81 - master
1351     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'"
1352     hostgroups: postgres81-hosts
1353   -
1354     name: process - postresql81 - writer
1355     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1356     hostgroups: postgres81-hosts
1357     depends: process - postresql81 - master
1358   -
1359     name: process - postresql81 - buffer
1360     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1361     hostgroups: postgres81-hosts
1362     depends: process - postresql81 - master
1363   -
1364     name: process - postresql81 - collector
1365     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1366     hostgroups: postgres81-hosts
1367     depends: process - postresql81 - master
1368
1369  ####
1370   -
1371     name: process - xenconsoled
1372     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1373     hosts: piatti
1374   -
1375     name: process - xenstored
1376     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'"
1377     hosts: piatti
1378   -
1379     name: process - xend
1380     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'"
1381     hosts: piatti
1382
1383  ####
1384   # XXX is this needed?
1385   -
1386     name: process - snmpd
1387     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'"
1388     hosts: lobos, villa
1389
1390  ###
1391   -
1392     name: process - buildd
1393     servicegroups: buildd
1394     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1395     hostgroups: buildd
1396
1397  ###
1398   -
1399     name: process - iscsid
1400     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1401     hosts: raptor
1402
1403  ###
1404   -
1405     name: process - tftpd
1406     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'"
1407     hostgroups: tftpd-hosts
1408  ###
1409   -
1410     name: process - dhcpd
1411     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1412     hosts: paer
1413  ###
1414   -
1415     name: process - monit
1416     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'"
1417     hosts: villa, lobos, steffani, kassia, master