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