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