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