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