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