[project @ zobel@debian.org-20090301140006-d9u19wqzr5wa9m28]
[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
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
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
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
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
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, postgres81-hosts, heavy-exim, acpid-hosts, lenny
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, postgres81-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
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
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
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
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
540   dl380:
541     alias: HP DL380 hosts
542     private: 1
543   dl385:
544     alias: HP DL385 hosts
545     private: 1
546   dl360:
547     alias: HP DL360 hosts
548     private: 1
549   sw-raid:
550     alias: Hosts with Linux software raid
551     private: 1
552   single-cpu:
553     alias: Hosts with only one CPU
554     private: 1
555
556   lenny:
557     alias: Hosts running lenny, not etch
558     private: 1
559
560   no-samhain:
561     alias: hosts not running samhain properly
562     private: 1
563
564   #syslog-ng-hosts:
565   #  alias: hosts running syslog-ng instead of sysklogd
566   #  private: 1
567   rsyslog-hosts:
568     alias: hosts running rsyslogd instead of sysklogd
569     private: 1
570   postfix-hosts:
571     alias: hosts running postfix instead of exim
572     private: 1
573   heavy-exim:
574     alias: "hosts running the full mail stuff, including clamav, SA, and postgrey"
575     private: 1
576   heavy-postfix:
577     alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, policyd-weight"
578     private: 1
579   apache2-hosts:
580     alias: hosts running apache2
581     private: 1
582   apache1-hosts:
583     alias: hosts running apache1
584     private: 1
585   bind9-hosts:
586     alias: hosts running bind9
587     private: 1
588   amavis-hosts:
589     alias: hosts running amavis
590     private: 1
591   ftpd-hosts:
592     alias: hosts running vsftpd
593     private: 1
594   #tftpd-hosts:
595   #  alias: hosts running a tftpd (tftpd-hpa as a daemon)
596   #  private: 1
597   rsyncd-hosts:
598     alias: hosts providing rsync services via xinetd
599     private: 1
600   postgres81-hosts:
601     alias: hosts running postgres81
602     private: 1
603   postgres83-hosts:
604     alias: hosts running postgres83
605     private: 1
606   mysql-hosts:
607     alias: hosts running mysql
608     private: 1
609   no-udev:
610     alias: hosts not using udev
611     private: 1
612   ulogd-hosts:
613     alias: hosts running ulogd
614     private: 1
615   acpid-hosts:
616     alias: hosts running acpid
617     private: 1
618
619   nfs-client:
620     alias: hosts mounting filesystems using NFS
621     private: 1
622   nfs-server:
623     alias: hosts serving filesystems using NFS
624     private: 1
625
626   highload:
627     alias: "hosts on which high load is normal"
628     private: 1
629
630   secondary-IPs:
631     alias: secondary IP addresses
632     private: 1
633
634   smart:
635     alias: hosts with smartd
636     private: 1
637   hasbootfs:
638     alias: hosts with a /boot
639     private: 1
640
641
642 #############################
643 # servicegroups
644 #############################
645 servicegroups:
646   diskspace:
647     alias: diskusage checks
648   buildd:
649     alias: buildd checks
650   raid:
651     alias: raid checks
652   kernel:
653     alias: kernel checks
654   weaksshkeys:
655     alias: weak ssh keys
656   apt:
657     alias: apt upgrade status
658   samhain:
659     alias: samhain integrity status
660   security:
661     alias: security
662     servicegroup_members: apt, weaksshkeys, kernel, samhain
663
664 #############################
665 # services
666 #############################
667 services:
668   -
669     name: PING
670     check: "check_ping!300.0,20%!600.0,40%"
671     hostgroups: pingable
672     excludehostgroups: routing-infrastructure, dialup
673     normal_check_interval: 5
674     max_check_attempts: 4
675     retry_check_interval: 1
676   -
677     name: PING
678     check: "check_ping!2000.0,60%!3000.0,80%"
679     hostgroups: routing-infrastructure, dialup
680     normal_check_interval: 5
681     max_check_attempts: 4
682     retry_check_interval: 1
683
684  ############ Services ############
685  ###
686
687  ############ Disk Usage ############
688  ####
689   -
690     name: disk usage - all
691     servicegroups: diskspace
692     nrpe: "/usr/lib/nagios/plugins/check_disk -X devpts -X proc 90 95"
693     hostgroups: computers
694   -
695     name: disk usage on /
696     servicegroups: diskspace
697     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
698     hostgroups: computers
699     excludehosts: ries
700   -
701     name: disk usage on /
702     servicegroups: diskspace
703     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /"
704     hosts: ries
705   -
706     name: disk usage on /boot
707     servicegroups: diskspace
708     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
709     hostgroups: hasbootfs
710   -
711     name: disk usage on /var
712     servicegroups: diskspace
713     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
714     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, voltaire, lebrun, tartini, morales, powell, escher
715   -
716     name: disk usage on /org
717     servicegroups: diskspace
718     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
719     hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, spontini, ravel, mahler, schroeder, piatti, pescetti, widor
720   -
721     name: disk usage on /org
722     servicegroups: diskspace
723     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
724     hosts: merkel, bartok
725   -
726     name: disk usage on /srv
727     servicegroups: diskspace
728     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
729     hosts: agricola, arcadelt, argento, allegri, tartini, morales, powell, puccini, zelenka
730   -
731     name: disk usage on /org/scratch
732     servicegroups: diskspace
733     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch"
734     hosts: merkel
735   -
736     name: disk usage on /tmp
737     servicegroups: diskspace
738     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
739     hosts: samosa, raff, gluck, saens, puccini, merkel, tartini, powell, piatti, escher
740   -
741     name: disk usage on /usr
742     servicegroups: diskspace
743     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
744     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, merulo, tartini, morales, powell
745   -
746     name: disk usage on /home
747     servicegroups: diskspace
748     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
749     hosts: raptor, voltaire, lebrun, rem, ball, paer, escher
750   -
751     name: disk usage on /home
752     servicegroups: diskspace
753     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
754     hosts: gluck
755   -
756     name: disk usage on /chroot
757     servicegroups: diskspace
758     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
759     hosts: raptor
760   -
761     name: disk usage on /mnt/hdc
762     servicegroups: diskspace
763     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
764     hosts: voltaire
765   -
766     name: disk usage on /mnt/sdb1
767     servicegroups: diskspace
768     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/sdb1"
769     hosts: spontini
770   -
771     name: disk usage on /x
772     servicegroups: diskspace
773     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
774     hosts: caballero
775
776  ############ All Computers ############
777  ####
778   -
779     name: apt - security updates
780     servicegroups: apt
781     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
782     hostgroups: computers
783     normal_check_interval:  60
784     retry_check_interval: 15
785  ####
786   -
787     name: backup
788     nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
789     hostgroups: computers
790     normal_check_interval: 180
791     max_check_attempts: 2
792     retry_check_interval: 5
793   -
794     name: backup server config
795     nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
796     hosts: bartok
797     normal_check_interval: 180
798     max_check_attempts: 2
799     retry_check_interval: 5
800
801  ####
802   -
803     name: running kernel
804     servicegroups: kernel
805     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
806     hostgroups: computers
807     normal_check_interval: 180
808     retry_check_interval: 5
809
810  ####
811   -
812     name: process - samhain
813     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'"
814     hostgroups: computers
815     excludehostgroups: no-samhain
816   -
817     name: samhain
818     servicegroups: samhain
819     nrpe: "/usr/lib/nagios/plugins/dsa-check-samhain -t 45"
820     hostgroups: computers
821     excludehostgroups: no-samhain
822     depends: process - samhain
823     normal_check_interval: 240
824     retry_check_interval: 5
825
826  ####
827   -
828     name: users
829     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
830     hostgroups: computers
831  ####
832   -
833     name: load
834     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
835     hostgroups: computers
836     excludehostgroups: highload
837   -
838     name: load
839     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
840     hostgroups: highload
841     excludehosts: rietz
842   -
843     name: load
844     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
845     hosts: rietz
846  ####
847   -
848     name: processes - zombies
849     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
850     hostgroups: computers
851  ####
852   -
853     name: processes - total
854     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
855     hostgroups: computers
856  ####
857   -
858     name: swap usage - percent
859     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
860     hostgroups: computers
861  ####
862   -
863     name: swap usage - mb
864     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
865     hostgroups: computers
866  ####
867   -
868     name: process - getty
869     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
870     hostgroups: computers
871     excludehosts: zelenka
872  ####
873   -
874     name: process - sshd
875     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
876     hostgroups: computers
877   -
878     name: "network service - sshd"
879     check: dsa_check_ssh
880     hostgroups: computers
881     depends: process - sshd
882     normal_check_interval:  60
883     notification_interval: 1440
884
885   -
886     name: "network service - sshd"
887     check: dsa_check_ssh
888     hostgroups: deadslow
889     excludehosts: agnesi
890     normal_check_interval:  180
891   -
892     name: "network service - sshd - 2260"
893     check: dsa_check_ssh_port!2260
894     hosts: agnesi
895     normal_check_interval:  180
896   -
897     name: "network service - sshd - 443"
898     check: dsa_check_ssh_port!443
899     hosts: gluck
900     normal_check_interval:  180
901
902   -
903     name: "network service - sshd - version"
904     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch3"
905     depends: network service - sshd
906     hostgroups: computers, deadslow
907     excludehosts: agnesi, crest, kullervo
908     excludehostgroups: lenny
909     normal_check_interval:  360
910   -
911     name: "network service - sshd - version"
912     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1"
913     depends: network service - sshd
914     hosts: crest, kullervo
915     normal_check_interval:  360
916   -
917     name: "network service - sshd - version"
918     check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5"
919     depends: network service - sshd
920     hostgroups: lenny
921     normal_check_interval:  360
922   -
923     name: "network service - sshd - version - 2260"
924     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch3"
925     depends: network service - sshd - 2260
926     hosts: agnesi
927     normal_check_interval:  360
928  #
929   -
930     name: ssh - weak keys
931     servicegroups: weaksshkeys
932     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
933     hostgroups: computers
934     normal_check_interval:  360
935  ####
936   -
937     name: network service - nrpe
938     check: check_tcp!5666
939     hostgroups: computers
940     max_check_attempts: -2
941     notification_interval: 1440
942   -
943     name: process - nrpe
944     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'"
945     hostgroups: computers
946     max_check_attempts: -1
947     depends: network service - nrpe
948  ###
949   -
950     name: process - munin-node
951     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
952     hostgroups: computers
953   -
954     name: network service - munin-node
955     check: check_tcp!4949
956     hostgroups: computers
957     depends: process - munin-node
958  ###
959   -
960     name: process - ntpd
961     # 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'"
962     # 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'"
963     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
964     hostgroups: computers
965     excludehosts: raptor, zelenka
966   -
967     name: network service - ntp
968     check: check_ntp
969     hostgroups: computers
970     depends: process - ntpd
971     excludehosts: raptor, allegri, zelenka
972   #
973   -
974     name: network service - time
975     check: dsa_check_time
976     hosts: raptor, allegri, zelenka
977     depends: process - xinetd
978
979  ###
980   -
981     name: process - atd
982     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
983     hostgroups: computers
984  ###
985   -
986     name: process - cron
987     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
988     hostgroups: computers
989
990  ###
991  # -
992  #   name: process - syslog-ng
993  #   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'"
994  #   hostgroups: syslog-ng-hosts
995  ###
996   -
997     name: process - rsyslogd
998     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rsyslogd  -a '/usr/sbin/rsyslogd -c3'"
999     hostgroups: rsyslog-hosts
1000  ###
1001   -
1002     name: process - syslogd
1003     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
1004     hostgroups: computers
1005     excludehostgroups: rsyslog-hosts
1006   -
1007     name: process - klogd
1008     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
1009     hostgroups: computers
1010     excludehostgroups: rsyslog-hosts
1011
1012  ### MAIL STUFF
1013  ###
1014   -
1015     name: process - exim
1016     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
1017     hostgroups: computers
1018     excludehostgroups: postfix-hosts
1019     excludehosts: master, rietz, merkel, gluck
1020   -
1021     name: process - exim - total
1022     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
1023     hostgroups: computers
1024     excludehostgroups: postfix-hosts
1025     excludehosts: master, rietz, merkel, gluck
1026   -
1027     name: process - exim
1028     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
1029     hosts: master, rietz, merkel, gluck
1030  ###
1031   -
1032     name: process - clamav - clamd
1033     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
1034     hostgroups: heavy-exim, heavy-postfix
1035   -
1036     name: service - clamav
1037     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
1038     hostgroups: heavy-exim, heavy-postfix
1039     depends: process - clamav - clamd
1040   -
1041     name: process - clamav - freshclam
1042     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
1043     hostgroups: heavy-exim, heavy-postfix
1044   -
1045     name: process - clamav - getsigs
1046     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'"
1047     hostgroups: heavy-exim, heavy-postfix
1048   #
1049   -
1050     name: unwanted process - clamav
1051     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
1052     hostgroups: computers
1053     excludehostgroups: heavy-exim, heavy-postfix
1054   -
1055     name: unwanted process - freshclam
1056     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
1057     hostgroups: computers
1058     excludehostgroups: heavy-exim, heavy-postfix
1059   -
1060     name: unwanted process - clamav - getsigs
1061     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs"
1062     hostgroups: computers
1063     excludehostgroups: heavy-exim, heavy-postfix
1064  ###
1065   -
1066     name: process - spamd - master
1067     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'"
1068     hostgroups: heavy-exim
1069     excludehosts: rietz, merkel, raff
1070   -
1071     name: process - spamd - master
1072     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'"
1073     hosts: liszt
1074   -
1075     name: process - spamd - child
1076     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
1077     hosts: liszt
1078     hostgroups: heavy-exim
1079     depends: process - spamd - master
1080     excludehosts: rietz, merkel, raff
1081   #
1082   -
1083     name: process - spamd - master
1084     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
1085     hosts: rietz
1086   -
1087     name: process - spamd - child
1088     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
1089     hosts: rietz
1090   #
1091   -
1092     name: unwanted process - spamd
1093     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1094     hostgroups: computers
1095     excludehostgroups: heavy-exim
1096     excludehosts: liszt
1097   -
1098     name: unwanted process - spamd
1099     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1100     hosts: merkel, raff
1101
1102  ###
1103   #-
1104   #  name: process - greylistd
1105   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
1106   #  hostgroups: heavy-exim
1107   #
1108   -
1109     name: unwanted process - greylistd
1110     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
1111     hostgroups: computers
1112
1113  ###
1114   -
1115     name: process - postgrey
1116     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'"
1117     hostgroups: heavy-exim
1118   -
1119     name: process - postgrey
1120     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'"
1121     hostgroups: heavy-postfix
1122   #
1123   -
1124     name: unwanted process - postgrey
1125     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
1126     hostgroups: computers
1127     excludehostgroups: heavy-postfix, heavy-exim
1128  ###
1129   -
1130     name: process - amavis - master
1131     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
1132     hostgroups: amavis-hosts
1133   -
1134     name: process - amavis - all
1135     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
1136     hostgroups: amavis-hosts
1137     depends: process - amavis - master
1138   #
1139   -
1140     name: unwanted process - amavis
1141     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
1142     hostgroups: computers
1143     excludehostgroups: amavis-hosts
1144  ###
1145   -
1146     name: process - weightd - master
1147     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
1148     hostgroups: heavy-postfix
1149   -
1150     name: process - weightd - cache
1151     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
1152     hostgroups: heavy-postfix
1153     depends: process - weightd - master
1154   -
1155     name: process - weightd - child
1156     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
1157     hostgroups: heavy-postfix
1158     depends: process - weightd - master
1159   #
1160   -
1161     name: unwanted process - policyd-weight
1162     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
1163     hostgroups: computers
1164     excludehostgroups: heavy-postfix
1165
1166
1167
1168  ###
1169   -
1170     name: process - postfix - master
1171     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1172     hostgroups: postfix-hosts
1173   -
1174     name: process - postfix - qmgr
1175     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1176     hostgroups: postfix-hosts
1177     depends: process - postfix - master
1178   #-
1179   #  name: process - postfix - tlsmgr
1180   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1181   #  hostgroups: postfix-hosts
1182   #  depends: process - postfix - master
1183   -
1184     name: process - postfix - pickup
1185     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1186     hostgroups: postfix-hosts
1187     depends: process - postfix - master
1188   -
1189     name: process - postfix - anvil
1190     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1191     hostgroups: postfix-hosts
1192     depends: process - postfix - master
1193
1194   -
1195     name: process - postfix - trivial-rewrite
1196     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'"
1197     hostgroups: postfix-hosts
1198     depends: process - postfix - master
1199   -
1200     name: process - postfix - proxymap
1201     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1202     hostgroups: postfix-hosts
1203     depends: process - postfix - master
1204   -
1205     name: process - postfix - cleanup
1206     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1207     hostgroups: postfix-hosts
1208     depends: process - postfix - master
1209   -
1210     name: process - postfix - local
1211     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1212     hostgroups: postfix-hosts
1213     depends: process - postfix - master
1214
1215   -
1216     name: process - postfix - smtpd
1217     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'"
1218     hostgroups: postfix-hosts
1219     excludehosts: liszt
1220     depends: process - postfix - master
1221   -
1222     name: process - postfix - smtp
1223     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1224     hostgroups: postfix-hosts
1225     excludehosts: liszt
1226     depends: process - postfix - master
1227
1228   -
1229     name: process - postfix - smtpd
1230     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'"
1231     hosts: liszt
1232     depends: process - postfix - master
1233   -
1234     name: process - postfix - smtp
1235     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1236     hosts: liszt
1237     depends: process - postfix - master
1238
1239  ###
1240   -
1241     name: network service - smtp
1242     check: dsa_check_smtp
1243     hostgroups: computers
1244     excludehostgroups: postfix-hosts
1245     depends: process - exim
1246
1247   -
1248     name: network service - smtp
1249     check: dsa_check_smtp
1250     hostgroups: postfix-hosts
1251     excludehosts: verdi, kassia, allegri, raptor, piatti
1252     depends: process - postfix - master
1253   -
1254     name: network service - smtp - port 2025
1255     check: dsa_check_smtp_port!2025
1256     hosts: verdi, kassia, murphy, allegri, piatti
1257     depends: process - postfix - master
1258   -
1259     name: network service - smtp - port 8080
1260     check: dsa_check_smtp_port!8080
1261     hosts: murphy
1262     depends: process - postfix - master
1263   -
1264     name: network service - smtp - port 2025
1265     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1266     runfrom: murphy
1267     hosts: raptor
1268     depends: process - postfix - master
1269
1270   -
1271     name: network service local - smtps cert
1272     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1273     hostgroups: postfix-hosts
1274     depends: process - postfix - master
1275     normal_check_interval: 120
1276
1277
1278   -
1279     name: setup - dsa config
1280     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1281     hostgroups: computers
1282     normal_check_interval: 120
1283   -
1284     name: setup - ud-ldap freshness
1285     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1286     hostgroups: computers
1287  ###
1288   -
1289     name: process - uptimed
1290     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1291     hostgroups: computers
1292  ###
1293   -
1294     name: process - irqbalance
1295     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1296     hostgroups: computers
1297     excludehostgroups: single-cpu
1298   -
1299     name: unwanted process - irqbalance
1300     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1301     hostgroups: single-cpu
1302
1303  ####
1304  ###
1305   #-
1306   #  name: unwanted process - system-tools-backends
1307   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1308   #  hostgroups: computers
1309   #-
1310   #  name: unwanted process - dbus-daemon
1311   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1312   #  hostgroups: computers
1313   -
1314     name: unwanted process - gkrellmd
1315     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1316     hostgroups: computers
1317   -
1318     name: unwanted process - portmap
1319     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1320     hostgroups: computers
1321     excludehostgroups: nfs-client, nfs-server
1322   -
1323     name: unwanted process - rpc.statd
1324     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1325     hostgroups: computers
1326     excludehostgroups: nfs-client, nfs-server
1327   -
1328     name: unwanted process - inetd
1329     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1330     hostgroups: computers
1331   -
1332     name: unwanted process - snmpd
1333     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1334     hostgroups: computers
1335
1336
1337  ############ Processes/Services that only run on some computers ############
1338  ####
1339  ###
1340   -
1341     name: process - rngd
1342     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1343     hostgroups: dl385
1344  ###
1345   -
1346     name: process - mdadm monitor
1347     servicegroups: raid
1348     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'"
1349     hostgroups: sw-raid
1350   -
1351     name: RAID - sw raid
1352     servicegroups: raid
1353     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1354     hostgroups: sw-raid
1355
1356  ###
1357   -
1358     name: process - cpqarrayd
1359     servicegroups: raid
1360     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1361     hostgroups: dl385, dl380, dl360
1362   -
1363     name: RAID - arrayprobe
1364     servicegroups: raid
1365     nrpe: "sudo /usr/bin/arrayprobe"
1366     hostgroups: dl385, dl380, dl360
1367   -
1368     name: HW - hpacucli status
1369     servicegroups: raid
1370     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1371     normal_check_interval: 120
1372     hostgroups: dl385, dl380, dl360
1373  ###
1374   -
1375     name: RAID - areca
1376     servicegroups: raid
1377     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-areca"
1378     hosts: powell
1379  ###
1380   -
1381     name: RAID - DAC960
1382     servicegroups: raid
1383     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1384     hosts: verdi
1385  ###
1386   -
1387     name: RAID - 3ware
1388     servicegroups: raid
1389     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1390     hosts: puccini
1391  ###
1392   -
1393     name: RAID - MPT
1394     servicegroups: raid
1395     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1396     hosts: master
1397
1398  ###
1399   -
1400     name: process - slapd
1401     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'"
1402     hosts: samosa
1403  ###
1404   -
1405     name: process - ulogd
1406     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
1407     hostgroups: ulogd-hosts
1408   -
1409     name: unexpected process - ulogd
1410     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
1411     hostgroups: computers
1412     excludehostgroups: ulogd-hosts
1413  ###
1414   -
1415     name: process - udevd
1416     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1417     hostgroups: computers
1418     excludehostgroups: no-udev
1419   -
1420     name: unexpected process - udev
1421     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
1422     hostgroups: no-udev
1423  ###
1424   -
1425     name: process - acpid
1426     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
1427     hostgroups: acpid-hosts
1428   -
1429     name: unexpected process - acpid
1430     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
1431     hostgroups: computers
1432     excludehostgroups: acpid-hosts
1433
1434  ###
1435   -
1436     name: process - xinetd
1437     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'"
1438     hosts: samosa, raptor, allegri, gluck, zelenka
1439     hostgroups: rsyncd-hosts
1440   -
1441     name: unwanted process - xinetd
1442     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1443     hostgroups: computers
1444     excludehosts: samosa, raptor, allegri, gluck, zelenka
1445     excludehostgroups: rsyncd-hosts
1446  ###
1447   -
1448     name: network service - finger
1449     check: check_tcp!79
1450     hosts: samosa
1451     depends: process - xinetd
1452  ###
1453   -
1454     name: network service - rsync
1455     check: check_tcp!873
1456     hostgroups: rsyncd-hosts
1457     depends: process - xinetd
1458
1459   -
1460     name: network service - rsync
1461     check: check_tcp!873
1462     hosts: rietz2
1463     depends: rietz:process - xinetd
1464
1465   -
1466     name: network service - rsync
1467     check: check_tcp!873
1468     hosts: kassia-sec
1469     depends: kassia:process - xinetd
1470
1471  ###
1472   -
1473     name: process - nagios3
1474     # there is always one extra process per check currently running..
1475     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'"
1476     hosts: samosa
1477
1478  ###
1479   -
1480     name: process - apache2 - master
1481     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1482     hostgroups: apache2-hosts
1483   -
1484     name: process - apache2 - worker
1485     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1486     hostgroups: apache2-hosts
1487     depends: process - apache2 - master
1488   -
1489     name: network service - http
1490     check: check_http
1491     hostgroups: apache2-hosts
1492     excludehosts: kassia
1493     depends: process - apache2 - master
1494   -
1495     name: network service - http
1496     check: check_http
1497     depends: kassia:process - apache2 - master
1498     hosts: kassia-sec, kassia-ftp
1499
1500
1501   -
1502     name: process - apache - master
1503     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1504     hostgroups: apache1-hosts
1505   -
1506     name: process - apache - worker
1507     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1508     hostgroups: apache1-hosts
1509     depends: process - apache - master
1510   -
1511     name: network service - http
1512     check: check_http
1513     hostgroups: apache1-hosts
1514     depends: process - apache - master
1515
1516   -
1517     name: network service - http keyserver
1518     check: dsa_check_http_port!11371
1519     hosts: raff
1520     depends: process - apache2 - master
1521
1522   -
1523     name: network service - https
1524     check: check_https
1525     hosts: samosa, ries
1526     depends: "process - apache2 - master"
1527     normal_check_interval: 120
1528   -
1529     name: network service - https cert
1530     check: dsa_check_cert!443
1531     hosts: samosa, ries
1532     depends: network service - https
1533     normal_check_interval: 240
1534  ####
1535   -
1536     name: process - named
1537     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1538     hostgroups: bind9-hosts
1539   -
1540     name: network service - dns
1541     check: check_dns
1542     hostgroups: bind9-hosts
1543     depends: process - named
1544   -
1545     name: unwanted process - named
1546     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1547     hostgroups: computers
1548     excludehostgroups: bind9-hosts
1549
1550  ####
1551   -
1552     name: process - vsftp - listener
1553     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1554     hostgroups: ftpd-hosts
1555     excludehosts: kassia
1556   -
1557     name: process - vsftp - instance
1558     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1559     hostgroups: ftpd-hosts
1560     excludehosts: kassia
1561   -
1562     name: network service - ftp
1563     check: check_ftp
1564     hostgroups: ftpd-hosts
1565     excludehosts: kassia
1566     depends: process - vsftp - listener
1567   -
1568     name: network service - ftp
1569     check: check_ftp
1570     hosts: kassia-sec, kassia-ftp
1571     depends: kassia:process - xinetd
1572
1573  ####
1574   -
1575     name: process - debianqueued
1576     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1577     hosts: ries, ravel, klecker
1578
1579  ###
1580   -
1581     name: process - postresql81 - master
1582     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'"
1583     hostgroups: postgres81-hosts
1584   -
1585     name: process - postresql81 - writer
1586     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1587     hostgroups: postgres81-hosts
1588     depends: process - postresql81 - master
1589   -
1590     name: process - postresql81 - buffer
1591     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1592     hostgroups: postgres81-hosts
1593     depends: process - postresql81 - master
1594   -
1595     name: process - postresql81 - collector
1596     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1597     hostgroups: postgres81-hosts
1598     depends: process - postresql81 - master
1599  ####
1600   -
1601     name: process - postresql83 - master
1602     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'"
1603     hostgroups: postgres83-hosts
1604     excludehosts: piatti
1605   -
1606     name: process - postresql83 - master
1607     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'"
1608     hosts: piatti
1609   -
1610     name: process - postresql83 - writer
1611     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'"
1612     hostgroups: postgres83-hosts
1613     depends: process - postresql83 - master
1614   -
1615     name: process - postresql83 - wal writer
1616     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: wal writer process'"
1617     hostgroups: postgres83-hosts
1618     depends: process - postresql83 - master
1619   -
1620     name: process - postresql83 - autovacuum launcher
1621     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: autovacuum launcher process'"
1622     hostgroups: postgres83-hosts
1623     depends: process - postresql83 - master
1624   -
1625     name: process - postresql83 - stats collector
1626     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: stats collector process'"
1627     hostgroups: postgres83-hosts
1628     depends: process - postresql83 - master
1629  ####
1630   -
1631     name: process - mysql - master
1632     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1633     hostgroups: mysql-hosts
1634   -
1635     name: process - mysql - workers
1636     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1637     hostgroups: mysql-hosts
1638     depends: process - mysql - master
1639
1640  ####
1641   -
1642     name: process - stunnel4 - postgres-udd
1643     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'"
1644     hosts: piatti
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.conf'"
1648     hosts: merkel, master
1649
1650  ####
1651   #-
1652   #  name: process - xenconsoled
1653   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1654   #  hosts: piatti
1655   #-
1656   #  name: process - xenstored
1657   #  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'"
1658   #  hosts: piatti
1659   #-
1660   #  name: process - xend
1661   #  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'"
1662   #  hosts: piatti
1663 #
1664  ####
1665   -
1666     name: process - libvirtd
1667     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C libvirtd -a '/usr/sbin/libvirtd -d'"
1668     hosts: unger
1669
1670  ###
1671   -
1672     name: process - buildd
1673     servicegroups: buildd
1674     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1675     hostgroups: buildd
1676     contacts: luk
1677
1678  ###
1679   -
1680     name: process - iscsid
1681     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1682     hosts: raptor
1683
1684  ###
1685   #-
1686   #  name: process - tftpd
1687   #  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'"
1688   #  hostgroups: tftpd-hosts
1689  ###
1690 #  -
1691 #    name: process - dhcpd
1692 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1693 #    hosts: paer
1694  ###
1695   -
1696     name: process - monit
1697     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'"
1698     hosts: steffani, kassia, master
1699  ###
1700   -
1701     name: process - smartd
1702     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'"
1703     hostgroups: smart
1704
1705  ############ NFS Stuff ############
1706  ####
1707   -
1708     name: process - portmap
1709     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'"
1710     hostgroups: nfs-client, nfs-server
1711   -
1712     name: process - statd
1713     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
1714     hostgroups: nfs-client, nfs-server
1715   -
1716     name: process - nfsd
1717     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
1718     hostgroups: nfs-server
1719   -
1720     name: process - lockd
1721     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C lockd -a '[lockd]'"
1722     hostgroups: nfs-server
1723   -
1724     name: process - mountd
1725     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'"
1726     hostgroups: nfs-server
1727  # see if the nfs stuff works and doesn't hang.
1728   # the df check all script will also hang, but we don't appear to pay attention to that
1729   -
1730     name: nfs mount ftp archive
1731     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /home/org/ftp.root/debian"
1732     hosts: gluck
1733   -
1734     name: nfs mount ftp archive
1735     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp"
1736     hosts: merkel, raff
1737
1738  ############ MISC OTHER Stuff ############
1739  #####
1740   -
1741     name: mirror sync - security
1742     check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org"
1743     hosts: global
1744   -
1745     name: mirror sync - security.eu
1746     check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org"
1747     hosts: global
1748   -
1749     name: mirror sync - security.us
1750     check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org"
1751     hosts: global
1752   -
1753     name: DNS SOA sync - debprivate-ftcollins.debian.org
1754     check: "dsa_check_soas!debprivate-ftcollins.debian.org"
1755     hosts: global
1756   -
1757     name: DNS SOA sync - debian.org
1758     check: "dsa_check_soas_add!samosa.debian.org!debian.org"
1759     hosts: global
1760   -
1761     name: DNS SOA sync - debian.net
1762     check: "dsa_check_soas_add!samosa.debian.org!debian.net"
1763     hosts: global
1764   -
1765     name: DNS SOA sync - debian.com
1766     check: "dsa_check_soas_add!samosa.debian.org!debian.com"
1767     hosts: global
1768   -
1769     name: DNS SOA sync - mirror.debian.net
1770     check: "dsa_check_soas_add!samosa.debian.org!mirror.debian.net"
1771     hosts: global
1772   -
1773     name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa
1774     check: "dsa_check_soas_add!samosa.debian.org!144-28.118.59.86.in-addr.arpa"
1775     hosts: global
1776   -
1777     name: DNS SOA sync - alioth.debian.org
1778     check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org"
1779     hosts: global