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