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