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