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