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