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