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