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