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