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