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