[project @ peter@palfrader.org-20080623081124-54ha0dnq632qd1s1]
[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, apache2-hosts, mysql-hosts
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   mysql-hosts:
498     alias: hosts running mysql
499     private: 1
500
501   highload:
502     alias: "hosts on which high load is normal"
503     private: 1
504
505   secondary-IPs:
506     alias: secondary IP addresses
507     private: 1
508
509
510 #############################
511 # servicegroups
512 #############################
513 servicegroups:
514   diskspace:
515     alias: diskusage checks
516   buildd:
517     alias: buildd checks
518   raid:
519     alias: raid checks
520   kernel:
521     alias: kernel checks
522   weaksshkeys:
523     alias: weak ssh keys
524   apt:
525     alias: apt upgrade status
526   security:
527     alias: security
528     servicegroup_members: apt, weaksshkeys, kernel
529
530 #############################
531 # services
532 #############################
533 services:
534   -
535     name: PING
536     check: "check_ping!300.0,20%!600.0,40%"
537     hostgroups: all
538     excludehostgroups: routing-infrastructure
539     normal_check_interval: 5
540     max_check_attempts: 4
541     retry_check_interval: 1
542   -
543     name: PING
544     check: "check_ping!2000.0,60%!3000.0,80%"
545     hostgroups: routing-infrastructure
546     normal_check_interval: 5
547     max_check_attempts: 4
548     retry_check_interval: 1
549
550  ############ Services ############
551  ###
552
553  ############ Disk Usage ############
554  ####
555   -
556     name: disk usage - all
557     servicegroups: diskspace
558     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
559     hostgroups: computers
560   -
561     name: disk usage on /
562     servicegroups: diskspace
563     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
564     hostgroups: computers
565     excludehosts: ries
566   -
567     name: disk usage on /
568     servicegroups: diskspace
569     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /"
570     hosts: ries
571   -
572     name: disk usage on /boot
573     servicegroups: diskspace
574     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
575     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer, spontini, tartini, morales
576   -
577     name: disk usage on /var
578     servicegroups: diskspace
579     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
580     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher, voltaire, puccini, lebrun, tartini, morales
581   -
582     name: disk usage on /org
583     servicegroups: diskspace
584     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
585     hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini, spontini
586   -
587     name: disk usage on /org
588     servicegroups: diskspace
589     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
590     hosts: merkel, bartok
591   -
592     name: disk usage on /srv
593     servicegroups: diskspace
594     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
595     hosts: agricola, arcadelt, argento, allegri, tartini, morales
596   -
597     name: disk usage on /org/scratch
598     servicegroups: diskspace
599     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch"
600     hosts: merkel
601   -
602     name: disk usage on /tmp
603     servicegroups: diskspace
604     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
605     hosts: samosa, raff, gluck, saens, escher, puccini, merkel, tartini
606   -
607     name: disk usage on /usr
608     servicegroups: diskspace
609     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
610     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, puccini, merulo, tartini, morales
611   -
612     name: disk usage on /home
613     servicegroups: diskspace
614     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
615     hosts: raptor, escher, voltaire, lebrun
616   -
617     name: disk usage on /home
618     servicegroups: diskspace
619     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
620     hosts: gluck
621   -
622     name: disk usage on /chroot
623     servicegroups: diskspace
624     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
625     hosts: raptor
626   -
627     name: disk usage on /mnt/hdc
628     servicegroups: diskspace
629     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
630     hosts: voltaire
631   -
632     name: disk usage on /mnt/sdb1
633     servicegroups: diskspace
634     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/sdb1"
635     hosts: spontini
636   -
637     name: disk usage on /x
638     servicegroups: diskspace
639     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
640     hosts: caballero
641
642  ############ All Computers ############
643  ####
644   -
645     name: apt - security updates
646     servicegroups: apt
647     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
648     hostgroups: computers
649     normal_check_interval:  360
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_4.7p1 Debian-12"
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   -
882     name: unwanted process - clamav
883     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
884     hostgroups: computers
885     excludehostgroups: heavy-exim, heavy-postfix
886   -
887     name: unwanted process - freshclam
888     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
889     hostgroups: computers
890     excludehostgroups: heavy-exim, heavy-postfix
891  ###
892   -
893     name: process - spamd - master
894     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'"
895     hostgroups: heavy-exim
896     excludehosts: rietz, merkel, raff
897   -
898     name: process - spamd - master
899     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'"
900     hosts: liszt
901   -
902     name: process - spamd - child
903     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
904     hosts: liszt
905     hostgroups: heavy-exim
906     depends: process - spamd - master
907     excludehosts: rietz, merkel, raff
908   #
909   -
910     name: process - spamd - master
911     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
912     hosts: rietz
913   -
914     name: process - spamd - child
915     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
916     hosts: rietz
917   #
918   -
919     name: unwanted process - spamd
920     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
921     hostgroups: computers
922     excludehostgroups: heavy-exim
923     excludehosts: liszt
924   -
925     name: unwanted process - spamd
926     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
927     hosts: merkel, raff
928
929  ###
930   -
931     name: process - greylistd
932     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
933     hostgroups: heavy-exim
934   #
935   -
936     name: unwanted process - greylistd
937     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
938     hostgroups: computers
939     excludehostgroups: heavy-exim
940
941  ###
942   -
943     name: process - postgrey
944     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'"
945     hostgroups: heavy-postfix
946   #
947   -
948     name: unwanted process - postgrey
949     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
950     hostgroups: computers
951     excludehostgroups: heavy-postfix
952  ###
953   -
954     name: process - amavis - master
955     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
956     hostgroups: amavis-hosts
957   -
958     name: process - amavis - all
959     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
960     hostgroups: amavis-hosts
961     depends: process - amavis - master
962   #
963   -
964     name: unwanted process - amavis
965     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
966     hostgroups: computers
967     excludehostgroups: amavis-hosts
968  ###
969   -
970     name: process - weightd - master
971     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
972     hostgroups: heavy-postfix
973   -
974     name: process - weightd - cache
975     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
976     hostgroups: heavy-postfix
977     depends: process - weightd - master
978   -
979     name: process - weightd - child
980     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
981     hostgroups: heavy-postfix
982     depends: process - weightd - master
983   #
984   -
985     name: unwanted process - policyd-weight
986     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
987     hostgroups: computers
988     excludehostgroups: heavy-postfix
989
990
991
992  ###
993   -
994     name: process - postfix - master
995     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
996     hostgroups: postfix-hosts
997   -
998     name: process - postfix - qmgr
999     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1000     hostgroups: postfix-hosts
1001     depends: process - postfix - master
1002   #-
1003   #  name: process - postfix - tlsmgr
1004   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1005   #  hostgroups: postfix-hosts
1006   #  depends: process - postfix - master
1007   -
1008     name: process - postfix - pickup
1009     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1010     hostgroups: postfix-hosts
1011     depends: process - postfix - master
1012   -
1013     name: process - postfix - anvil
1014     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1015     hostgroups: postfix-hosts
1016     depends: process - postfix - master
1017
1018   -
1019     name: process - postfix - trivial-rewrite
1020     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'"
1021     hostgroups: postfix-hosts
1022     depends: process - postfix - master
1023   -
1024     name: process - postfix - proxymap
1025     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1026     hostgroups: postfix-hosts
1027     depends: process - postfix - master
1028   -
1029     name: process - postfix - cleanup
1030     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1031     hostgroups: postfix-hosts
1032     depends: process - postfix - master
1033   -
1034     name: process - postfix - local
1035     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1036     hostgroups: postfix-hosts
1037     depends: process - postfix - master
1038
1039   -
1040     name: process - postfix - smtpd
1041     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'"
1042     hostgroups: postfix-hosts
1043     excludehosts: liszt
1044     depends: process - postfix - master
1045   -
1046     name: process - postfix - smtp
1047     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1048     hostgroups: postfix-hosts
1049     excludehosts: liszt
1050     depends: process - postfix - master
1051
1052   -
1053     name: process - postfix - smtpd
1054     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'"
1055     hosts: liszt
1056     depends: process - postfix - master
1057   -
1058     name: process - postfix - smtp
1059     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1060     hosts: liszt
1061     depends: process - postfix - master
1062
1063  ###
1064   -
1065     name: network service - smtp
1066     check: dsa_check_smtp
1067     hostgroups: computers
1068     excludehostgroups: postfix-hosts
1069     depends: process - exim
1070
1071   -
1072     name: network service - smtp
1073     check: dsa_check_smtp
1074     hostgroups: postfix-hosts
1075     excludehosts: verdi, kassia, allegri, raptor, piatti
1076     depends: process - postfix - master
1077   -
1078     name: network service - smtp - port 2025
1079     check: dsa_check_smtp_port!2025
1080     hosts: verdi, kassia, murphy, allegri, piatti
1081     depends: process - postfix - master
1082   -
1083     name: network service - smtp - port 8080
1084     check: dsa_check_smtp_port!8080
1085     hosts: murphy, piatti
1086     depends: process - postfix - master
1087   -
1088     name: network service - smtp - port 2025
1089     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1090     runfrom: murphy
1091     hosts: raptor
1092     depends: process - postfix - master
1093
1094   -
1095     name: network service local - smtps cert
1096     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1097     hostgroups: postfix-hosts
1098     depends: process - postfix - master
1099     normal_check_interval: 120
1100
1101
1102   -
1103     name: setup - debian-admin in etc aliases
1104     nrpe: "/usr/lib/nagios/plugins/dsa-check-da-in-aliases"
1105     hostgroups: computers
1106     normal_check_interval: 120
1107   -
1108     name: setup - ud-ldap freshness
1109     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1110     hostgroups: computers
1111  ###
1112   -
1113     name: process - uptimed
1114     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1115     hostgroups: computers
1116  ###
1117   -
1118     name: process - irqbalance
1119     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1120     hostgroups: computers
1121     excludehostgroups: single-cpu
1122   -
1123     name: unwanted process - irqbalance
1124     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1125     hostgroups: single-cpu
1126
1127  ####
1128  ###
1129   #-
1130   #  name: unwanted process - system-tools-backends
1131   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1132   #  hostgroups: computers
1133   #-
1134   #  name: unwanted process - dbus-daemon
1135   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1136   #  hostgroups: computers
1137   -
1138     name: unwanted process - gkrellmd
1139     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1140     hostgroups: computers
1141   -
1142     name: unwanted process - portmap
1143     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1144     hostgroups: computers
1145   -
1146     name: unwanted process - rpc.statd
1147     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1148     hostgroups: computers
1149   -
1150     name: unwanted process - inetd
1151     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1152     hostgroups: computers
1153   -
1154     name: unwanted process - snmpd
1155     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1156     hostgroups: computers
1157     excludehosts: lobos, villa
1158
1159
1160  ############ Processes/Services that only run on some computers ############
1161  ####
1162  ###
1163   -
1164     name: process - rngd
1165     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1166     hosts: bartok
1167  ###
1168   -
1169     name: process - sensord
1170     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
1171     hosts: bartok
1172
1173  ###
1174   -
1175     name: process - mdadm monitor
1176     servicegroups: raid
1177     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'"
1178     hostgroups: sw-raid
1179   -
1180     name: RAID - sw raid
1181     servicegroups: raid
1182     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1183     hostgroups: sw-raid
1184
1185  ###
1186   -
1187     name: process - cpqarrayd
1188     servicegroups: raid
1189     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1190     hostgroups: dl385, dl380, dl360
1191   -
1192     name: RAID - arrayprobe
1193     servicegroups: raid
1194     nrpe: "sudo /usr/bin/arrayprobe"
1195     hostgroups: dl385, dl380, dl360
1196   -
1197     name: HW - hpacucli status
1198     servicegroups: raid
1199     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1200     hostgroups: dl385, dl380, dl360
1201  ###
1202   -
1203     name: RAID - DAC960
1204     servicegroups: raid
1205     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1206     hosts: verdi
1207  ###
1208   -
1209     name: RAID - 3ware
1210     servicegroups: raid
1211     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1212     hosts: puccini
1213  ###
1214   -
1215     name: RAID - MPT
1216     servicegroups: raid
1217     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1218     hosts: master
1219
1220  ###
1221   -
1222     name: process - slapd
1223     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'"
1224     hosts: samosa
1225  ###
1226   -
1227     name: process - udevd
1228     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1229     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia, agricola, arcadelt, argento, allegri, morales
1230  ###
1231   -
1232     name: process - acpid
1233     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'"
1234     hosts: ries, steffani, liszt, kassia
1235
1236  ###
1237   -
1238     name: process - xinetd
1239     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'"
1240     hosts: samosa, raptor, allegri
1241     hostgroups: rsyncd-hosts
1242   -
1243     name: unwanted process - xinetd
1244     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1245     hostgroups: computers
1246     excludehosts: samosa, raptor, allegri
1247     excludehostgroups: rsyncd-hosts
1248  ###
1249   -
1250     name: network service - finger
1251     check: check_tcp!79
1252     hosts: samosa
1253     depends: process - xinetd
1254  ###
1255   -
1256     name: network service - rsync
1257     check: check_tcp!873
1258     hostgroups: rsyncd-hosts
1259     depends: process - xinetd
1260
1261   -
1262     name: network service - rsync
1263     check: check_tcp!873
1264     hosts: rietz2
1265     depends: rietz:process - xinetd
1266
1267  ###
1268   -
1269     name: process - nagios3
1270     # there is always one extra process per check currently running..
1271     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'"
1272     hosts: samosa
1273
1274  ###
1275   -
1276     name: process - apache2 - master
1277     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1278     hostgroups: apache2-hosts
1279   -
1280     name: process - apache2 - worker
1281     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1282     hostgroups: apache2-hosts
1283     depends: process - apache2 - master
1284   -
1285     name: network service - http
1286     check: check_http
1287     hostgroups: apache2-hosts
1288     depends: process - apache2 - master
1289
1290
1291
1292   -
1293     name: process - apache - master
1294     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1295     hostgroups: apache1-hosts
1296   -
1297     name: process - apache - worker
1298     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1299     hostgroups: apache1-hosts
1300     depends: process - apache - master
1301   -
1302     name: network service - http
1303     check: check_http
1304     hostgroups: apache1-hosts
1305     depends: process - apache - master
1306
1307   -
1308     name: network service - http keyserver
1309     check: dsa_check_http_port!11371
1310     hosts: raff
1311     depends: process - apache - master
1312
1313   -
1314     name: network service - https
1315     check: check_https
1316     hosts: samosa
1317     depends: "process - apache2 - master"
1318     normal_check_interval: 120
1319   -
1320     name: network service - https cert
1321     check: dsa_check_cert!443
1322     hosts: samosa
1323     depends: network service - https
1324     normal_check_interval: 240
1325  ####
1326   -
1327     name: process - named
1328     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1329     hostgroups: bind9-hosts
1330   -
1331     name: network service - dns
1332     check: check_dns
1333     hostgroups: bind9-hosts
1334     depends: process - named
1335   -
1336     name: unwanted process - named
1337     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1338     hostgroups: computers
1339     excludehostgroups: bind9-hosts
1340
1341  ####
1342   -
1343     name: process - vsftp - listener
1344     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1345     hostgroups: ftpd-hosts
1346   -
1347     name: process - vsftp - instance
1348     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1349     hostgroups: ftpd-hosts
1350   -
1351     name: network service - ftp
1352     check: check_ftp
1353     hostgroups: ftpd-hosts
1354     depends: process - vsftp - listener
1355
1356  ####
1357   -
1358     name: process - debianqueued
1359     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1360     hosts: ries
1361
1362  ###
1363   -
1364     name: process - postresql81 - master
1365     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'"
1366     hostgroups: postgres81-hosts
1367   -
1368     name: process - postresql81 - writer
1369     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1370     hostgroups: postgres81-hosts
1371     depends: process - postresql81 - master
1372   -
1373     name: process - postresql81 - buffer
1374     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1375     hostgroups: postgres81-hosts
1376     depends: process - postresql81 - master
1377   -
1378     name: process - postresql81 - collector
1379     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1380     hostgroups: postgres81-hosts
1381     depends: process - postresql81 - master
1382  ####
1383   -
1384     name: process - mysql - master
1385     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1386     hostgroups: mysql-hosts
1387   -
1388     name: process - mysql - workers
1389     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1390     hostgroups: mysql-hosts
1391     depends: process - mysql - master
1392
1393  ####
1394   -
1395     name: process - xenconsoled
1396     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1397     hosts: piatti
1398   -
1399     name: process - xenstored
1400     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'"
1401     hosts: piatti
1402   -
1403     name: process - xend
1404     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'"
1405     hosts: piatti
1406
1407  ####
1408   # XXX is this needed?
1409   -
1410     name: process - snmpd
1411     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'"
1412     hosts: lobos, villa
1413
1414  ###
1415   -
1416     name: process - buildd
1417     servicegroups: buildd
1418     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1419     hostgroups: buildd
1420
1421  ###
1422   -
1423     name: process - iscsid
1424     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1425     hosts: raptor
1426
1427  ###
1428   -
1429     name: process - tftpd
1430     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'"
1431     hostgroups: tftpd-hosts
1432  ###
1433   -
1434     name: process - dhcpd
1435     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1436     hosts: paer
1437  ###
1438   -
1439     name: process - monit
1440     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'"
1441     hosts: villa, lobos, steffani, kassia, master