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