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