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