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