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