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