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