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