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