[project @ steve@lobefin.net-20090301165012-3w4kfks6qzqfl4t5]
[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 - puppet
813     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C ruby -a 'ruby /usr/sbin/puppetd -w 5 --factsync'"
814     hostgroups: puppet
815
816   -
817     name: puppet
818     nrpe: "/usr/lib/nagios/plugins/dsa-check-puppet"
819     hostgroups: puppet
820
821  ####
822   -
823     name: process - samhain
824     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'"
825     hostgroups: computers
826     excludehostgroups: no-samhain
827   -
828     name: samhain
829     servicegroups: samhain
830     nrpe: "/usr/lib/nagios/plugins/dsa-check-samhain -t 45"
831     hostgroups: computers
832     excludehostgroups: no-samhain
833     depends: process - samhain
834     normal_check_interval: 240
835     retry_check_interval: 5
836
837  ####
838   -
839     name: users
840     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
841     hostgroups: computers
842  ####
843   -
844     name: load
845     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
846     hostgroups: computers
847     excludehostgroups: highload
848   -
849     name: load
850     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
851     hostgroups: highload
852     excludehosts: rietz
853   -
854     name: load
855     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
856     hosts: rietz
857  ####
858   -
859     name: processes - zombies
860     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
861     hostgroups: computers
862  ####
863   -
864     name: processes - total
865     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
866     hostgroups: computers
867  ####
868   -
869     name: swap usage - percent
870     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
871     hostgroups: computers
872  ####
873   -
874     name: swap usage - mb
875     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
876     hostgroups: computers
877  ####
878   -
879     name: process - getty
880     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
881     hostgroups: computers
882     excludehosts: zelenka
883  ####
884   -
885     name: process - sshd
886     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
887     hostgroups: computers
888   -
889     name: "network service - sshd"
890     check: dsa_check_ssh
891     hostgroups: computers
892     depends: process - sshd
893     normal_check_interval:  60
894     notification_interval: 1440
895
896   -
897     name: "network service - sshd"
898     check: dsa_check_ssh
899     hostgroups: deadslow
900     excludehosts: agnesi
901     normal_check_interval:  180
902   -
903     name: "network service - sshd - 2260"
904     check: dsa_check_ssh_port!2260
905     hosts: agnesi
906     normal_check_interval:  180
907   -
908     name: "network service - sshd - 443"
909     check: dsa_check_ssh_port!443
910     hosts: gluck
911     normal_check_interval:  180
912
913   -
914     name: "network service - sshd - version"
915     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch3"
916     depends: network service - sshd
917     hostgroups: computers, deadslow
918     excludehosts: agnesi, crest, kullervo
919     excludehostgroups: lenny
920     normal_check_interval:  360
921   -
922     name: "network service - sshd - version"
923     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1"
924     depends: network service - sshd
925     hosts: crest, kullervo
926     normal_check_interval:  360
927   -
928     name: "network service - sshd - version"
929     check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5"
930     depends: network service - sshd
931     hostgroups: lenny
932     normal_check_interval:  360
933   -
934     name: "network service - sshd - version - 2260"
935     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch3"
936     depends: network service - sshd - 2260
937     hosts: agnesi
938     normal_check_interval:  360
939  #
940   -
941     name: ssh - weak keys
942     servicegroups: weaksshkeys
943     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
944     hostgroups: computers
945     normal_check_interval:  360
946  ####
947   -
948     name: network service - nrpe
949     check: check_tcp!5666
950     hostgroups: computers
951     max_check_attempts: -2
952     notification_interval: 1440
953   -
954     name: process - nrpe
955     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'"
956     hostgroups: computers
957     max_check_attempts: -1
958     depends: network service - nrpe
959  ###
960   -
961     name: process - munin-node
962     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
963     hostgroups: computers
964   -
965     name: network service - munin-node
966     check: check_tcp!4949
967     hostgroups: computers
968     depends: process - munin-node
969  ###
970   -
971     name: process - ntpd
972     # 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'"
973     # 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'"
974     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
975     hostgroups: computers
976     excludehosts: raptor, zelenka
977   -
978     name: network service - ntp
979     check: check_ntp
980     hostgroups: computers
981     depends: process - ntpd
982     excludehosts: raptor, allegri, zelenka
983   #
984   -
985     name: network service - time
986     check: dsa_check_time
987     hosts: raptor, allegri, zelenka
988     depends: process - xinetd
989
990  ###
991   -
992     name: process - atd
993     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
994     hostgroups: computers
995  ###
996   -
997     name: process - cron
998     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
999     hostgroups: computers
1000
1001  ###
1002  # -
1003  #   name: process - syslog-ng
1004  #   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'"
1005  #   hostgroups: syslog-ng-hosts
1006  ###
1007   -
1008     name: process - rsyslogd
1009     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rsyslogd  -a '/usr/sbin/rsyslogd -c3'"
1010     hostgroups: rsyslog-hosts
1011  ###
1012   -
1013     name: process - syslogd
1014     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
1015     hostgroups: computers
1016     excludehostgroups: rsyslog-hosts
1017   -
1018     name: process - klogd
1019     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
1020     hostgroups: computers
1021     excludehostgroups: rsyslog-hosts
1022
1023  ### MAIL STUFF
1024  ###
1025   -
1026     name: process - exim
1027     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
1028     hostgroups: computers
1029     excludehostgroups: postfix-hosts
1030     excludehosts: master, rietz, merkel, gluck
1031   -
1032     name: process - exim - total
1033     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
1034     hostgroups: computers
1035     excludehostgroups: postfix-hosts
1036     excludehosts: master, rietz, merkel, gluck
1037   -
1038     name: process - exim
1039     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
1040     hosts: master, rietz, merkel, gluck
1041  ###
1042   -
1043     name: process - clamav - clamd
1044     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
1045     hostgroups: heavy-exim, heavy-postfix
1046   -
1047     name: service - clamav
1048     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
1049     hostgroups: heavy-exim, heavy-postfix
1050     depends: process - clamav - clamd
1051   -
1052     name: process - clamav - freshclam
1053     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
1054     hostgroups: heavy-exim, heavy-postfix
1055   -
1056     name: process - clamav - getsigs
1057     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'"
1058     hostgroups: heavy-exim, heavy-postfix
1059   #
1060   -
1061     name: unwanted process - clamav
1062     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
1063     hostgroups: computers
1064     excludehostgroups: heavy-exim, heavy-postfix
1065   -
1066     name: unwanted process - freshclam
1067     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
1068     hostgroups: computers
1069     excludehostgroups: heavy-exim, heavy-postfix
1070   -
1071     name: unwanted process - clamav - getsigs
1072     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs"
1073     hostgroups: computers
1074     excludehostgroups: heavy-exim, heavy-postfix
1075  ###
1076   -
1077     name: process - spamd - master
1078     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'"
1079     hostgroups: heavy-exim
1080     excludehosts: rietz, merkel, raff
1081   -
1082     name: process - spamd - master
1083     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
1084     hosts: liszt
1085   -
1086     name: process - spamd - child
1087     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
1088     hosts: liszt
1089     hostgroups: heavy-exim
1090     depends: process - spamd - master
1091     excludehosts: rietz, merkel, raff
1092   #
1093   -
1094     name: process - spamd - master
1095     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
1096     hosts: rietz
1097   -
1098     name: process - spamd - child
1099     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
1100     hosts: rietz
1101   #
1102   -
1103     name: unwanted process - spamd
1104     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1105     hostgroups: computers
1106     excludehostgroups: heavy-exim
1107     excludehosts: liszt
1108   -
1109     name: unwanted process - spamd
1110     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1111     hosts: merkel, raff
1112
1113  ###
1114   #-
1115   #  name: process - greylistd
1116   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
1117   #  hostgroups: heavy-exim
1118   #
1119   -
1120     name: unwanted process - greylistd
1121     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
1122     hostgroups: computers
1123
1124  ###
1125   -
1126     name: process - postgrey
1127     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'"
1128     hostgroups: heavy-exim
1129   -
1130     name: process - postgrey
1131     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'"
1132     hostgroups: heavy-postfix
1133   #
1134   -
1135     name: unwanted process - postgrey
1136     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
1137     hostgroups: computers
1138     excludehostgroups: heavy-postfix, heavy-exim
1139  ###
1140   -
1141     name: process - amavis - master
1142     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
1143     hostgroups: amavis-hosts
1144   -
1145     name: process - amavis - all
1146     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
1147     hostgroups: amavis-hosts
1148     depends: process - amavis - master
1149   #
1150   -
1151     name: unwanted process - amavis
1152     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
1153     hostgroups: computers
1154     excludehostgroups: amavis-hosts
1155  ###
1156   -
1157     name: process - weightd - master
1158     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
1159     hostgroups: heavy-postfix
1160   -
1161     name: process - weightd - cache
1162     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
1163     hostgroups: heavy-postfix
1164     depends: process - weightd - master
1165   -
1166     name: process - weightd - child
1167     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
1168     hostgroups: heavy-postfix
1169     depends: process - weightd - master
1170   #
1171   -
1172     name: unwanted process - policyd-weight
1173     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
1174     hostgroups: computers
1175     excludehostgroups: heavy-postfix
1176
1177
1178
1179  ###
1180   -
1181     name: process - postfix - master
1182     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1183     hostgroups: postfix-hosts
1184   -
1185     name: process - postfix - qmgr
1186     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1187     hostgroups: postfix-hosts
1188     depends: process - postfix - master
1189   #-
1190   #  name: process - postfix - tlsmgr
1191   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1192   #  hostgroups: postfix-hosts
1193   #  depends: process - postfix - master
1194   -
1195     name: process - postfix - pickup
1196     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1197     hostgroups: postfix-hosts
1198     depends: process - postfix - master
1199   -
1200     name: process - postfix - anvil
1201     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1202     hostgroups: postfix-hosts
1203     depends: process - postfix - master
1204
1205   -
1206     name: process - postfix - trivial-rewrite
1207     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'"
1208     hostgroups: postfix-hosts
1209     depends: process - postfix - master
1210   -
1211     name: process - postfix - proxymap
1212     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1213     hostgroups: postfix-hosts
1214     depends: process - postfix - master
1215   -
1216     name: process - postfix - cleanup
1217     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1218     hostgroups: postfix-hosts
1219     depends: process - postfix - master
1220   -
1221     name: process - postfix - local
1222     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1223     hostgroups: postfix-hosts
1224     depends: process - postfix - master
1225
1226   -
1227     name: process - postfix - smtpd
1228     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'"
1229     hostgroups: postfix-hosts
1230     excludehosts: liszt
1231     depends: process - postfix - master
1232   -
1233     name: process - postfix - smtp
1234     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1235     hostgroups: postfix-hosts
1236     excludehosts: liszt
1237     depends: process - postfix - master
1238
1239   -
1240     name: process - postfix - smtpd
1241     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'"
1242     hosts: liszt
1243     depends: process - postfix - master
1244   -
1245     name: process - postfix - smtp
1246     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1247     hosts: liszt
1248     depends: process - postfix - master
1249
1250  ###
1251   -
1252     name: network service - smtp
1253     check: dsa_check_smtp
1254     hostgroups: computers
1255     excludehostgroups: postfix-hosts
1256     depends: process - exim
1257
1258   -
1259     name: network service - smtp
1260     check: dsa_check_smtp
1261     hostgroups: postfix-hosts
1262     excludehosts: verdi, kassia, allegri, raptor, piatti
1263     depends: process - postfix - master
1264   -
1265     name: network service - smtp - port 2025
1266     check: dsa_check_smtp_port!2025
1267     hosts: verdi, kassia, murphy, allegri, piatti
1268     depends: process - postfix - master
1269   -
1270     name: network service - smtp - port 8080
1271     check: dsa_check_smtp_port!8080
1272     hosts: murphy
1273     depends: process - postfix - master
1274   -
1275     name: network service - smtp - port 2025
1276     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1277     runfrom: murphy
1278     hosts: raptor
1279     depends: process - postfix - master
1280
1281   -
1282     name: network service local - smtps cert
1283     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1284     hostgroups: postfix-hosts
1285     depends: process - postfix - master
1286     normal_check_interval: 120
1287
1288
1289   -
1290     name: setup - dsa config
1291     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1292     hostgroups: computers
1293     normal_check_interval: 120
1294   -
1295     name: setup - ud-ldap freshness
1296     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1297     hostgroups: computers
1298  ###
1299   -
1300     name: process - uptimed
1301     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1302     hostgroups: computers
1303  ###
1304   -
1305     name: process - irqbalance
1306     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1307     hostgroups: computers
1308     excludehostgroups: single-cpu
1309   -
1310     name: unwanted process - irqbalance
1311     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1312     hostgroups: single-cpu
1313
1314  ####
1315  ###
1316   #-
1317   #  name: unwanted process - system-tools-backends
1318   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1319   #  hostgroups: computers
1320   #-
1321   #  name: unwanted process - dbus-daemon
1322   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1323   #  hostgroups: computers
1324   -
1325     name: unwanted process - gkrellmd
1326     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1327     hostgroups: computers
1328   -
1329     name: unwanted process - portmap
1330     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1331     hostgroups: computers
1332     excludehostgroups: nfs-client, nfs-server
1333   -
1334     name: unwanted process - rpc.statd
1335     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1336     hostgroups: computers
1337     excludehostgroups: nfs-client, nfs-server
1338   -
1339     name: unwanted process - inetd
1340     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1341     hostgroups: computers
1342   -
1343     name: unwanted process - snmpd
1344     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1345     hostgroups: computers
1346
1347
1348  ############ Processes/Services that only run on some computers ############
1349  ####
1350  ###
1351   -
1352     name: process - rngd
1353     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1354     hostgroups: dl385
1355  ###
1356   -
1357     name: process - mdadm monitor
1358     servicegroups: raid
1359     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'"
1360     hostgroups: sw-raid
1361   -
1362     name: RAID - sw raid
1363     servicegroups: raid
1364     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1365     hostgroups: sw-raid
1366
1367  ###
1368   -
1369     name: process - cpqarrayd
1370     servicegroups: raid
1371     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1372     hostgroups: dl385, dl380, dl360
1373   -
1374     name: RAID - arrayprobe
1375     servicegroups: raid
1376     nrpe: "sudo /usr/bin/arrayprobe"
1377     hostgroups: dl385, dl380, dl360
1378   -
1379     name: HW - hpacucli status
1380     servicegroups: raid
1381     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1382     normal_check_interval: 120
1383     hostgroups: dl385, dl380, dl360
1384  ###
1385   -
1386     name: RAID - areca
1387     servicegroups: raid
1388     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-areca"
1389     hosts: powell
1390  ###
1391   -
1392     name: RAID - DAC960
1393     servicegroups: raid
1394     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1395     hosts: verdi
1396  ###
1397   -
1398     name: RAID - 3ware
1399     servicegroups: raid
1400     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1401     hosts: puccini
1402  ###
1403   -
1404     name: RAID - MPT
1405     servicegroups: raid
1406     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1407     hosts: master
1408
1409  ###
1410   -
1411     name: process - slapd
1412     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'"
1413     hosts: samosa
1414  ###
1415   -
1416     name: process - ulogd
1417     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
1418     hostgroups: ulogd-hosts
1419   -
1420     name: unexpected process - ulogd
1421     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
1422     hostgroups: computers
1423     excludehostgroups: ulogd-hosts
1424  ###
1425   -
1426     name: process - udevd
1427     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1428     hostgroups: computers
1429     excludehostgroups: no-udev
1430   -
1431     name: unexpected process - udev
1432     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
1433     hostgroups: no-udev
1434  ###
1435   -
1436     name: process - acpid
1437     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
1438     hostgroups: acpid-hosts
1439   -
1440     name: unexpected process - acpid
1441     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
1442     hostgroups: computers
1443     excludehostgroups: acpid-hosts
1444
1445  ###
1446   -
1447     name: process - xinetd
1448     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'"
1449     hosts: samosa, raptor, allegri, gluck, zelenka
1450     hostgroups: rsyncd-hosts
1451   -
1452     name: unwanted process - xinetd
1453     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1454     hostgroups: computers
1455     excludehosts: samosa, raptor, allegri, gluck, zelenka
1456     excludehostgroups: rsyncd-hosts
1457  ###
1458   -
1459     name: network service - finger
1460     check: check_tcp!79
1461     hosts: samosa
1462     depends: process - xinetd
1463  ###
1464   -
1465     name: network service - rsync
1466     check: check_tcp!873
1467     hostgroups: rsyncd-hosts
1468     depends: process - xinetd
1469
1470   -
1471     name: network service - rsync
1472     check: check_tcp!873
1473     hosts: rietz2
1474     depends: rietz:process - xinetd
1475
1476   -
1477     name: network service - rsync
1478     check: check_tcp!873
1479     hosts: kassia-sec
1480     depends: kassia:process - xinetd
1481
1482  ###
1483   -
1484     name: process - nagios3
1485     # there is always one extra process per check currently running..
1486     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'"
1487     hosts: samosa
1488
1489  ###
1490   -
1491     name: process - apache2 - master
1492     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1493     hostgroups: apache2-hosts
1494   -
1495     name: process - apache2 - worker
1496     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1497     hostgroups: apache2-hosts
1498     depends: process - apache2 - master
1499   -
1500     name: network service - http
1501     check: check_http
1502     hostgroups: apache2-hosts
1503     excludehosts: kassia
1504     depends: process - apache2 - master
1505   -
1506     name: network service - http
1507     check: check_http
1508     depends: kassia:process - apache2 - master
1509     hosts: kassia-sec, kassia-ftp
1510
1511
1512   -
1513     name: process - apache - master
1514     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1515     hostgroups: apache1-hosts
1516   -
1517     name: process - apache - worker
1518     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1519     hostgroups: apache1-hosts
1520     depends: process - apache - master
1521   -
1522     name: network service - http
1523     check: check_http
1524     hostgroups: apache1-hosts
1525     depends: process - apache - master
1526
1527   -
1528     name: network service - http keyserver
1529     check: dsa_check_http_port!11371
1530     hosts: raff
1531     depends: process - apache2 - master
1532
1533   -
1534     name: network service - https
1535     check: check_https
1536     hosts: samosa, ries
1537     depends: "process - apache2 - master"
1538     normal_check_interval: 120
1539   -
1540     name: network service - https cert
1541     check: dsa_check_cert!443
1542     hosts: samosa, ries
1543     depends: network service - https
1544     normal_check_interval: 240
1545  ####
1546   -
1547     name: process - named
1548     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1549     hostgroups: bind9-hosts
1550   -
1551     name: network service - dns
1552     check: check_dns
1553     hostgroups: bind9-hosts
1554     depends: process - named
1555   -
1556     name: unwanted process - named
1557     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1558     hostgroups: computers
1559     excludehostgroups: bind9-hosts
1560
1561  ####
1562   -
1563     name: process - vsftp - listener
1564     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1565     hostgroups: ftpd-hosts
1566     excludehosts: kassia
1567   -
1568     name: process - vsftp - instance
1569     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1570     hostgroups: ftpd-hosts
1571     excludehosts: kassia
1572   -
1573     name: network service - ftp
1574     check: check_ftp
1575     hostgroups: ftpd-hosts
1576     excludehosts: kassia
1577     depends: process - vsftp - listener
1578   -
1579     name: network service - ftp
1580     check: check_ftp
1581     hosts: kassia-sec, kassia-ftp
1582     depends: kassia:process - xinetd
1583
1584  ####
1585   -
1586     name: process - debianqueued
1587     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1588     hosts: ries, ravel, klecker
1589
1590  ###
1591   -
1592     name: process - postresql81 - master
1593     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'"
1594     hostgroups: postgres81-hosts
1595   -
1596     name: process - postresql81 - writer
1597     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1598     hostgroups: postgres81-hosts
1599     depends: process - postresql81 - master
1600   -
1601     name: process - postresql81 - buffer
1602     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1603     hostgroups: postgres81-hosts
1604     depends: process - postresql81 - master
1605   -
1606     name: process - postresql81 - collector
1607     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1608     hostgroups: postgres81-hosts
1609     depends: process - postresql81 - master
1610  ####
1611   -
1612     name: process - postresql83 - master
1613     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'"
1614     hostgroups: postgres83-hosts
1615     excludehosts: piatti
1616   -
1617     name: process - postresql83 - master
1618     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'"
1619     hosts: piatti
1620   -
1621     name: process - postresql83 - writer
1622     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'"
1623     hostgroups: postgres83-hosts
1624     depends: process - postresql83 - master
1625   -
1626     name: process - postresql83 - wal writer
1627     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: wal writer process'"
1628     hostgroups: postgres83-hosts
1629     depends: process - postresql83 - master
1630   -
1631     name: process - postresql83 - autovacuum launcher
1632     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: autovacuum launcher process'"
1633     hostgroups: postgres83-hosts
1634     depends: process - postresql83 - master
1635   -
1636     name: process - postresql83 - stats collector
1637     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: stats collector process'"
1638     hostgroups: postgres83-hosts
1639     depends: process - postresql83 - master
1640  ####
1641   -
1642     name: process - mysql - master
1643     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1644     hostgroups: mysql-hosts
1645   -
1646     name: process - mysql - workers
1647     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1648     hostgroups: mysql-hosts
1649     depends: process - mysql - master
1650
1651  ####
1652   -
1653     name: process - stunnel4 - postgres-udd
1654     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'"
1655     hosts: piatti
1656   -
1657     name: process - stunnel4 - postgres-udd
1658     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'"
1659     hosts: merkel, master
1660
1661  ####
1662   #-
1663   #  name: process - xenconsoled
1664   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1665   #  hosts: piatti
1666   #-
1667   #  name: process - xenstored
1668   #  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'"
1669   #  hosts: piatti
1670   #-
1671   #  name: process - xend
1672   #  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'"
1673   #  hosts: piatti
1674 #
1675  ####
1676   -
1677     name: process - libvirtd
1678     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C libvirtd -a '/usr/sbin/libvirtd -d'"
1679     hosts: unger
1680
1681  ###
1682   -
1683     name: process - buildd
1684     servicegroups: buildd
1685     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1686     hostgroups: buildd
1687     contacts: luk
1688
1689  ###
1690   -
1691     name: process - iscsid
1692     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1693     hosts: raptor
1694
1695  ###
1696   #-
1697   #  name: process - tftpd
1698   #  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'"
1699   #  hostgroups: tftpd-hosts
1700  ###
1701 #  -
1702 #    name: process - dhcpd
1703 #    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1704 #    hosts: paer
1705  ###
1706   -
1707     name: process - monit
1708     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'"
1709     hosts: steffani, kassia, master
1710  ###
1711   -
1712     name: process - smartd
1713     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'"
1714     hostgroups: smart
1715
1716  ############ NFS Stuff ############
1717  ####
1718   -
1719     name: process - portmap
1720     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'"
1721     hostgroups: nfs-client, nfs-server
1722   -
1723     name: process - statd
1724     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
1725     hostgroups: nfs-client, nfs-server
1726   -
1727     name: process - nfsd
1728     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
1729     hostgroups: nfs-server
1730   -
1731     name: process - lockd
1732     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C lockd -a '[lockd]'"
1733     hostgroups: nfs-server
1734   -
1735     name: process - mountd
1736     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'"
1737     hostgroups: nfs-server
1738  # see if the nfs stuff works and doesn't hang.
1739   # the df check all script will also hang, but we don't appear to pay attention to that
1740   -
1741     name: nfs mount ftp archive
1742     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /home/org/ftp.root/debian"
1743     hosts: gluck
1744   -
1745     name: nfs mount ftp archive
1746     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp"
1747     hosts: merkel, raff
1748
1749  ############ MISC OTHER Stuff ############
1750  #####
1751   -
1752     name: mirror sync - security
1753     check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org"
1754     hosts: global
1755   -
1756     name: mirror sync - security.eu
1757     check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org"
1758     hosts: global
1759   -
1760     name: mirror sync - security.us
1761     check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org"
1762     hosts: global
1763   -
1764     name: DNS SOA sync - debprivate-ftcollins.debian.org
1765     check: "dsa_check_soas!debprivate-ftcollins.debian.org"
1766     hosts: global
1767   -
1768     name: DNS SOA sync - debian.org
1769     check: "dsa_check_soas_add!samosa.debian.org!debian.org"
1770     hosts: global
1771   -
1772     name: DNS SOA sync - debian.net
1773     check: "dsa_check_soas_add!samosa.debian.org!debian.net"
1774     hosts: global
1775   -
1776     name: DNS SOA sync - debian.com
1777     check: "dsa_check_soas_add!samosa.debian.org!debian.com"
1778     hosts: global
1779   -
1780     name: DNS SOA sync - mirror.debian.net
1781     check: "dsa_check_soas_add!samosa.debian.org!mirror.debian.net"
1782     hosts: global
1783   -
1784     name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa
1785     check: "dsa_check_soas_add!samosa.debian.org!144-28.118.59.86.in-addr.arpa"
1786     hosts: global
1787   -
1788     name: DNS SOA sync - alioth.debian.org
1789     check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org"
1790     hosts: global