[project @ peter@palfrader.org-20080828221922-c5celfuog8yj4j92]
[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   casals:
272     address: 128.31.0.16
273     parents: gw-mit-csail
274     hostgroups: deadslow
275   mahler:
276     address: 128.31.0.46
277     parents: gw-mit-csail
278     hostgroups: computers, single-cpu, lenny, porterbox
279
280   klecker:
281     address: 194.109.137.218
282     parents: gw-xs4all
283     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts, heavy-exim
284
285   saens:
286     address: 128.101.240.212
287     parents: gw-umn.edu
288     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, heavy-exim
289
290   argento:
291     address: 195.49.152.174
292     parents: gw-dg-i.net
293     hostgroups: computers, buildd, sw-raid, single-cpu, lenny
294     contacts: bzed
295
296   pergolesi:
297     address: 62.104.23.252
298     parents: gw-freenet
299     hostgroups: computers, porterbox, sw-raid
300   bruckner:
301     address: 62.104.23.253
302     parents: gw-freenet
303     hostgroups: computers, porterbox, single-cpu
304
305   raptor:
306     address: 195.243.109.162
307     parents: gw-topalis
308     hostgroups: computers, porterbox, postfix-hosts
309
310   albeniz:
311     address: 193.62.202.27
312     parents: gw-sanger
313     hostgroups: computers, porterbox, sw-raid
314     contacts: tjrc1
315   goetz:
316     address: 193.62.202.26
317     parents: gw-sanger
318     hostgroups: computers, buildd, sw-raid
319     contacts: tjrc1
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, 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 - syslogd
842     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
843     hostgroups: computers
844     excludehostgroups: syslog-ng-hosts
845   -
846     name: process - klogd
847     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
848     hostgroups: computers
849     excludehostgroups: syslog-ng-hosts
850
851  ### MAIL STUFF
852  ###
853   -
854     name: process - exim
855     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
856     hostgroups: computers
857     excludehostgroups: postfix-hosts
858     excludehosts: master, rietz, merkel
859   -
860     name: process - exim - total
861     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
862     hostgroups: computers
863     excludehostgroups: postfix-hosts
864     excludehosts: master, rietz, merkel
865   -
866     name: process - exim
867     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
868     hosts: master, rietz, merkel
869  ###
870   -
871     name: process - clamav - clamd
872     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
873     hostgroups: heavy-exim, heavy-postfix
874   -
875     name: service - clamav
876     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
877     hostgroups: heavy-exim, heavy-postfix
878     depends: process - clamav - clamd
879   -
880     name: process - clamav - freshclam
881     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
882     hostgroups: heavy-exim, heavy-postfix
883   -
884     name: process - clamav - getsigs
885     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'"
886     hostgroups: heavy-exim, heavy-postfix
887   #
888   -
889     name: unwanted process - clamav
890     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
891     hostgroups: computers
892     excludehostgroups: heavy-exim, heavy-postfix
893   -
894     name: unwanted process - freshclam
895     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
896     hostgroups: computers
897     excludehostgroups: heavy-exim, heavy-postfix
898   -
899     name: unwanted process - clamav - getsigs
900     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs"
901     hostgroups: computers
902     excludehostgroups: heavy-exim, heavy-postfix
903  ###
904   -
905     name: process - spamd - master
906     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'"
907     hostgroups: heavy-exim
908     excludehosts: rietz, merkel, raff
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 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
912     hosts: liszt
913   -
914     name: process - spamd - child
915     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
916     hosts: liszt
917     hostgroups: heavy-exim
918     depends: process - spamd - master
919     excludehosts: rietz, merkel, raff
920   #
921   -
922     name: process - spamd - master
923     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
924     hosts: rietz
925   -
926     name: process - spamd - child
927     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
928     hosts: rietz
929   #
930   -
931     name: unwanted process - spamd
932     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
933     hostgroups: computers
934     excludehostgroups: heavy-exim
935     excludehosts: liszt
936   -
937     name: unwanted process - spamd
938     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
939     hosts: merkel, raff
940
941  ###
942   -
943     name: process - greylistd
944     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
945     hostgroups: heavy-exim
946   #
947   -
948     name: unwanted process - greylistd
949     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
950     hostgroups: computers
951     excludehostgroups: heavy-exim
952
953  ###
954   -
955     name: process - postgrey
956     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'"
957     hostgroups: heavy-postfix
958   #
959   -
960     name: unwanted process - postgrey
961     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
962     hostgroups: computers
963     excludehostgroups: heavy-postfix
964  ###
965   -
966     name: process - amavis - master
967     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
968     hostgroups: amavis-hosts
969   -
970     name: process - amavis - all
971     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
972     hostgroups: amavis-hosts
973     depends: process - amavis - master
974   #
975   -
976     name: unwanted process - amavis
977     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
978     hostgroups: computers
979     excludehostgroups: amavis-hosts
980  ###
981   -
982     name: process - weightd - master
983     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
984     hostgroups: heavy-postfix
985   -
986     name: process - weightd - cache
987     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
988     hostgroups: heavy-postfix
989     depends: process - weightd - master
990   -
991     name: process - weightd - child
992     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
993     hostgroups: heavy-postfix
994     depends: process - weightd - master
995   #
996   -
997     name: unwanted process - policyd-weight
998     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
999     hostgroups: computers
1000     excludehostgroups: heavy-postfix
1001
1002
1003
1004  ###
1005   -
1006     name: process - postfix - master
1007     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1008     hostgroups: postfix-hosts
1009   -
1010     name: process - postfix - qmgr
1011     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1012     hostgroups: postfix-hosts
1013     depends: process - postfix - master
1014   #-
1015   #  name: process - postfix - tlsmgr
1016   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1017   #  hostgroups: postfix-hosts
1018   #  depends: process - postfix - master
1019   -
1020     name: process - postfix - pickup
1021     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1022     hostgroups: postfix-hosts
1023     depends: process - postfix - master
1024   -
1025     name: process - postfix - anvil
1026     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1027     hostgroups: postfix-hosts
1028     depends: process - postfix - master
1029
1030   -
1031     name: process - postfix - trivial-rewrite
1032     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'"
1033     hostgroups: postfix-hosts
1034     depends: process - postfix - master
1035   -
1036     name: process - postfix - proxymap
1037     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1038     hostgroups: postfix-hosts
1039     depends: process - postfix - master
1040   -
1041     name: process - postfix - cleanup
1042     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1043     hostgroups: postfix-hosts
1044     depends: process - postfix - master
1045   -
1046     name: process - postfix - local
1047     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1048     hostgroups: postfix-hosts
1049     depends: process - postfix - master
1050
1051   -
1052     name: process - postfix - smtpd
1053     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'"
1054     hostgroups: postfix-hosts
1055     excludehosts: liszt
1056     depends: process - postfix - master
1057   -
1058     name: process - postfix - smtp
1059     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1060     hostgroups: postfix-hosts
1061     excludehosts: liszt
1062     depends: process - postfix - master
1063
1064   -
1065     name: process - postfix - smtpd
1066     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'"
1067     hosts: liszt
1068     depends: process - postfix - master
1069   -
1070     name: process - postfix - smtp
1071     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1072     hosts: liszt
1073     depends: process - postfix - master
1074
1075  ###
1076   -
1077     name: network service - smtp
1078     check: dsa_check_smtp
1079     hostgroups: computers
1080     excludehostgroups: postfix-hosts
1081     depends: process - exim
1082
1083   -
1084     name: network service - smtp
1085     check: dsa_check_smtp
1086     hostgroups: postfix-hosts
1087     excludehosts: verdi, kassia, allegri, raptor, piatti
1088     depends: process - postfix - master
1089   -
1090     name: network service - smtp - port 2025
1091     check: dsa_check_smtp_port!2025
1092     hosts: verdi, kassia, murphy, allegri, piatti
1093     depends: process - postfix - master
1094   -
1095     name: network service - smtp - port 8080
1096     check: dsa_check_smtp_port!8080
1097     hosts: murphy, piatti
1098     depends: process - postfix - master
1099   -
1100     name: network service - smtp - port 2025
1101     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1102     runfrom: murphy
1103     hosts: raptor
1104     depends: process - postfix - master
1105
1106   -
1107     name: network service local - smtps cert
1108     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1109     hostgroups: postfix-hosts
1110     depends: process - postfix - master
1111     normal_check_interval: 120
1112
1113
1114   -
1115     name: setup - debian-admin in etc aliases
1116     nrpe: "/usr/lib/nagios/plugins/dsa-check-da-in-aliases"
1117     hostgroups: computers
1118     normal_check_interval: 120
1119   -
1120     name: setup - ud-ldap freshness
1121     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1122     hostgroups: computers
1123  ###
1124   -
1125     name: process - uptimed
1126     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1127     hostgroups: computers
1128  ###
1129   -
1130     name: process - irqbalance
1131     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1132     hostgroups: computers
1133     excludehostgroups: single-cpu
1134   -
1135     name: unwanted process - irqbalance
1136     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1137     hostgroups: single-cpu
1138
1139  ####
1140  ###
1141   #-
1142   #  name: unwanted process - system-tools-backends
1143   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1144   #  hostgroups: computers
1145   #-
1146   #  name: unwanted process - dbus-daemon
1147   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1148   #  hostgroups: computers
1149   -
1150     name: unwanted process - gkrellmd
1151     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1152     hostgroups: computers
1153   -
1154     name: unwanted process - portmap
1155     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1156     hostgroups: computers
1157   -
1158     name: unwanted process - rpc.statd
1159     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1160     hostgroups: computers
1161   -
1162     name: unwanted process - inetd
1163     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1164     hostgroups: computers
1165   -
1166     name: unwanted process - snmpd
1167     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1168     hostgroups: computers
1169     excludehosts: lobos, villa
1170
1171
1172  ############ Processes/Services that only run on some computers ############
1173  ####
1174  ###
1175   -
1176     name: process - rngd
1177     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1178     hostgroups: dl385
1179  ###
1180   -
1181     name: process - sensord
1182     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
1183     hosts: bartok
1184
1185  ###
1186   -
1187     name: process - mdadm monitor
1188     servicegroups: raid
1189     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'"
1190     hostgroups: sw-raid
1191   -
1192     name: RAID - sw raid
1193     servicegroups: raid
1194     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1195     hostgroups: sw-raid
1196
1197  ###
1198   -
1199     name: process - cpqarrayd
1200     servicegroups: raid
1201     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1202     hostgroups: dl385, dl380, dl360
1203   -
1204     name: RAID - arrayprobe
1205     servicegroups: raid
1206     nrpe: "sudo /usr/bin/arrayprobe"
1207     hostgroups: dl385, dl380, dl360
1208   -
1209     name: HW - hpacucli status
1210     servicegroups: raid
1211     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1212     normal_check_interval: 120
1213     hostgroups: dl385, dl380, dl360
1214  ###
1215   -
1216     name: RAID - DAC960
1217     servicegroups: raid
1218     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1219     hosts: verdi
1220  ###
1221   -
1222     name: RAID - 3ware
1223     servicegroups: raid
1224     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1225     hosts: puccini
1226  ###
1227   -
1228     name: RAID - MPT
1229     servicegroups: raid
1230     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1231     hosts: master
1232
1233  ###
1234   -
1235     name: process - slapd
1236     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'"
1237     hosts: samosa
1238  ###
1239   -
1240     name: process - udevd
1241     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1242     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, verdi, liszt, kassia, agricola, arcadelt, argento, allegri, morales, bartok
1243  ###
1244   -
1245     name: process - acpid
1246     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'"
1247     hosts: ries, steffani, liszt, kassia
1248
1249  ###
1250   -
1251     name: process - xinetd
1252     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'"
1253     hosts: samosa, raptor, allegri
1254     hostgroups: rsyncd-hosts
1255   -
1256     name: unwanted process - xinetd
1257     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1258     hostgroups: computers
1259     excludehosts: samosa, raptor, allegri
1260     excludehostgroups: rsyncd-hosts
1261  ###
1262   -
1263     name: network service - finger
1264     check: check_tcp!79
1265     hosts: samosa
1266     depends: process - xinetd
1267  ###
1268   -
1269     name: network service - rsync
1270     check: check_tcp!873
1271     hostgroups: rsyncd-hosts
1272     depends: process - xinetd
1273
1274   -
1275     name: network service - rsync
1276     check: check_tcp!873
1277     hosts: rietz2
1278     depends: rietz:process - xinetd
1279
1280  ###
1281   -
1282     name: process - nagios3
1283     # there is always one extra process per check currently running..
1284     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'"
1285     hosts: samosa
1286
1287  ###
1288   -
1289     name: process - apache2 - master
1290     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1291     hostgroups: apache2-hosts
1292   -
1293     name: process - apache2 - worker
1294     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1295     hostgroups: apache2-hosts
1296     depends: process - apache2 - master
1297   -
1298     name: network service - http
1299     check: check_http
1300     hostgroups: apache2-hosts
1301     depends: process - apache2 - master
1302
1303
1304
1305   -
1306     name: process - apache - master
1307     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1308     hostgroups: apache1-hosts
1309   -
1310     name: process - apache - worker
1311     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1312     hostgroups: apache1-hosts
1313     depends: process - apache - master
1314   -
1315     name: network service - http
1316     check: check_http
1317     hostgroups: apache1-hosts
1318     depends: process - apache - master
1319
1320   -
1321     name: network service - http keyserver
1322     check: dsa_check_http_port!11371
1323     hosts: raff
1324     depends: process - apache - master
1325
1326   -
1327     name: network service - https
1328     check: check_https
1329     hosts: samosa
1330     depends: "process - apache2 - master"
1331     normal_check_interval: 120
1332   -
1333     name: network service - https cert
1334     check: dsa_check_cert!443
1335     hosts: samosa
1336     depends: network service - https
1337     normal_check_interval: 240
1338  ####
1339   -
1340     name: process - named
1341     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1342     hostgroups: bind9-hosts
1343   -
1344     name: network service - dns
1345     check: check_dns
1346     hostgroups: bind9-hosts
1347     depends: process - named
1348   -
1349     name: unwanted process - named
1350     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1351     hostgroups: computers
1352     excludehostgroups: bind9-hosts
1353
1354  ####
1355   -
1356     name: process - vsftp - listener
1357     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1358     hostgroups: ftpd-hosts
1359   -
1360     name: process - vsftp - instance
1361     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1362     hostgroups: ftpd-hosts
1363   -
1364     name: network service - ftp
1365     check: check_ftp
1366     hostgroups: ftpd-hosts
1367     depends: process - vsftp - listener
1368
1369  ####
1370   -
1371     name: process - debianqueued
1372     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1373     hosts: ries
1374
1375  ###
1376   -
1377     name: process - postresql81 - master
1378     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'"
1379     hostgroups: postgres81-hosts
1380   -
1381     name: process - postresql81 - writer
1382     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1383     hostgroups: postgres81-hosts
1384     depends: process - postresql81 - master
1385   -
1386     name: process - postresql81 - buffer
1387     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1388     hostgroups: postgres81-hosts
1389     depends: process - postresql81 - master
1390   -
1391     name: process - postresql81 - collector
1392     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1393     hostgroups: postgres81-hosts
1394     depends: process - postresql81 - master
1395  ####
1396   -
1397     name: process - mysql - master
1398     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1399     hostgroups: mysql-hosts
1400   -
1401     name: process - mysql - workers
1402     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1403     hostgroups: mysql-hosts
1404     depends: process - mysql - master
1405
1406  ####
1407   #-
1408   #  name: process - xenconsoled
1409   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1410   #  hosts: piatti
1411   #-
1412   #  name: process - xenstored
1413   #  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'"
1414   #  hosts: piatti
1415   #-
1416   #  name: process - xend
1417   #  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'"
1418   #  hosts: piatti
1419 #
1420  ####
1421   # XXX is this needed?
1422   -
1423     name: process - snmpd
1424     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'"
1425     hosts: lobos, villa
1426
1427  ###
1428   -
1429     name: process - buildd
1430     servicegroups: buildd
1431     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1432     hostgroups: buildd
1433
1434  ###
1435   -
1436     name: process - iscsid
1437     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1438     hosts: raptor
1439
1440  ###
1441   -
1442     name: process - tftpd
1443     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'"
1444     hostgroups: tftpd-hosts
1445  ###
1446   -
1447     name: process - dhcpd
1448     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1449     hosts: paer
1450  ###
1451   -
1452     name: process - monit
1453     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'"
1454     hosts: villa, lobos, steffani, kassia, master