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