[project @ peter@palfrader.org-20090302082318-qb8wgrgrbkl9z9v3]
[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 #  - spohr: hpasmd
9 #  - *: mailq
10 #  - *: check munin stats collection works
11 #  - *: check backups are successful
12 #  - *: unwanted: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some)
13 #  - goetz: gmond/gmetad
14 #  - verdi: pg upgrade, openvpn
15 #  - mundy: salinfo_decode
16
17 # down:
18 #  - sarti
19 #  - leisner
20
21 ---
22 #############################
23 # hosts
24 #############################
25 servers:
26   gw-man-da:
27     address: 82.195.75.126
28     parents: gw-HP-ftc
29     hostgroups: routing-infrastructure
30     contacts: joerg, bzed
31   gw-HP-ftc:
32     address: 192.25.206.1
33     parents: samosa
34     hostgroups: routing-infrastructure
35   gw-brainfood:
36     address: 70.103.162.1
37     parents: gw-HP-ftc
38     hostgroups: routing-infrastructure
39   gw-brown.edu:
40     address: 128.148.34.1
41     parents: gw-HP-ftc
42     hostgroups: routing-infrastructure
43   gw-osuosl:
44     address: 140.211.166.1
45     parents: gw-HP-ftc
46     hostgroups: routing-infrastructure
47   gw-scanplus-villa:
48     address: 212.211.132.1
49     parents: gw-HP-ftc
50     hostgroups: routing-infrastructure
51   gw-scanplus-lobos:
52     address: 212.211.132.249
53     parents: gw-HP-ftc
54     hostgroups: routing-infrastructure
55   gw-mit-csail:
56     address: 128.30.0.254
57     parents: gw-HP-ftc
58     hostgroups: routing-infrastructure
59   gw-xs4all:
60     address: 194.109.137.217
61     parents: gw-HP-ftc
62     hostgroups: routing-infrastructure
63   gw-umn.edu:
64     address: 128.101.240.222
65     parents: gw-HP-ftc
66     hostgroups: routing-infrastructure
67   gw-dg-i.net:
68     address: 195.49.152.190
69     parents: gw-HP-ftc
70     hostgroups: routing-infrastructure
71     contacts: bzed
72   gw-freenet:
73     address: 62.104.23.249
74     parents: gw-HP-ftc
75     hostgroups: routing-infrastructure
76   gw-topalis:
77     address: 195.243.109.254
78     parents: gw-HP-ftc
79     hostgroups: routing-infrastructure
80   gw-sanger:
81     address: 193.62.202.18
82     parents: gw-HP-ftc
83     hostgroups: routing-infrastructure
84     contacts: tjrc1
85   gw-lrz:
86     address: 129.187.0.150
87     parents: gw-HP-ftc
88     hostgroups: routing-infrastructure
89   gw-frost:
90     address: 130.81.242.195
91     parents: gw-HP-ftc
92     hostgroups: routing-infrastructure
93   gw-1und1:
94     address: 195.20.247.54
95     parents: gw-HP-ftc
96     hostgroups: routing-infrastructure
97     contacts: joerg
98   gw-1und1-karlsruhe:
99     address: 212.227.120.29
100     parents: gw-HP-ftc
101     hostgroups: routing-infrastructure
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.149.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.94
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   gw-telefonica:
145     address: 195.71.99.193
146     parents: gw-HP-ftc
147     hostgroups: routing-infrastructure
148   gw-ball:
149     address: 78.32.9.209
150     parents: gw-HP-ftc
151     hostgroups: routing-infrastructure
152   gw-cst:
153     address: 213.188.99.215
154     parents: gw-HP-ftc
155     hostgroups: routing-infrastructure
156
157   global:
158     hostgroups: notacomputer
159     pingable: false
160     check_command: dsa_check_always_ok
161
162   samosa:
163     address: 192.25.206.57
164     hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, heavy-exim, lenny
165   raff:
166     address: 192.25.206.59
167     parents: samosa
168     hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, puppet
169   gluck:
170     address: 192.25.206.10
171     parents: samosa
172     hostgroups: computers, no-udev, general, dl380, apache2-hosts, bind9-hosts, heavy-exim, highload, nfs-client, ulogd-hosts, lenny, puppet
173   merkel:
174     address: 192.25.206.16
175     parents: samosa
176     hostgroups: computers, general, apache1-hosts, apache2-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim, nfs-client, ulogd-hosts, lenny, puppet
177   spohr:
178     address: 192.25.206.33
179     parents: samosa
180     hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server, lenny, puppet
181   peri:
182     address: 192.25.206.15
183     parents: samosa
184     hostgroups: computers, buildd, sw-raid, hasbootfs, lenny
185     contacts: dannf
186   penalosa:
187     address: 192.25.206.68
188     parents: samosa
189     hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs
190     contacts: dannf
191   mundy:
192     address: 192.25.206.62
193     parents: samosa
194     hostgroups: computers, no-udev, buildd
195   paer:
196     address: 192.25.206.11
197     parents: samosa
198     hostgroups: computers, porterbox, lenny, hasbootfs
199   merulo:
200     address: 192.25.206.58
201     parents: samosa
202     hostgroups: computers, no-udev, porterbox
203
204   bartok:
205     address: 82.195.75.91
206     parents: gw-man-da
207     hostgroups: computers, service, dl385, bind9-hosts, lenny
208     contacts: joerg, bzed
209   morales:
210     address: 82.195.75.97
211     parents: gw-man-da
212     hostgroups: computers, porterbox, single-cpu, no-samhain, hasbootfs
213     contacts: bzed
214   sperger:
215     address: 82.195.75.98
216     parents: gw-man-da
217     hostgroups: computers, porterbox, sw-raid, hasbootfs, lenny
218     contacts: bzed
219   agricola:
220     address: 82.195.75.86
221     parents: gw-man-da
222     hostgroups: computers, porterbox, sw-raid, single-cpu, lenny
223     contacts: bzed
224   arcadelt:
225     address: 82.195.75.87
226     parents: gw-man-da
227     hostgroups: computers, buildd, sw-raid, single-cpu, lenny
228     contacts: bzed
229   liszt:
230     address: 82.195.75.100
231     parents: gw-man-da
232     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts, dl385, acpid-hosts
233     contacts: bzed
234 #  auber:
235 #    address: 82.195.75.101
236 #    parents: gw-man-da
237 #    hostgroups: computers, no-udev, buildd, sw-raid
238 #    contacts: bzed
239   unger:
240     address: 82.195.75.102
241     parents: gw-man-da
242     hostgroups: computers, service, dl360, rsyslog-hosts, acpid-hosts, lenny
243   handel:
244     address: 82.195.75.104
245     parents: unger
246     hostgroups: computers, service, rsyslog-hosts, acpid-hosts, lenny, hasbootfs, puppet
247
248   master:
249     address: 70.103.162.29
250     parents: gw-brainfood
251     hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-exim, highload, lenny
252   murphy:
253     address: 70.103.162.31
254     parents: gw-brainfood
255     hostgroups: computers, general, postfix-hosts, dl380, acpid-hosts, lenny
256
257   ries:
258     address: 128.148.34.103
259     parents: gw-brown.edu
260     hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres83-hosts, heavy-exim, acpid-hosts, lenny, puppet
261
262   mayer:
263     address: 140.211.166.78
264     parents: gw-osuosl
265     hostgroups: computers, no-udev, buildd, hasbootfs
266   mayr:
267     address: 140.211.166.58
268     parents: gw-osuosl
269     hostgroups: computers, no-udev, buildd, hasbootfs
270   malo:
271     address: 140.211.166.27
272     parents: gw-osuosl
273     hostgroups: computers, buildd, lenny
274   rietz:
275     address: 140.211.166.43
276     parents: gw-osuosl
277     hostgroups: computers, no-udev, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-exim, highload, hasbootfs
278   rietz2:
279     address: 140.211.166.44
280     parents: rietz
281     hostgroups: secondary-IPs
282
283   villa:
284     address: 212.211.132.32
285     parents: gw-scanplus-villa
286     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny
287   lobos:
288     address: 212.211.132.250
289     parents: gw-scanplus-lobos
290     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny
291
292   steffani:
293     address: 128.31.0.36
294     parents: gw-mit-csail
295     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts, hasbootfs
296   mahler:
297     address: 128.31.0.46
298     parents: gw-mit-csail
299     hostgroups: computers, single-cpu, lenny, porterbox, rsyslog-hosts, no-samhain
300
301   klecker:
302     address: 194.109.137.218
303     parents: gw-xs4all
304     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres83-hosts, heavy-exim
305
306   saens:
307     address: 128.101.240.212
308     parents: gw-umn.edu
309     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny
310
311   argento:
312     address: 93.94.130.160
313     parents: gw-dg-i.net
314     hostgroups: computers, buildd, sw-raid, single-cpu, lenny
315     contacts: bzed
316   
317   widor:
318     address: 93.94.130.161
319     parents: gw-dg-i.net
320     hostgroups: computers, apache2-hosts, sw-raid, single-cpu, lenny, puppet, rsyslog-hosts
321     contacts: bzed
322
323   pergolesi:
324     address: 62.104.23.252
325     parents: gw-freenet
326     hostgroups: computers, no-udev, porterbox, sw-raid
327   bruckner:
328     address: 62.104.23.253
329     parents: gw-freenet
330     hostgroups: computers, no-udev, porterbox, single-cpu, no-samhain
331
332   raptor:
333     address: 195.243.109.162
334     parents: gw-topalis
335     hostgroups: computers, porterbox, postfix-hosts
336
337   albeniz:
338     address: 193.62.202.27
339     parents: gw-sanger
340     # SMP kernel doesn't run stable
341     hostgroups: computers, porterbox, sw-raid, single-cpu, hasbootfs
342     contacts: tjrc1
343   goetz:
344     address: 193.62.202.26
345     parents: gw-sanger
346     # SMP kernel doesn't run stable
347     hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs
348     contacts: tjrc1
349   smetana:
350     address: 193.62.202.29
351     parents: gw-sanger
352     hostgroups: computers, porterbox, sw-raid, lenny
353     contacts: tjrc1
354
355   verdi:
356     address: 192.54.42.193
357     parents: gw-lrz
358     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, postgres81-hosts, postfix-hosts
359
360   voltaire:
361     address: 72.66.115.54
362     parents: gw-frost
363     hostgroups: computers, buildd
364     contacts: sfrost
365
366   puccini:
367     address: 87.106.4.56
368     parents: gw-1und1
369     hostgroups: computers, buildd, lenny, rsyslog-hosts, ulogd-hosts, puppet
370     contacts: joerg
371   powell:
372     address: 87.106.64.223
373     parents: gw-1und1
374     hostgroups: computers, service, heavy-exim, rsyncd-hosts, ulogd-hosts, acpid-hosts, lenny
375     contacts: joerg
376
377   schumann:
378     address: 212.227.126.54
379     parents: gw-1und1-karlsruhe
380     hostgroups: computers, acpid-hosts, ulogd-hosts, lenny
381   wieck:
382     address: 195.20.242.89
383     parents: gw-1und1-karlsruhe
384     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, ulogd-hosts, lenny
385
386   caballero:
387     address: 193.201.200.200
388     parents: gw-blackcat
389     hostgroups: computers, no-udev, buildd, sw-raid, lenny
390
391   elara:
392     address: 67.210.160.90
393     parents: gw-xandros
394     hostgroups: deadslow
395   europa:
396     address: 67.210.160.89
397     parents: gw-xandros
398     hostgroups: deadslow
399
400   kullervo:
401     address: 217.114.76.82
402     parents: gw-nmmn
403     hostgroups: deadslow
404     contacts: luk
405   crest:
406     address: 217.114.76.83
407     parents: gw-nmmn
408     hostgroups: deadslow
409     contacts: luk
410   pescetti:
411     address: 217.114.76.85
412     parents: gw-nmmn
413     hostgroups: computers, porterbox, single-cpu, smart
414
415   kassia:
416     address: 130.89.149.224
417     parents: gw-utwente
418     hostgroups: computers, service, postfix-hosts, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl360, acpid-hosts, ulogd-hosts, lenny
419   kassia-sec:
420     address: 130.89.149.225
421     parents: kassia
422     hostgroups: secondary-IPs
423   kassia-ftp:
424     address: 130.89.149.226
425     parents: kassia
426     hostgroups: secondary-IPs
427   kassia4:
428     address: 130.89.149.227
429     parents: kassia
430     hostgroups: secondary-IPs
431
432   allegri:
433     address: 157.193.39.233
434     parents: gw-HP-ftc
435     hostgroups: computers, buildd, postfix-hosts, sw-raid, single-cpu, lenny
436     contacts: luk
437
438   agnesi:
439     address: 65.173.90.83
440     parents: gw-agnesi
441     hostgroups: deadslow
442
443   spontini:
444     address: 137.82.84.65
445     parents: gw-ubc
446     hostgroups: computers, buildd, hasbootfs, lenny, puppet
447     contacts: lfilipoz
448   ravel:
449     address: 137.82.84.66
450     parents: gw-ubc
451     hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts, hasbootfs, lenny
452
453   lebrun:
454     address: 193.198.184.10
455     parents: gw-carnet
456     hostgroups: computers, buildd
457   schroeder:
458     address: 193.198.184.11
459     parents: gw-carnet
460     hostgroups: computers, buildd, sw-raid, hasbootfs, lenny
461
462   tartini:
463     address: 82.94.249.158
464     parents: gw-telegraaf
465     hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs
466
467   piatti:
468     address: 193.167.161.225
469     parents: gw-helsinki
470     hostgroups: computers, postfix-hosts, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, postgres83-hosts, lenny, hasbootfs
471     contacts: holger
472
473   rem:
474     address: 195.71.99.217
475     parents: gw-telefonica
476     hostgroups: computers, buildd, hasbootfs, lenny
477
478   ball:
479     address: 78.32.9.213
480     parents: gw-ball
481     hostgroups: computers, buildd, no-udev, dialup, hasbootfs, lenny
482
483   zelenka:
484     address: 80.245.147.40
485     parents: gw-HP-ftc
486     hostgroups: computers, porterbox, lenny
487
488   escher:
489     address: 213.188.99.215
490     parents: gw-cst
491     hostgroups: computers, single-cpu, hasbootfs
492   goedel:
493     address: 213.188.99.214
494     parents: gw-cst
495     hostgroups: computers, single-cpu, hasbootfs, lenny
496
497 #############################
498 # host groups
499 #
500 # hostgroups ircd and all are automatically defined
501 #
502 #############################
503 hostgroups:
504   computers:
505     alias: computers
506     private: 1
507   routing-infrastructure:
508     alias: Internet routers and friends
509     extinfo-icon_image: base/switch40.png
510     extinfo-icon_image_alt: router
511   notacomputer:
512     alias: Systems that are not really systems.  Yeah :)
513     private: 1
514   deadslow:
515     alias: Systems too slow to run any real checks
516   dialup:
517     alias: Systems with slow network
518
519   porterbox:
520     alias: developer accessible porter machines
521     extinfo-icon_image: base/debian.png
522     extinfo-icon_image_alt: Debian GNU/Linux
523     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
524   service:
525     alias: machines running services
526     extinfo-icon_image: base/debian.png
527     extinfo-icon_image_alt: Debian GNU/Linux
528     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
529   buildd:
530     alias: buildd systems
531     extinfo-icon_image: base/debian.png
532     extinfo-icon_image_alt: Debian GNU/Linux
533     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
534   general:
535     alias: general purpose developer accessible machines
536     extinfo-icon_image: base/debian.png
537     extinfo-icon_image_alt: Debian GNU/Linux
538     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
539   puppet:
540     alias: Hosts running puppet
541     extinfo-icon_image: base/debian.png
542     extinfo-icon_image_alt: Debian GNU/Linux
543     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
544
545   dl380:
546     alias: HP DL380 hosts
547     private: 1
548   dl385:
549     alias: HP DL385 hosts
550     private: 1
551   dl360:
552     alias: HP DL360 hosts
553     private: 1
554   sw-raid:
555     alias: Hosts with Linux software raid
556     private: 1
557   single-cpu:
558     alias: Hosts with only one CPU
559     private: 1
560
561   lenny:
562     alias: Hosts running lenny, not etch
563     private: 1
564
565   no-samhain:
566     alias: hosts not running samhain properly
567     private: 1
568
569   #syslog-ng-hosts:
570   #  alias: hosts running syslog-ng instead of sysklogd
571   #  private: 1
572   rsyslog-hosts:
573     alias: hosts running rsyslogd instead of sysklogd
574     private: 1
575   postfix-hosts:
576     alias: hosts running postfix instead of exim
577     private: 1
578   heavy-exim:
579     alias: "hosts running the full mail stuff, including clamav, SA, and postgrey"
580     private: 1
581   heavy-postfix:
582     alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, policyd-weight"
583     private: 1
584   apache2-hosts:
585     alias: hosts running apache2
586     private: 1
587   apache1-hosts:
588     alias: hosts running apache1
589     private: 1
590   bind9-hosts:
591     alias: hosts running bind9
592     private: 1
593   amavis-hosts:
594     alias: hosts running amavis
595     private: 1
596   ftpd-hosts:
597     alias: hosts running vsftpd
598     private: 1
599   #tftpd-hosts:
600   #  alias: hosts running a tftpd (tftpd-hpa as a daemon)
601   #  private: 1
602   rsyncd-hosts:
603     alias: hosts providing rsync services via xinetd
604     private: 1
605   postgres81-hosts:
606     alias: hosts running postgres81
607     private: 1
608   postgres83-hosts:
609     alias: hosts running postgres83
610     private: 1
611   mysql-hosts:
612     alias: hosts running mysql
613     private: 1
614   no-udev:
615     alias: hosts not using udev
616     private: 1
617   ulogd-hosts:
618     alias: hosts running ulogd
619     private: 1
620   acpid-hosts:
621     alias: hosts running acpid
622     private: 1
623
624   nfs-client:
625     alias: hosts mounting filesystems using NFS
626     private: 1
627   nfs-server:
628     alias: hosts serving filesystems using NFS
629     private: 1
630
631   highload:
632     alias: "hosts on which high load is normal"
633     private: 1
634
635   secondary-IPs:
636     alias: secondary IP addresses
637     private: 1
638
639   smart:
640     alias: hosts with smartd
641     private: 1
642   hasbootfs:
643     alias: hosts with a /boot
644     private: 1
645
646
647 #############################
648 # servicegroups
649 #############################
650 servicegroups:
651   diskspace:
652     alias: diskusage checks
653   buildd:
654     alias: buildd checks
655   raid:
656     alias: raid checks
657   kernel:
658     alias: kernel checks
659   weaksshkeys:
660     alias: weak ssh keys
661   apt:
662     alias: apt upgrade status
663   samhain:
664     alias: samhain integrity status
665   security:
666     alias: security
667     servicegroup_members: apt, weaksshkeys, kernel, samhain
668
669 #############################
670 # services
671 #############################
672 services:
673   -
674     name: PING
675     check: "check_ping!300.0,20%!600.0,40%"
676     hostgroups: pingable
677     excludehostgroups: routing-infrastructure, dialup
678     normal_check_interval: 5
679     max_check_attempts: 4
680     retry_check_interval: 1
681   -
682     name: PING
683     check: "check_ping!2000.0,60%!3000.0,80%"
684     hostgroups: routing-infrastructure, dialup
685     normal_check_interval: 5
686     max_check_attempts: 4
687     retry_check_interval: 1
688
689  ############ Services ############
690  ###
691
692  ############ Disk Usage ############
693  ####
694   -
695     name: disk usage - all
696     servicegroups: diskspace
697     nrpe: "/usr/lib/nagios/plugins/check_disk -X devpts -X proc 90 95"
698     hostgroups: computers
699   -
700     name: disk usage on /
701     servicegroups: diskspace
702     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
703     hostgroups: computers
704     excludehosts: ries
705   -
706     name: disk usage on /
707     servicegroups: diskspace
708     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /"
709     hosts: ries
710   -
711     name: disk usage on /boot
712     servicegroups: diskspace
713     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
714     hostgroups: hasbootfs
715   -
716     name: disk usage on /var
717     servicegroups: diskspace
718     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
719     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, voltaire, lebrun, tartini, morales, powell, escher
720   -
721     name: disk usage on /org
722     servicegroups: diskspace
723     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
724     hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, spontini, ravel, mahler, schroeder, piatti, pescetti, widor
725   -
726     name: disk usage on /org
727     servicegroups: diskspace
728     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
729     hosts: merkel, bartok
730   -
731     name: disk usage on /srv
732     servicegroups: diskspace
733     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
734     hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini, zelenka
735   -
736     name: disk usage on /org/scratch
737     servicegroups: diskspace
738     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch"
739     hosts: merkel
740   -
741     name: disk usage on /tmp
742     servicegroups: diskspace
743     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
744     hosts: samosa, raff, gluck, saens, puccini, merkel, tartini, powell, piatti, escher
745   -
746     name: disk usage on /usr
747     servicegroups: diskspace
748     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
749     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, merulo, tartini, morales, powell
750   -
751     name: disk usage on /home
752     servicegroups: diskspace
753     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
754     hosts: raptor, voltaire, lebrun, rem, ball, paer, escher
755   -
756     name: disk usage on /home
757     servicegroups: diskspace
758     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
759     hosts: gluck
760   -
761     name: disk usage on /chroot
762     servicegroups: diskspace
763     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
764     hosts: raptor
765   -
766     name: disk usage on /mnt/hdc
767     servicegroups: diskspace
768     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
769     hosts: voltaire
770   -
771     name: disk usage on /mnt/sdb1
772     servicegroups: diskspace
773     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/sdb1"
774     hosts: spontini
775   -
776     name: disk usage on /x
777     servicegroups: diskspace
778     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
779     hosts: caballero
780
781  ############ All Computers ############
782  ####
783   -
784     name: apt - security updates
785     servicegroups: apt
786     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
787     hostgroups: computers
788     normal_check_interval:  60
789     retry_check_interval: 15
790  ####
791   -
792     name: backup
793     nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
794     hostgroups: computers
795     normal_check_interval: 180
796     max_check_attempts: 2
797     retry_check_interval: 5
798   -
799     name: backup server config
800     nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
801     hosts: bartok
802     normal_check_interval: 180
803     max_check_attempts: 2
804     retry_check_interval: 5
805
806  ####
807   -
808     name: running kernel
809     servicegroups: kernel
810     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
811     hostgroups: computers
812     normal_check_interval: 180
813     retry_check_interval: 5
814
815  ####
816   -
817     name: process - puppet
818     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C ruby -a 'ruby /usr/sbin/puppetd -w 5 --factsync'"
819     hostgroups: puppet
820
821   -
822     name: puppet
823     nrpe: "/usr/lib/nagios/plugins/dsa-check-puppet"
824     hostgroups: puppet
825
826  ####
827   -
828     name: process - samhain
829     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'"
830     hostgroups: computers
831     excludehostgroups: no-samhain
832   -
833     name: samhain
834     servicegroups: samhain
835     nrpe: "/usr/lib/nagios/plugins/dsa-check-samhain -t 45"
836     hostgroups: computers
837     excludehostgroups: no-samhain
838     depends: process - samhain
839     normal_check_interval: 240
840     retry_check_interval: 5
841
842  ####
843   -
844     name: users
845     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
846     hostgroups: computers
847  ####
848   -
849     name: load
850     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
851     hostgroups: computers
852     excludehostgroups: highload
853   -
854     name: load
855     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
856     hostgroups: highload
857     excludehosts: rietz
858   -
859     name: load
860     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
861     hosts: rietz
862  ####
863   -
864     name: processes - zombies
865     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
866     hostgroups: computers
867  ####
868   -
869     name: processes - total
870     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
871     hostgroups: computers
872  ####
873   -
874     name: swap usage - percent
875     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
876     hostgroups: computers
877  ####
878   -
879     name: swap usage - mb
880     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
881     hostgroups: computers
882  ####
883   -
884     name: process - getty
885     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
886     hostgroups: computers
887     excludehosts: zelenka
888  ####
889   -
890     name: process - sshd
891     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
892     hostgroups: computers
893   -
894     name: "network service - sshd"
895     check: dsa_check_ssh
896     hostgroups: computers
897     depends: process - sshd
898     normal_check_interval:  60
899     notification_interval: 1440
900
901   -
902     name: "network service - sshd"
903     check: dsa_check_ssh
904     hostgroups: deadslow
905     excludehosts: agnesi
906     normal_check_interval:  180
907   -
908     name: "network service - sshd - 2260"
909     check: dsa_check_ssh_port!2260
910     hosts: agnesi
911     normal_check_interval:  180
912   -
913     name: "network service - sshd - 443"
914     check: dsa_check_ssh_port!443
915     hosts: gluck
916     normal_check_interval:  180
917
918   -
919     name: "network service - sshd - version"
920     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch3"
921     depends: network service - sshd
922     hostgroups: computers, deadslow
923     excludehosts: agnesi, crest, kullervo
924     excludehostgroups: lenny
925     normal_check_interval:  360
926   -
927     name: "network service - sshd - version"
928     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1"
929     depends: network service - sshd
930     hosts: crest, kullervo
931     normal_check_interval:  360
932   -
933     name: "network service - sshd - version"
934     check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5"
935     depends: network service - sshd
936     hostgroups: lenny
937     normal_check_interval:  360
938   -
939     name: "network service - sshd - version - 2260"
940     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch3"
941     depends: network service - sshd - 2260
942     hosts: agnesi
943     normal_check_interval:  360
944  #
945   -
946     name: ssh - weak keys
947     servicegroups: weaksshkeys
948     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
949     hostgroups: computers
950     normal_check_interval:  360
951  ####
952   -
953     name: network service - nrpe
954     check: check_tcp!5666
955     hostgroups: computers
956     max_check_attempts: -2
957     notification_interval: 1440
958   -
959     name: process - nrpe
960     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'"
961     hostgroups: computers
962     max_check_attempts: -1
963     depends: network service - nrpe
964  ###
965   -
966     name: process - munin-node
967     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
968     hostgroups: computers
969   -
970     name: network service - munin-node
971     check: check_tcp!4949
972     hostgroups: computers
973     depends: process - munin-node
974  ###
975   -
976     name: process - ntpd
977     # 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'"
978     # 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'"
979     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
980     hostgroups: computers
981     excludehosts: raptor, zelenka
982   -
983     name: network service - ntp
984     check: check_ntp
985     hostgroups: computers
986     depends: process - ntpd
987     excludehosts: raptor, allegri, zelenka
988   #
989   -
990     name: network service - time
991     check: dsa_check_time
992     hosts: raptor, allegri, zelenka
993     depends: process - xinetd
994
995  ###
996   -
997     name: process - atd
998     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
999     hostgroups: computers
1000  ###
1001   -
1002     name: process - cron
1003     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
1004     hostgroups: computers
1005
1006  ###
1007  # -
1008  #   name: process - syslog-ng
1009  #   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'"
1010  #   hostgroups: syslog-ng-hosts
1011  ###
1012   -
1013     name: process - rsyslogd
1014     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rsyslogd  -a '/usr/sbin/rsyslogd -c3'"
1015     hostgroups: rsyslog-hosts
1016  ###
1017   -
1018     name: process - syslogd
1019     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
1020     hostgroups: computers
1021     excludehostgroups: rsyslog-hosts
1022   -
1023     name: process - klogd
1024     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
1025     hostgroups: computers
1026     excludehostgroups: rsyslog-hosts
1027
1028  ### MAIL STUFF
1029  ###
1030   -
1031     name: process - exim
1032     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
1033     hostgroups: computers
1034     excludehostgroups: postfix-hosts
1035     excludehosts: master, rietz, merkel, gluck
1036   -
1037     name: process - exim - total
1038     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
1039     hostgroups: computers
1040     excludehostgroups: postfix-hosts
1041     excludehosts: master, rietz, merkel, gluck
1042   -
1043     name: process - exim
1044     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
1045     hosts: master, rietz, merkel, gluck
1046  ###
1047   -
1048     name: process - clamav - clamd
1049     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
1050     hostgroups: heavy-exim, heavy-postfix
1051   -
1052     name: service - clamav
1053     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
1054     hostgroups: heavy-exim, heavy-postfix
1055     depends: process - clamav - clamd
1056   -
1057     name: process - clamav - freshclam
1058     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
1059     hostgroups: heavy-exim, heavy-postfix
1060   -
1061     name: process - clamav - getsigs
1062     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'"
1063     hostgroups: heavy-exim, heavy-postfix
1064   #
1065   -
1066     name: unwanted process - clamav
1067     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
1068     hostgroups: computers
1069     excludehostgroups: heavy-exim, heavy-postfix
1070   -
1071     name: unwanted process - freshclam
1072     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
1073     hostgroups: computers
1074     excludehostgroups: heavy-exim, heavy-postfix
1075   -
1076     name: unwanted process - clamav - getsigs
1077     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs"
1078     hostgroups: computers
1079     excludehostgroups: heavy-exim, heavy-postfix
1080  ###
1081   -
1082     name: process - spamd - master
1083     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'"
1084     hostgroups: heavy-exim
1085     excludehosts: rietz, merkel, raff
1086   -
1087     name: process - spamd - master
1088     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'"
1089     hosts: liszt
1090   -
1091     name: process - spamd - child
1092     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
1093     hosts: liszt
1094     hostgroups: heavy-exim
1095     depends: process - spamd - master
1096     excludehosts: rietz, merkel, raff
1097   #
1098   -
1099     name: process - spamd - master
1100     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
1101     hosts: rietz
1102   -
1103     name: process - spamd - child
1104     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
1105     hosts: rietz
1106   #
1107   -
1108     name: unwanted process - spamd
1109     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1110     hostgroups: computers
1111     excludehostgroups: heavy-exim
1112     excludehosts: liszt
1113   -
1114     name: unwanted process - spamd
1115     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1116     hosts: merkel, raff
1117
1118  ###
1119   #-
1120   #  name: process - greylistd
1121   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
1122   #  hostgroups: heavy-exim
1123   #
1124   -
1125     name: unwanted process - greylistd
1126     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
1127     hostgroups: computers
1128
1129  ###
1130   -
1131     name: process - postgrey
1132     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 --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'"
1133     hostgroups: heavy-exim
1134   -
1135     name: process - postgrey
1136     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'"
1137     hostgroups: heavy-postfix
1138   #
1139   -
1140     name: unwanted process - postgrey
1141     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
1142     hostgroups: computers
1143     excludehostgroups: heavy-postfix, heavy-exim
1144  ###
1145   -
1146     name: process - amavis - master
1147     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
1148     hostgroups: amavis-hosts
1149   -
1150     name: process - amavis - all
1151     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
1152     hostgroups: amavis-hosts
1153     depends: process - amavis - master
1154   #
1155   -
1156     name: unwanted process - amavis
1157     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
1158     hostgroups: computers
1159     excludehostgroups: amavis-hosts
1160  ###
1161   -
1162     name: process - weightd - master
1163     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
1164     hostgroups: heavy-postfix
1165   -
1166     name: process - weightd - cache
1167     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
1168     hostgroups: heavy-postfix
1169     depends: process - weightd - master
1170   -
1171     name: process - weightd - child
1172     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
1173     hostgroups: heavy-postfix
1174     depends: process - weightd - master
1175   #
1176   -
1177     name: unwanted process - policyd-weight
1178     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
1179     hostgroups: computers
1180     excludehostgroups: heavy-postfix
1181
1182
1183
1184  ###
1185   -
1186     name: process - postfix - master
1187     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1188     hostgroups: postfix-hosts
1189   -
1190     name: process - postfix - qmgr
1191     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1192     hostgroups: postfix-hosts
1193     depends: process - postfix - master
1194   #-
1195   #  name: process - postfix - tlsmgr
1196   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1197   #  hostgroups: postfix-hosts
1198   #  depends: process - postfix - master
1199   -
1200     name: process - postfix - pickup
1201     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1202     hostgroups: postfix-hosts
1203     depends: process - postfix - master
1204   -
1205     name: process - postfix - anvil
1206     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1207     hostgroups: postfix-hosts
1208     depends: process - postfix - master
1209
1210   -
1211     name: process - postfix - trivial-rewrite
1212     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'"
1213     hostgroups: postfix-hosts
1214     depends: process - postfix - master
1215   -
1216     name: process - postfix - proxymap
1217     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1218     hostgroups: postfix-hosts
1219     depends: process - postfix - master
1220   -
1221     name: process - postfix - cleanup
1222     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1223     hostgroups: postfix-hosts
1224     depends: process - postfix - master
1225   -
1226     name: process - postfix - local
1227     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1228     hostgroups: postfix-hosts
1229     depends: process - postfix - master
1230
1231   -
1232     name: process - postfix - smtpd
1233     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'"
1234     hostgroups: postfix-hosts
1235     excludehosts: liszt
1236     depends: process - postfix - master
1237   -
1238     name: process - postfix - smtp
1239     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1240     hostgroups: postfix-hosts
1241     excludehosts: liszt
1242     depends: process - postfix - master
1243
1244   -
1245     name: process - postfix - smtpd
1246     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'"
1247     hosts: liszt
1248     depends: process - postfix - master
1249   -
1250     name: process - postfix - smtp
1251     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1252     hosts: liszt
1253     depends: process - postfix - master
1254
1255  ###
1256   -
1257     name: network service - smtp
1258     check: dsa_check_smtp
1259     hostgroups: computers
1260     excludehostgroups: postfix-hosts
1261     depends: process - exim
1262
1263   -
1264     name: network service - smtp
1265     check: dsa_check_smtp
1266     hostgroups: postfix-hosts
1267     excludehosts: verdi, kassia, allegri, raptor, piatti
1268     depends: process - postfix - master
1269   -
1270     name: network service - smtp - port 2025
1271     check: dsa_check_smtp_port!2025
1272     hosts: verdi, kassia, murphy, allegri, piatti
1273     depends: process - postfix - master
1274   -
1275     name: network service - smtp - port 8080
1276     check: dsa_check_smtp_port!8080
1277     hosts: murphy
1278     depends: process - postfix - master
1279   -
1280     name: network service - smtp - port 2025
1281     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1282     runfrom: murphy
1283     hosts: raptor
1284     depends: process - postfix - master
1285
1286   -
1287     name: network service local - smtps cert
1288     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1289     hostgroups: postfix-hosts
1290     depends: process - postfix - master
1291     normal_check_interval: 120
1292
1293
1294   -
1295     name: setup - dsa config
1296     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1297     hostgroups: computers
1298     normal_check_interval: 120
1299   -
1300     name: setup - ud-ldap freshness
1301     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1302     hostgroups: computers
1303  ###
1304   -
1305     name: process - uptimed
1306     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1307     hostgroups: computers
1308  ###
1309   -
1310     name: process - irqbalance
1311     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1312     hostgroups: computers
1313     excludehostgroups: single-cpu
1314   -
1315     name: unwanted process - irqbalance
1316     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1317     hostgroups: single-cpu
1318
1319  ####
1320  ###
1321   #-
1322   #  name: unwanted process - system-tools-backends
1323   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1324   #  hostgroups: computers
1325   #-
1326   #  name: unwanted process - dbus-daemon
1327   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1328   #  hostgroups: computers
1329   -
1330     name: unwanted process - gkrellmd
1331     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1332     hostgroups: computers
1333   -
1334     name: unwanted process - portmap
1335     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1336     hostgroups: computers
1337     excludehostgroups: nfs-client, nfs-server
1338   -
1339     name: unwanted process - rpc.statd
1340     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1341     hostgroups: computers
1342     excludehostgroups: nfs-client, nfs-server
1343   -
1344     name: unwanted process - inetd
1345     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1346     hostgroups: computers
1347   -
1348     name: unwanted process - snmpd
1349     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1350     hostgroups: computers
1351
1352
1353  ############ Processes/Services that only run on some computers ############
1354  ####
1355  ###
1356   -
1357     name: process - rngd
1358     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1359     hostgroups: dl385
1360  ###
1361   -
1362     name: process - mdadm monitor
1363     servicegroups: raid
1364     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'"
1365     hostgroups: sw-raid
1366   -
1367     name: RAID - sw raid
1368     servicegroups: raid
1369     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1370     hostgroups: sw-raid
1371
1372  ###
1373   -
1374     name: process - cpqarrayd
1375     servicegroups: raid
1376     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1377     hostgroups: dl385, dl380, dl360
1378   -
1379     name: RAID - arrayprobe
1380     servicegroups: raid
1381     nrpe: "sudo /usr/bin/arrayprobe"
1382     hostgroups: dl385, dl380, dl360
1383   -
1384     name: HW - hpacucli status
1385     servicegroups: raid
1386     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1387     normal_check_interval: 120
1388     hostgroups: dl385, dl380, dl360
1389  ###
1390   -
1391     name: RAID - areca
1392     servicegroups: raid
1393     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-areca"
1394     hosts: powell
1395  ###
1396   -
1397     name: RAID - DAC960
1398     servicegroups: raid
1399     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1400     hosts: verdi
1401  ###
1402   -
1403     name: RAID - 3ware
1404     servicegroups: raid
1405     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1406     hosts: puccini
1407  ###
1408   -
1409     name: RAID - MPT
1410     servicegroups: raid
1411     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1412     hosts: master
1413
1414  ###
1415   -
1416     name: process - slapd
1417     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'"
1418     hosts: samosa
1419  ###
1420   -
1421     name: process - ulogd
1422     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
1423     hostgroups: ulogd-hosts
1424   -
1425     name: unexpected process - ulogd
1426     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
1427     hostgroups: computers
1428     excludehostgroups: ulogd-hosts
1429  ###
1430   -
1431     name: process - udevd
1432     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1433     hostgroups: computers
1434     excludehostgroups: no-udev
1435   -
1436     name: unexpected process - udev
1437     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
1438     hostgroups: no-udev
1439  ###
1440   -
1441     name: process - acpid
1442     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
1443     hostgroups: acpid-hosts
1444   -
1445     name: unexpected process - acpid
1446     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
1447     hostgroups: computers
1448     excludehostgroups: acpid-hosts
1449
1450  ###
1451   -
1452     name: process - xinetd
1453     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'"
1454     hosts: samosa, raptor, allegri, gluck, zelenka
1455     hostgroups: rsyncd-hosts
1456   -
1457     name: unwanted process - xinetd
1458     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1459     hostgroups: computers
1460     excludehosts: samosa, raptor, allegri, gluck, zelenka
1461     excludehostgroups: rsyncd-hosts
1462  ###
1463   -
1464     name: network service - finger
1465     check: check_tcp!79
1466     hosts: samosa
1467     depends: process - xinetd
1468  ###
1469   -
1470     name: network service - rsync
1471     check: check_tcp!873
1472     hostgroups: rsyncd-hosts
1473     depends: process - xinetd
1474
1475   -
1476     name: network service - rsync
1477     check: check_tcp!873
1478     hosts: rietz2
1479     depends: rietz:process - xinetd
1480
1481   -
1482     name: network service - rsync
1483     check: check_tcp!873
1484     hosts: kassia-sec
1485     depends: kassia:process - xinetd
1486
1487  ###
1488   -
1489     name: process - nagios3
1490     # there is always one extra process per check currently running..
1491     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'"
1492     hosts: samosa
1493
1494  ###
1495   -
1496     name: process - apache2 - master
1497     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1498     hostgroups: apache2-hosts
1499   -
1500     name: process - apache2 - worker
1501     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1502     hostgroups: apache2-hosts
1503     depends: process - apache2 - master
1504   -
1505     name: network service - http
1506     check: check_http
1507     hostgroups: apache2-hosts
1508     excludehosts: kassia
1509     depends: process - apache2 - master
1510   -
1511     name: network service - http
1512     check: check_http
1513     depends: kassia:process - apache2 - master
1514     hosts: kassia-sec, kassia-ftp
1515
1516
1517   -
1518     name: process - apache - master
1519     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1520     hostgroups: apache1-hosts
1521   -
1522     name: process - apache - worker
1523     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1524     hostgroups: apache1-hosts
1525     depends: process - apache - master
1526   -
1527     name: network service - http
1528     check: check_http
1529     hostgroups: apache1-hosts
1530     depends: process - apache - master
1531
1532   -
1533     name: network service - http keyserver
1534     check: dsa_check_http_port!11371
1535     hosts: raff
1536     depends: process - apache2 - master
1537
1538   -
1539     name: network service - https
1540     check: check_https
1541     hosts: samosa, ries
1542     depends: "process - apache2 - master"
1543     normal_check_interval: 120
1544   -
1545     name: network service - https cert
1546     check: dsa_check_cert!443
1547     hosts: samosa, ries
1548     depends: network service - https
1549     normal_check_interval: 240
1550  ####
1551   -
1552     name: process - named
1553     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1554     hostgroups: bind9-hosts
1555   -
1556     name: network service - dns
1557     check: check_dns
1558     hostgroups: bind9-hosts
1559     depends: process - named
1560   -
1561     name: unwanted process - named
1562     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1563     hostgroups: computers
1564     excludehostgroups: bind9-hosts
1565
1566  ####
1567   -
1568     name: process - vsftp - listener
1569     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1570     hostgroups: ftpd-hosts
1571     excludehosts: kassia
1572   -
1573     name: process - vsftp - instance
1574     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1575     hostgroups: ftpd-hosts
1576     excludehosts: kassia
1577   -
1578     name: network service - ftp
1579     check: check_ftp
1580     hostgroups: ftpd-hosts
1581     excludehosts: kassia
1582     depends: process - vsftp - listener
1583   -
1584     name: network service - ftp
1585     check: check_ftp
1586     hosts: kassia-sec, kassia-ftp
1587     depends: kassia:process - xinetd
1588
1589  ####
1590   -
1591     name: process - debianqueued
1592     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1593     hosts: ries, ravel, klecker
1594
1595  ###
1596   -
1597     name: process - postresql81 - master
1598     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'"
1599     hostgroups: postgres81-hosts
1600   -
1601     name: process - postresql81 - writer
1602     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1603     hostgroups: postgres81-hosts
1604     depends: process - postresql81 - master
1605   -
1606     name: process - postresql81 - buffer
1607     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1608     hostgroups: postgres81-hosts
1609     depends: process - postresql81 - master
1610   -
1611     name: process - postresql81 - collector
1612     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1613     hostgroups: postgres81-hosts
1614     depends: process - postresql81 - master
1615  ####
1616   -
1617     name: process - postresql83 - master
1618     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'"
1619     hostgroups: postgres83-hosts
1620     excludehosts: piatti, klecker
1621   -
1622     name: process - postresql83 - master udd
1623     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'"
1624     hosts: piatti
1625   -
1626     name: process - postresql83 - dak master
1627     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/dak -c config_file=/etc/postgresql/8.3/dak/postgresql.conf'"
1628     hosts: ries, klecker
1629   -
1630     name: process - postresql83 - dak-dev master
1631     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/dak-dev -c config_file=/etc/postgresql/8.3/dak-dev/postgresql.conf'"
1632     hosts: ries
1633  ####
1634   -
1635     name: process - mysql - master
1636     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1637     hostgroups: mysql-hosts
1638   -
1639     name: process - mysql - workers
1640     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1641     hostgroups: mysql-hosts
1642     depends: process - mysql - master
1643
1644  ####
1645   -
1646     name: process - stunnel4 - postgres-udd
1647     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd-server.conf'"
1648     hosts: piatti
1649   -
1650     name: process - stunnel4 - postgres-udd
1651     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd.conf'"
1652     hosts: merkel, master
1653
1654  ####
1655   #-
1656   #  name: process - xenconsoled
1657   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1658   #  hosts: piatti
1659   #-
1660   #  name: process - xenstored
1661   #  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'"
1662   #  hosts: piatti
1663   #-
1664   #  name: process - xend
1665   #  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'"
1666   #  hosts: piatti
1667 #
1668  ####
1669   -
1670     name: process - libvirtd
1671     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C libvirtd -a '/usr/sbin/libvirtd -d'"
1672     hosts: unger
1673
1674  ###
1675   -
1676     name: process - buildd
1677     servicegroups: buildd
1678     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1679     hostgroups: buildd
1680     contacts: luk
1681
1682  ###
1683   -
1684     name: process - iscsid
1685     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1686     hosts: raptor
1687
1688  ###
1689   #-
1690   #  name: process - tftpd
1691   #  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'"
1692   #  hostgroups: tftpd-hosts
1693  ###
1694 #  -
1695 #    name: process - dhcpd
1696 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1697 #    hosts: paer
1698  ###
1699   -
1700     name: process - monit
1701     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'"
1702     hosts: steffani, kassia, master
1703  ###
1704   -
1705     name: process - smartd
1706     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C smartd -a '/usr/sbin/smartd --pidfile /var/run/smartd.pid --interval=1800'"
1707     hostgroups: smart
1708
1709  ############ NFS Stuff ############
1710  ####
1711   -
1712     name: process - portmap
1713     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'"
1714     hostgroups: nfs-client, nfs-server
1715   -
1716     name: process - statd
1717     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
1718     hostgroups: nfs-client, nfs-server
1719   -
1720     name: process - nfsd
1721     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
1722     hostgroups: nfs-server
1723   -
1724     name: process - lockd
1725     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C lockd -a '[lockd]'"
1726     hostgroups: nfs-server
1727   -
1728     name: process - mountd
1729     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'"
1730     hostgroups: nfs-server
1731  # see if the nfs stuff works and doesn't hang.
1732   # the df check all script will also hang, but we don't appear to pay attention to that
1733   -
1734     name: nfs mount ftp archive
1735     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /home/org/ftp.root/debian"
1736     hosts: gluck
1737   -
1738     name: nfs mount ftp archive
1739     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp"
1740     hosts: merkel, raff
1741
1742  ############ MISC OTHER Stuff ############
1743  #####
1744   -
1745     name: mirror sync - security
1746     check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org"
1747     hosts: global
1748   -
1749     name: mirror sync - security.eu
1750     check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org"
1751     hosts: global
1752   -
1753     name: mirror sync - security.us
1754     check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org"
1755     hosts: global
1756   -
1757     name: DNS SOA sync - debprivate-ftcollins.debian.org
1758     check: "dsa_check_soas!debprivate-ftcollins.debian.org"
1759     hosts: global
1760   -
1761     name: DNS SOA sync - debian.org
1762     check: "dsa_check_soas_add!samosa.debian.org!debian.org"
1763     hosts: global
1764   -
1765     name: DNS SOA sync - debian.net
1766     check: "dsa_check_soas_add!samosa.debian.org!debian.net"
1767     hosts: global
1768   -
1769     name: DNS SOA sync - debian.com
1770     check: "dsa_check_soas_add!samosa.debian.org!debian.com"
1771     hosts: global
1772   -
1773     name: DNS SOA sync - mirror.debian.net
1774     check: "dsa_check_soas_add!samosa.debian.org!mirror.debian.net"
1775     hosts: global
1776   -
1777     name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa
1778     check: "dsa_check_soas_add!samosa.debian.org!144-28.118.59.86.in-addr.arpa"
1779     hosts: global
1780   -
1781     name: DNS SOA sync - alioth.debian.org
1782     check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org"
1783     hosts: global