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