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