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