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