[project @ peter@palfrader.org-20080411153259-9sag11b90idas336]
[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 #  - agnesi
20 #  - piatti
21 #  - tartini
22 #sarge:
23 #  - spontini
24
25 # down:
26 #  - ravel
27 #  - sarti
28 #  - goedel
29 #  - leisner
30 #  - schulz
31
32 ---
33 #############################
34 # hosts
35 #############################
36 servers:
37   gw-man-da:
38     address: 82.195.75.126
39     parents: gw-HP-ftc
40     hostgroups: routing-infrastructure
41   gw-HP-ftc:
42     address: 192.25.206.1
43     parents: samosa
44     hostgroups: routing-infrastructure
45   gw-brainfood:
46     address: 70.103.162.1
47     parents: gw-HP-ftc
48     hostgroups: routing-infrastructure
49   gw-brown.edu:
50     address: 128.148.34.1
51     parents: gw-HP-ftc
52     hostgroups: routing-infrastructure
53   gw-osuosl:
54     address: 140.211.166.1
55     parents: gw-HP-ftc
56     hostgroups: routing-infrastructure
57   gw-scanplus-villa:
58     address: 212.211.132.1
59     parents: gw-HP-ftc
60     hostgroups: routing-infrastructure
61   gw-scanplus-lobos:
62     address: 212.211.132.249
63     parents: gw-HP-ftc
64     hostgroups: routing-infrastructure
65   gw-mit-csail:
66     address: 128.30.0.254
67     parents: gw-HP-ftc
68     hostgroups: routing-infrastructure
69   gw-xs4all:
70     address: 194.109.137.217
71     parents: gw-HP-ftc
72     hostgroups: routing-infrastructure
73   gw-umn.edu:
74     address: 128.101.240.222
75     parents: gw-HP-ftc
76     hostgroups: routing-infrastructure
77   gw-dg-i.net:
78     address: 195.49.152.190
79     parents: gw-HP-ftc
80     hostgroups: routing-infrastructure
81   gw-freenet:
82     address: 62.104.23.249
83     parents: gw-HP-ftc
84     hostgroups: routing-infrastructure
85   gw-topalis:
86     address: 195.243.109.254
87     parents: gw-HP-ftc
88     hostgroups: routing-infrastructure
89   gw-sanger:
90     address: 193.62.202.18
91     parents: gw-HP-ftc
92     hostgroups: routing-infrastructure
93   gw-cst:
94     address: 213.188.99.215
95     parents: gw-HP-ftc
96     hostgroups: routing-infrastructure
97   gw-lrz:
98     address: 129.187.0.150
99     parents: gw-HP-ftc
100     hostgroups: routing-infrastructure
101   gw-frost:
102     address: 130.81.242.195
103     parents: gw-HP-ftc
104     hostgroups: routing-infrastructure
105   gw-1und1:
106     address: 195.20.247.53
107     parents: gw-HP-ftc
108     hostgroups: routing-infrastructure
109   gw-blackcat:
110     address: 193.201.200.129
111     parents: gw-HP-ftc
112     hostgroups: routing-infrastructure
113   gw-xandros:
114     address: 142.46.212.33
115     parents: gw-HP-ftc
116     hostgroups: routing-infrastructure
117   gw-nmmn:
118     address: 217.114.76.81
119     parents: gw-HP-ftc
120     hostgroups: routing-infrastructure
121   gw-utwente:
122     address: 130.89.160.1
123     parents: gw-HP-ftc
124     hostgroups: routing-infrastructure
125   gw-ughent:
126     address: 157.193.39.254
127     parents: gw-HP-ftc
128     hostgroups: routing-infrastructure
129
130   samosa:
131     address: 192.25.206.57
132     hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts, heavy-exim
133   raff:
134     address: 192.25.206.59
135     parents: samosa
136     hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-exim
137   gluck:
138     address: 192.25.206.10
139     parents: samosa
140     hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, highload
141   merkel:
142     address: 192.25.206.16
143     parents: samosa
144     hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts, heavy-exim
145   spohr:
146     address: 192.25.206.33
147     parents: samosa
148     hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
149   peri:
150     address: 192.25.206.15
151     parents: samosa
152     hostgroups: computers, buildd, sw-raid
153   penalosa:
154     address: 192.25.206.68
155     parents: samosa
156     hostgroups: computers, buildd, sw-raid
157   mundy:
158     address: 192.25.206.62
159     parents: samosa
160     hostgroups: computers, buildd
161   paer:
162     address: 192.25.206.11
163     parents: samosa
164     hostgroups: computers, porterbox, bind9-hosts
165
166   bartok:
167     address: 82.195.75.91
168     parents: gw-man-da
169     hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
170   sperger:
171     address: 82.195.75.98
172     parents: gw-man-da
173     hostgroups: computers, porterbox, sw-raid
174   agricola:
175     address: 82.195.75.86
176     parents: gw-man-da
177     hostgroups: computers, porterbox, sw-raid
178   arcadelt:
179     address: 82.195.75.87
180     parents: gw-man-da
181     hostgroups: computers, buildd, sw-raid
182   liszt:
183     address: 82.195.75.100
184     parents: gw-man-da
185     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, dl385
186
187   master:
188     address: 70.103.162.29
189     parents: gw-brainfood
190     hostgroups: computers, general, apache2-hosts, bind9-hosts, heavy-exim, highload
191   murphy:
192     address: 70.103.162.31
193     parents: gw-brainfood
194     hostgroups: computers, general, apache2-hosts, bind9-hosts, postfix-hosts
195
196   ries:
197     address: 128.148.34.103
198     parents: gw-brown.edu
199     hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts, heavy-exim
200
201   mayer:
202     address: 140.211.166.78
203     parents: gw-osuosl
204     hostgroups: computers, buildd
205   mayr:
206     address: 140.211.166.58
207     parents: gw-osuosl
208     hostgroups: computers, buildd
209   malo:
210     address: 140.211.166.27
211     parents: gw-osuosl
212     hostgroups: computers, buildd, tftpd-hosts
213   rietz:
214     address: 140.211.166.43
215     parents: gw-osuosl
216     hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385, heavy-exim, highload
217   rietz2:
218     address: 140.211.166.44
219     parents: rietz
220     hostgroups: secondary-IPs
221
222   villa:
223     address: 212.211.132.32
224     parents: gw-scanplus-villa
225     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
226   lobos:
227     address: 212.211.132.250
228     parents: gw-scanplus-lobos
229     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
230
231   steffani:
232     address: 128.31.0.36
233     parents: gw-mit-csail
234     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
235   casals:
236     address: 128.31.0.16
237     parents: gw-mit-csail
238     hostgroups: deadslow
239
240   klecker:
241     address: 194.109.137.218
242     parents: gw-xs4all
243     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts, heavy-exim
244
245   saens:
246     address: 128.101.240.212
247     parents: gw-umn.edu
248     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, heavy-exim
249
250   argento:
251     address: 195.49.152.174
252     parents: gw-dg-i.net
253     hostgroups: computers, buildd, sw-raid
254
255   pergolesi:
256     address: 62.104.23.252
257     parents: gw-freenet
258     hostgroups: computers, porterbox, sw-raid
259   bruckner:
260     address: 62.104.23.253
261     parents: gw-freenet
262     hostgroups: computers, porterbox
263
264   raptor:
265     address: 195.243.109.162
266     parents: gw-topalis
267     hostgroups: computers, porterbox
268
269   albeniz:
270     address: 193.62.202.27
271     parents: gw-sanger
272     hostgroups: computers, porterbox, sw-raid
273   goetz:
274     address: 193.62.202.26
275     parents: gw-sanger
276     hostgroups: computers, buildd, sw-raid
277
278   escher:
279     address: 213.188.99.215
280     parents: gw-cst
281     hostgroups: computers, porterbox
282
283   verdi:
284     address: 192.54.42.193
285     parents: gw-lrz
286     hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, postgres81-hosts, postfix-hosts
287
288   voltaire:
289     address: 72.66.115.54
290     parents: gw-frost
291     hostgroups: computers, buildd
292
293   puccini:
294     address: 87.106.4.56
295     parents: gw-1und1
296     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts
297
298   caballero:
299     address: 193.201.200.200
300     parents: gw-blackcat
301     hostgroups: computers, buildd, sw-raid
302
303   elara:
304     address: 142.46.212.46
305     parents: gw-xandros
306     hostgroups: deadslow
307   europa:
308     address: 142.46.212.46
309     parents: gw-xandros
310     hostgroups: deadslow
311
312   kullervo:
313     address: 217.114.76.82
314     parents: gw-nmmn
315     hostgroups: deadslow
316   crest:
317     address: 217.114.76.83
318     parents: gw-nmmn
319     hostgroups: deadslow
320
321   kassia:
322     address: 130.89.175.54
323     parents: gw-utwente
324     hostgroups: computers, service, postfix-hosts, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl360
325
326   allegri:
327     address: 157.193.39.233
328     parents: gw-ughent
329     hostgroups: computers, buildd, postfix-hosts, sw-raid
330
331 #############################
332 # host groups
333 #
334 # hostgroups ircd and all are automatically defined
335 #
336 #############################
337 hostgroups:
338   computers:
339     alias: computers
340     private: 1
341   routing-infrastructure:
342     alias: Internet routers and friends
343     extinfo-icon_image: base/switch40.png
344     extinfo-icon_image_alt: router
345   deadslow:
346     alias: Systems too slow to run any real checks
347
348   porterbox:
349     alias: developer accessible porter machines
350     extinfo-icon_image: base/debian.png
351     extinfo-icon_image_alt: Debian GNU/Linux
352     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
353   service:
354     alias: machines running services
355     extinfo-icon_image: base/debian.png
356     extinfo-icon_image_alt: Debian GNU/Linux
357     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
358   buildd:
359     alias: buildd systems
360     extinfo-icon_image: base/debian.png
361     extinfo-icon_image_alt: Debian GNU/Linux
362     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
363   general:
364     alias: general purpose developer accessible machines
365     extinfo-icon_image: base/debian.png
366     extinfo-icon_image_alt: Debian GNU/Linux
367     extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
368
369   dl380:
370     alias: HP DL380 hosts
371     private: 1
372   dl385:
373     alias: HP DL385 hosts
374     private: 1
375   dl360:
376     alias: HP DL360 hosts
377     private: 1
378   sw-raid:
379     alias: Hosts with Linux software raid
380     private: 1
381
382   syslog-ng-hosts:
383     alias: hosts running syslog-ng instead of sysklogd
384     private: 1
385   postfix-hosts:
386     alias: hosts running postfix instead of exim
387     private: 1
388   heavy-exim:
389     alias: "hosts running the full mail stuff, including clamav, SA, and greylistd"
390     private: 1
391   heavy-postfix:
392     alias: "postfix hosts running the full mail stuff, including clamav, SA, postgrey, amavis, policyd-weight"
393     private: 1
394   apache2-hosts:
395     alias: hosts running apache2
396     private: 1
397   apache1-hosts:
398     alias: hosts running apache1
399     private: 1
400   bind9-hosts:
401     alias: hosts running bind9
402     private: 1
403   amavis-hosts:
404     alias: hosts running amavis
405     private: 1
406   ftpd-hosts:
407     alias: hosts running vsftpd
408     private: 1
409   tftpd-hosts:
410     alias: hosts running a tftpd (tftpd-hpa as a daemon)
411     private: 1
412   rsyncd-hosts:
413     alias: hosts providing rsync services via xinetd
414     private: 1
415   postgres81-hosts:
416     alias: hosts running postgres81
417     private: 1
418
419   highload:
420     alias: "hosts on which high load is normal"
421     private: 1
422
423   secondary-IPs:
424     alias: secondary IP addresses
425     private: 1
426
427 #############################
428 # services
429 #############################
430 services:
431   -
432     name: PING
433     check: "check_ping!300.0,20%!600.0,40%"
434     hostgroups: all
435     excludehostgroups: routing-infrastructure
436     normal_check_interval: 5
437     max_check_attempts: 4
438     retry_check_interval: 1
439   -
440     name: PING
441     check: "check_ping!900.0,60%!1500.0,80%"
442     hostgroups: routing-infrastructure
443     normal_check_interval: 5
444     max_check_attempts: 4
445     retry_check_interval: 1
446
447  ############ Services ############
448  ###
449
450  ############ Disk Usage ############
451  ####
452   -
453     name: disk usage - all
454     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
455     hostgroups: computers
456   -
457     name: disk usage on /
458     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
459     hostgroups: computers
460   -
461     name: disk usage on /boot
462     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
463     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer
464   -
465     name: disk usage on /var
466     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
467     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher, voltaire, puccini
468   -
469     name: disk usage on /org
470     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
471     hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini
472   -
473     name: disk usage on /org
474     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
475     hosts: merkel
476   -
477     name: disk usage on /srv
478     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
479     hosts: agricola, arcadelt, argento, allegri
480   -
481     name: disk usage on /org/scratch2
482     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
483     hosts: merkel
484   -
485     name: disk usage on /oldorg
486     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
487     hosts: merkel
488   -
489     name: disk usage on /tmp
490     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
491     hosts: samosa, raff, gluck, saens, escher, puccini
492   -
493     name: disk usage on /usr
494     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
495     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, puccini
496   -
497     name: disk usage on /home
498     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
499     hosts: raptor, escher, voltaire
500   -
501     name: disk usage on /home
502     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
503     hosts: gluck
504   -
505     name: disk usage on /chroot
506     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
507     hosts: raptor
508   -
509     name: disk usage on /mnt/hdc
510     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
511     hosts: voltaire
512   -
513     name: disk usage on /x
514     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
515     hosts: caballero
516
517  ############ All Computers ############
518  ####
519   #-
520   #  name: apt - security updates
521   #  nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
522   #  hostgroups: computers
523   #  normal_check_interval: 480
524   #  notification_interval: 480
525   #  max_check_attempts: 4
526   #  retry_check_interval: 12
527  ####
528   -
529     name: users
530     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
531     hostgroups: computers
532  ####
533   -
534     name: load
535     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
536     hostgroups: computers
537     excludehostgroups: highload
538   -
539     name: load
540     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
541     hostgroups: highload
542     excludehosts: rietz
543   -
544     name: load
545     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
546     hosts: rietz
547  ####
548   -
549     name: processes - zombies
550     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
551     hostgroups: computers
552  ####
553   -
554     name: processes - total
555     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
556     hostgroups: computers
557  ####
558   -
559     name: swap usage - percent
560     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
561     hostgroups: computers
562  ####
563   -
564     name: swap usage - mb
565     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
566     hostgroups: computers
567  ####
568   -
569     name: process - getty
570     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
571     hostgroups: computers
572  ####
573   -
574     name: process - sshd
575     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
576     hostgroups: computers
577   -
578     name: "network service - sshd"
579     check: check_ssh
580     hostgroups: computers
581     depends: process - sshd
582     normal_check_interval:  60
583     notification_interval:  60
584
585   -
586     name: "network service - sshd"
587     check: check_ssh
588     hostgroups: deadslow
589     normal_check_interval:  180
590     notification_interval:  180
591  ####
592   -
593     name: network service - nrpe
594     check: check_tcp!5666
595     hostgroups: computers
596     max_check_attempts: -1
597   -
598     name: process - nrpe
599     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'"
600     hostgroups: computers
601     depends: network service - nrpe
602  ###
603   -
604     name: process - munin-node
605     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
606     hostgroups: computers
607   -
608     name: network service - munin-node
609     check: check_tcp!4949
610     hostgroups: computers
611     depends: process - munin-node
612  ###
613   -
614     name: process - ntpd
615     # 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'"
616     # 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'"
617     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
618     hostgroups: computers
619     excludehosts: raptor
620   -
621     name: network service - ntp
622     check: check_ntp
623     hostgroups: computers
624     depends: process - ntpd
625     excludehosts: raptor
626   #
627   -
628     name: network service - time
629     check: check_time
630     hosts: raptor
631     depends: process - xinetd
632
633  ###
634   -
635     name: process - atd
636     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
637     hostgroups: computers
638  ###
639   -
640     name: process - cron
641     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
642     hostgroups: computers
643
644  ###
645   -
646     name: process - syslog-ng
647     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'"
648     hostgroups: syslog-ng-hosts
649  ###
650   -
651     name: process - syslogd
652     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
653     hostgroups: computers
654     excludehostgroups: syslog-ng-hosts
655   -
656     name: process - klogd
657     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
658     hostgroups: computers
659     excludehostgroups: syslog-ng-hosts
660
661  ### MAIL STUFF
662  ###
663   -
664     name: process - exim
665     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
666     hostgroups: computers
667     excludehostgroups: postfix-hosts
668     excludehosts: master, rietz, merkel
669   -
670     name: process - exim - total
671     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
672     hostgroups: computers
673     excludehostgroups: postfix-hosts
674     excludehosts: master, rietz, merkel
675   -
676     name: process - exim
677     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
678     hosts: master, rietz, merkel
679  ###
680   -
681     name: process - clamav - clamd
682     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
683     hostgroups: heavy-exim, heavy-postfix
684   -
685     name: service - clamav
686     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
687     hostgroups: heavy-exim, heavy-postfix
688     depends: process - clamav - clamd
689   -
690     name: process - clamav - freshclam
691     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
692     hostgroups: heavy-exim, heavy-postfix
693   #
694   -
695     name: unwanted process - clamav
696     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
697     hostgroups: computers
698     excludehostgroups: heavy-exim, heavy-postfix
699   -
700     name: unwanted process - freshclam
701     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
702     hostgroups: computers
703     excludehostgroups: heavy-exim, heavy-postfix
704  ###
705   -
706     name: process - spamd - master
707     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'"
708     hostgroups: heavy-exim
709     excludehosts: rietz, merkel, raff
710   -
711     name: process - spamd - master
712     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'"
713     hosts: liszt
714   -
715     name: process - spamd - child
716     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
717     hosts: liszt
718     hostgroups: heavy-exim
719     depends: process - spamd - master
720     excludehosts: rietz, merkel, raff
721   #
722   -
723     name: process - spamd - master
724     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
725     hosts: rietz
726   -
727     name: process - spamd - child
728     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
729     hosts: rietz
730   #
731   -
732     name: unwanted process - spamd
733     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
734     hostgroups: computers
735     excludehostgroups: heavy-exim
736     excludehosts: liszt
737   -
738     name: unwanted process - spamd
739     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
740     hosts: merkel, raff
741
742  ###
743   -
744     name: process - greylistd
745     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
746     hostgroups: heavy-exim
747   #
748   -
749     name: unwanted process - greylistd
750     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
751     hostgroups: computers
752     excludehostgroups: heavy-exim
753
754  ###
755   -
756     name: process - postgrey
757     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'"
758     hostgroups: heavy-postfix
759   #
760   -
761     name: unwanted process - postgrey
762     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
763     hostgroups: computers
764     excludehostgroups: heavy-postfix
765  ###
766   -
767     name: process - amavis - master
768     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
769     hostgroups: amavis-hosts
770   -
771     name: process - amavis - all
772     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
773     hostgroups: amavis-hosts
774     depends: process - amavis - master
775   #
776   -
777     name: unwanted process - amavis
778     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
779     hostgroups: computers
780     excludehostgroups: amavis-hosts
781  ###
782   -
783     name: process - weightd - master
784     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
785     hostgroups: heavy-postfix
786   -
787     name: process - weightd - cache
788     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
789     hostgroups: heavy-postfix
790     depends: process - weightd - master
791   -
792     name: process - weightd - child
793     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
794     hostgroups: heavy-postfix
795     depends: process - weightd - master
796   #
797   -
798     name: unwanted process - policyd-weight
799     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
800     hostgroups: computers
801     excludehostgroups: heavy-postfix
802
803
804
805  ###
806   -
807     name: process - postfix - master
808     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
809     hostgroups: postfix-hosts
810   -
811     name: process - postfix - qmgr
812     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
813     hostgroups: postfix-hosts
814     depends: process - postfix - master
815   #-
816   #  name: process - postfix - tlsmgr
817   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
818   #  hostgroups: postfix-hosts
819   #  depends: process - postfix - master
820   -
821     name: process - postfix - pickup
822     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
823     hostgroups: postfix-hosts
824     depends: process - postfix - master
825   -
826     name: process - postfix - anvil
827     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
828     hostgroups: postfix-hosts
829     depends: process - postfix - master
830
831   -
832     name: process - postfix - trivial-rewrite
833     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'"
834     hostgroups: postfix-hosts
835     depends: process - postfix - master
836   -
837     name: process - postfix - proxymap
838     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
839     hostgroups: postfix-hosts
840     depends: process - postfix - master
841   -
842     name: process - postfix - cleanup
843     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
844     hostgroups: postfix-hosts
845     depends: process - postfix - master
846   -
847     name: process - postfix - local
848     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
849     hostgroups: postfix-hosts
850     depends: process - postfix - master
851
852   -
853     name: process - postfix - smtpd
854     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:20 -c 0:50 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
855     hostgroups: postfix-hosts
856     excludehosts: liszt
857     depends: process - postfix - master
858   -
859     name: process - postfix - smtp
860     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
861     hostgroups: postfix-hosts
862     excludehosts: liszt
863     depends: process - postfix - master
864
865   -
866     name: process - postfix - smtpd
867     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'"
868     hosts: liszt
869     depends: process - postfix - master
870   -
871     name: process - postfix - smtp
872     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
873     hosts: liszt
874     depends: process - postfix - master
875
876  ###
877   -
878     name: network service - smtp
879     check: dsa_check_smtp
880     hostgroups: computers
881     excludehostgroups: postfix-hosts
882     depends: process - exim
883
884   -
885     name: network service - smtp
886     check: dsa_check_smtp
887     hostgroups: postfix-hosts
888     excludehosts: verdi, kassia, allegri
889     depends: process - postfix - master
890   -
891     name: network service - smtp - port 2025
892     check: dsa_check_smtp_port!2025
893     hosts: verdi, kassia, murphy
894     depends: process - postfix - master
895   -
896     name: network service - smtp - port 8080
897     check: dsa_check_smtp_port!8080
898     hosts: allegri
899     depends: process - postfix - master
900
901   -
902     name: network service local - smtps cert
903     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
904     hostgroups: postfix-hosts
905     depends: process - postfix - master
906     normal_check_interval: 1440
907
908
909   -
910     name: setup - debian-admin in etc aliases
911     nrpe: "/usr/lib/nagios/plugins/dsa-check-da-in-aliases"
912     hostgroups: computers
913     normal_check_interval: 1440
914  ###
915   -
916     name: process - uptimed
917     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
918     hostgroups: computers
919  ###
920   -
921     name: process - irqbalance
922     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
923     hostgroups: computers
924     excludehosts: arcadelt, agricola, argento, penalosa, peri, escher, bruckner, allegri
925
926
927  ####
928  ###
929   #-
930   #  name: unwanted process - system-tools-backends
931   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
932   #  hostgroups: computers
933   #-
934   #  name: unwanted process - dbus-daemon
935   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
936   #  hostgroups: computers
937   -
938     name: unwanted process - gkrellmd
939     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
940     hostgroups: computers
941   -
942     name: unwanted process - portmap
943     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
944     hostgroups: computers
945   -
946     name: unwanted process - rpc.statd
947     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
948     hostgroups: computers
949   -
950     name: unwanted process - inetd
951     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
952     hostgroups: computers
953   -
954     name: unwanted process - snmpd
955     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
956     hostgroups: computers
957     excludehosts: lobos, villa
958
959
960  ############ Processes/Services that only run on some computers ############
961  ####
962  ###
963   -
964     name: process - rngd
965     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
966     hosts: bartok
967  ###
968   -
969     name: process - sensord
970     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
971     hosts: bartok
972
973  ###
974   -
975     name: process - mdadm monitor
976     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'"
977     hostgroups: sw-raid
978   -
979     name: RAID - sw raid
980     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
981     hostgroups: sw-raid
982
983  ###
984   -
985     name: process - cpqarrayd
986     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
987     hostgroups: dl385, dl380, dl360
988   -
989     name: RAID - arrayprobe
990     nrpe: "sudo /usr/bin/arrayprobe"
991     hostgroups: dl385, dl380, dl360
992
993  ###
994   -
995     name: process - slapd
996     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:50 -u openldap -C slapd -a '/usr/sbin/slapd -g openldap -u openldap'"
997     hosts: samosa
998  ###
999   -
1000     name: process - udevd
1001     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1002     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia, agricola, arcadelt, argento, allegri
1003  ###
1004   -
1005     name: process - acpid
1006     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'"
1007     hosts: ries, steffani, liszt, kassia
1008
1009  ###
1010   -
1011     name: process - xinetd
1012     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'"
1013     hosts: samosa, raptor
1014     hostgroups: rsyncd-hosts
1015   -
1016     name: unwanted process - xinetd
1017     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1018     hostgroups: computers
1019     excludehosts: samosa, raptor
1020     excludehostgroups: rsyncd-hosts
1021  ###
1022   -
1023     name: network service - finger
1024     check: check_tcp!79
1025     hosts: samosa
1026     depends: process - xinetd
1027  ###
1028   -
1029     name: network service - rsync
1030     check: check_tcp!873
1031     hostgroups: rsyncd-hosts
1032     depends: process - xinetd
1033
1034   -
1035     name: network service - rsync
1036     check: check_tcp!873
1037     hosts: rietz2
1038     depends: rietz:process - xinetd
1039
1040  ###
1041   -
1042     name: process - nagios1
1043     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nagios -C nagios -a '/usr/sbin/nagios -d /etc/nagios/nagios.cfg'"
1044     hosts: samosa
1045   -
1046     name: process - nagios3
1047     # there is always one extra process per check currently running..
1048     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'"
1049     hosts: samosa
1050
1051  ###
1052   -
1053     name: process - apache2 - master
1054     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1055     hostgroups: apache2-hosts
1056   -
1057     name: process - apache2 - worker
1058     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1059     hostgroups: apache2-hosts
1060     depends: process - apache2 - master
1061   -
1062     name: network service - http
1063     check: check_http
1064     hostgroups: apache2-hosts
1065     depends: process - apache2 - master
1066
1067
1068
1069   -
1070     name: process - apache - master
1071     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1072     hostgroups: apache1-hosts
1073   -
1074     name: process - apache - worker
1075     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1076     hostgroups: apache1-hosts
1077     depends: process - apache - master
1078   -
1079     name: network service - http
1080     check: check_http
1081     hostgroups: apache1-hosts
1082     depends: process - apache - master
1083
1084   -
1085     name: network service - http keyserver
1086     check: dsa_check_http_port!11371
1087     hosts: raff
1088     depends: process - apache - master
1089
1090   -
1091     name: network service - https
1092     check: check_https
1093     hosts: samosa
1094     depends: "process - apache2 - master"
1095     normal_check_interval: 120
1096     notification_interval: 120
1097   -
1098     name: network service - https cert
1099     check: dsa_check_cert!443
1100     hosts: samosa
1101     depends: network service - https
1102     normal_check_interval: 240
1103     notification_interval: 240
1104  ####
1105   -
1106     name: process - named
1107     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1108     hostgroups: bind9-hosts
1109   -
1110     name: network service - dns
1111     check: check_dns
1112     hostgroups: bind9-hosts
1113     depends: process - named
1114   -
1115     name: unwanted process - named
1116     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1117     hostgroups: computers
1118     excludehostgroups: bind9-hosts
1119
1120  ####
1121   -
1122     name: process - vsftp - listener
1123     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1124     hostgroups: ftpd-hosts
1125   -
1126     name: process - vsftp - instance
1127     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1128     hostgroups: ftpd-hosts
1129   -
1130     name: network service - ftp
1131     check: check_ftp
1132     hostgroups: ftpd-hosts
1133     depends: process - vsftp - listener
1134
1135  ####
1136   -
1137     name: process - debianqueued
1138     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
1139     hosts: ries
1140
1141  ###
1142   -
1143     name: process - postresql81 - master
1144     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'"
1145     hostgroups: postgres81-hosts
1146   -
1147     name: process - postresql81 - writer
1148     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1149     hostgroups: postgres81-hosts
1150     depends: process - postresql81 - master
1151   -
1152     name: process - postresql81 - buffer
1153     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1154     hostgroups: postgres81-hosts
1155     depends: process - postresql81 - master
1156   -
1157     name: process - postresql81 - collector
1158     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1159     hostgroups: postgres81-hosts
1160     depends: process - postresql81 - master
1161
1162  ####
1163   # XXX is this needed
1164   -
1165     name: process - snmpd
1166     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'"
1167     hosts: lobos, villa
1168
1169  ###
1170   -
1171     name: process - buildd
1172     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1173     hostgroups: buildd
1174
1175  ###
1176   -
1177     name: process - iscsid
1178     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1179     hosts: raptor
1180
1181  ###
1182   -
1183     name: process - tftpd
1184     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'"
1185     hostgroups: tftpd-hosts
1186  ###
1187   -
1188     name: process - dhcpd
1189     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1190     hosts: paer
1191  ###
1192   -
1193     name: process - monit
1194     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'"
1195     hosts: villa, lobos, steffani, kassia, master