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