[project @ peter@palfrader.org-20080528194047-u5tfagaqqvzh35gf]
[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   apt:
517     alias: apt upgrade status
518   security:
519     alias: security
520     servicegroup_members: apt, weaksshkeys, kernel
521
522 #############################
523 # services
524 #############################
525 services:
526   -
527     name: PING
528     check: "check_ping!300.0,20%!600.0,40%"
529     hostgroups: all
530     excludehostgroups: routing-infrastructure
531     normal_check_interval: 5
532     max_check_attempts: 4
533     retry_check_interval: 1
534   -
535     name: PING
536     check: "check_ping!2000.0,60%!3000.0,80%"
537     hostgroups: routing-infrastructure
538     normal_check_interval: 5
539     max_check_attempts: 4
540     retry_check_interval: 1
541
542  ############ Services ############
543  ###
544
545  ############ Disk Usage ############
546  ####
547   -
548     name: disk usage - all
549     servicegroups: diskspace
550     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
551     hostgroups: computers
552   -
553     name: disk usage on /
554     servicegroups: diskspace
555     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /"
556     hostgroups: computers
557     excludehosts: ries
558   -
559     name: disk usage on /
560     servicegroups: diskspace
561     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /"
562     hosts: ries
563   -
564     name: disk usage on /boot
565     servicegroups: diskspace
566     nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot"
567     hosts: sperger, rietz, steffani, penalosa, peri, albeniz, escher, goetz, mayer, mayr, paer, spontini, tartini
568   -
569     name: disk usage on /var
570     servicegroups: diskspace
571     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var"
572     hosts: bartok, samosa, raff, lobos, villa, gluck, saens, escher, voltaire, puccini, lebrun, tartini
573   -
574     name: disk usage on /org
575     servicegroups: diskspace
576     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
577     hosts: sperger, samosa, raff, lobos, villa, steffani, saens, pergolesi, verdi, puccini, spontini
578   -
579     name: disk usage on /org
580     servicegroups: diskspace
581     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org"
582     hosts: merkel, bartok
583   -
584     name: disk usage on /srv
585     servicegroups: diskspace
586     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
587     hosts: agricola, arcadelt, argento, allegri, tartini
588   -
589     name: disk usage on /org/scratch
590     servicegroups: diskspace
591     nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch"
592     hosts: merkel
593   -
594     name: disk usage on /tmp
595     servicegroups: diskspace
596     nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
597     hosts: samosa, raff, gluck, saens, escher, puccini, merkel, tartini
598   -
599     name: disk usage on /usr
600     servicegroups: diskspace
601     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
602     hosts: samosa, raff, lobos, villa, gluck, saens, pergolesi, puccini, merulo, tartini
603   -
604     name: disk usage on /home
605     servicegroups: diskspace
606     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
607     hosts: raptor, escher, voltaire, lebrun
608   -
609     name: disk usage on /home
610     servicegroups: diskspace
611     nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /home"
612     hosts: gluck
613   -
614     name: disk usage on /chroot
615     servicegroups: diskspace
616     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /chroot"
617     hosts: raptor
618   -
619     name: disk usage on /mnt/hdc
620     servicegroups: diskspace
621     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc"
622     hosts: voltaire
623   -
624     name: disk usage on /mnt/sdb1
625     servicegroups: diskspace
626     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/sdb1"
627     hosts: spontini
628   -
629     name: disk usage on /x
630     servicegroups: diskspace
631     nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /x"
632     hosts: caballero
633
634  ############ All Computers ############
635  ####
636   -
637     name: apt - security updates
638     servicegroups: apt
639     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt"
640     hostgroups: computers
641     normal_check_interval:  360
642  ####
643   -
644     name: backup
645     nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup"
646     hostgroups: computers
647     normal_check_interval: 180
648     max_check_attempts: 2
649     retry_check_interval: 5
650
651  ####
652   -
653     name: running kernel
654     servicegroups: kernel
655     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
656     hostgroups: computers
657     normal_check_interval: 180
658     retry_check_interval: 5
659
660  ####
661   -
662     name: users
663     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
664     hostgroups: computers
665  ####
666   -
667     name: load
668     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
669     hostgroups: computers
670     excludehostgroups: highload
671   -
672     name: load
673     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
674     hostgroups: highload
675     excludehosts: rietz
676   -
677     name: load
678     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
679     hosts: rietz
680  ####
681   -
682     name: processes - zombies
683     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
684     hostgroups: computers
685  ####
686   -
687     name: processes - total
688     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
689     hostgroups: computers
690  ####
691   -
692     name: swap usage - percent
693     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
694     hostgroups: computers
695  ####
696   -
697     name: swap usage - mb
698     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
699     hostgroups: computers
700  ####
701   -
702     name: process - getty
703     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
704     hostgroups: computers
705  ####
706   -
707     name: process - sshd
708     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
709     hostgroups: computers
710   -
711     name: "network service - sshd"
712     check: dsa_check_ssh
713     hostgroups: computers
714     depends: process - sshd
715     normal_check_interval:  60
716     notification_interval: 1440
717
718   -
719     name: "network service - sshd"
720     check: dsa_check_ssh
721     hostgroups: deadslow
722     excludehosts: agnesi
723     normal_check_interval:  180
724   -
725     name: "network service - sshd - 2260"
726     check: dsa_check_ssh_port!2260
727     hosts: agnesi
728     normal_check_interval:  180
729   -
730     name: "network service - sshd - 443"
731     check: dsa_check_ssh_port!443
732     hosts: gluck
733     normal_check_interval:  180
734
735   -
736     name: "network service - sshd - version"
737     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2"
738     depends: network service - sshd
739     hostgroups: computers, deadslow
740     excludehosts: agnesi, crest, kullervo
741     excludehostgroups: lenny
742     normal_check_interval:  360
743   -
744     name: "network service - sshd - version"
745     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1"
746     depends: network service - sshd
747     hosts: crest, kullervo
748     normal_check_interval:  360
749   -
750     name: "network service - sshd - version"
751     check: "dsa_check_ssh_port_version!22!OpenSSH_4.7p1 Debian-9"
752     depends: network service - sshd
753     hostgroups: lenny
754     normal_check_interval:  360
755   -
756     name: "network service - sshd - version - 2260"
757     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch2"
758     depends: network service - sshd - 2260
759     hosts: agnesi
760     normal_check_interval:  360
761  #
762   -
763     name: ssh - weak keys
764     servicegroups: weaksshkeys
765     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
766     hostgroups: computers
767     normal_check_interval:  360
768  ####
769   -
770     name: network service - nrpe
771     check: check_tcp!5666
772     hostgroups: computers
773     max_check_attempts: -2
774     notification_interval: 1440
775   -
776     name: process - nrpe
777     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'"
778     hostgroups: computers
779     max_check_attempts: -1
780     depends: network service - nrpe
781  ###
782   -
783     name: process - munin-node
784     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
785     hostgroups: computers
786   -
787     name: network service - munin-node
788     check: check_tcp!4949
789     hostgroups: computers
790     depends: process - munin-node
791  ###
792   -
793     name: process - ntpd
794     # 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'"
795     # 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'"
796     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
797     hostgroups: computers
798     excludehosts: raptor
799   -
800     name: network service - ntp
801     check: check_ntp
802     hostgroups: computers
803     depends: process - ntpd
804     excludehosts: raptor, allegri
805   #
806   -
807     name: network service - time
808     check: dsa_check_time
809     hosts: raptor, allegri
810     depends: process - xinetd
811
812  ###
813   -
814     name: process - atd
815     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
816     hostgroups: computers
817  ###
818   -
819     name: process - cron
820     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
821     hostgroups: computers
822
823  ###
824   -
825     name: process - syslog-ng
826     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'"
827     hostgroups: syslog-ng-hosts
828  ###
829   -
830     name: process - syslogd
831     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
832     hostgroups: computers
833     excludehostgroups: syslog-ng-hosts
834   -
835     name: process - klogd
836     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
837     hostgroups: computers
838     excludehostgroups: syslog-ng-hosts
839
840  ### MAIL STUFF
841  ###
842   -
843     name: process - exim
844     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
845     hostgroups: computers
846     excludehostgroups: postfix-hosts
847     excludehosts: master, rietz, merkel
848   -
849     name: process - exim - total
850     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
851     hostgroups: computers
852     excludehostgroups: postfix-hosts
853     excludehosts: master, rietz, merkel
854   -
855     name: process - exim
856     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
857     hosts: master, rietz, merkel
858  ###
859   -
860     name: process - clamav - clamd
861     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
862     hostgroups: heavy-exim, heavy-postfix
863   -
864     name: service - clamav
865     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
866     hostgroups: heavy-exim, heavy-postfix
867     depends: process - clamav - clamd
868   -
869     name: process - clamav - freshclam
870     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
871     hostgroups: heavy-exim, heavy-postfix
872   #
873   -
874     name: unwanted process - clamav
875     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
876     hostgroups: computers
877     excludehostgroups: heavy-exim, heavy-postfix
878   -
879     name: unwanted process - freshclam
880     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
881     hostgroups: computers
882     excludehostgroups: heavy-exim, heavy-postfix
883  ###
884   -
885     name: process - spamd - master
886     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'"
887     hostgroups: heavy-exim
888     excludehosts: rietz, merkel, raff
889   -
890     name: process - spamd - master
891     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
892     hosts: liszt
893   -
894     name: process - spamd - child
895     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
896     hosts: liszt
897     hostgroups: heavy-exim
898     depends: process - spamd - master
899     excludehosts: rietz, merkel, raff
900   #
901   -
902     name: process - spamd - master
903     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
904     hosts: rietz
905   -
906     name: process - spamd - child
907     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
908     hosts: rietz
909   #
910   -
911     name: unwanted process - spamd
912     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
913     hostgroups: computers
914     excludehostgroups: heavy-exim
915     excludehosts: liszt
916   -
917     name: unwanted process - spamd
918     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
919     hosts: merkel, raff
920
921  ###
922   -
923     name: process - greylistd
924     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
925     hostgroups: heavy-exim
926   #
927   -
928     name: unwanted process - greylistd
929     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
930     hostgroups: computers
931     excludehostgroups: heavy-exim
932
933  ###
934   -
935     name: process - postgrey
936     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'"
937     hostgroups: heavy-postfix
938   #
939   -
940     name: unwanted process - postgrey
941     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
942     hostgroups: computers
943     excludehostgroups: heavy-postfix
944  ###
945   -
946     name: process - amavis - master
947     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
948     hostgroups: amavis-hosts
949   -
950     name: process - amavis - all
951     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
952     hostgroups: amavis-hosts
953     depends: process - amavis - master
954   #
955   -
956     name: unwanted process - amavis
957     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
958     hostgroups: computers
959     excludehostgroups: amavis-hosts
960  ###
961   -
962     name: process - weightd - master
963     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
964     hostgroups: heavy-postfix
965   -
966     name: process - weightd - cache
967     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
968     hostgroups: heavy-postfix
969     depends: process - weightd - master
970   -
971     name: process - weightd - child
972     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
973     hostgroups: heavy-postfix
974     depends: process - weightd - master
975   #
976   -
977     name: unwanted process - policyd-weight
978     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
979     hostgroups: computers
980     excludehostgroups: heavy-postfix
981
982
983
984  ###
985   -
986     name: process - postfix - master
987     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
988     hostgroups: postfix-hosts
989   -
990     name: process - postfix - qmgr
991     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
992     hostgroups: postfix-hosts
993     depends: process - postfix - master
994   #-
995   #  name: process - postfix - tlsmgr
996   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
997   #  hostgroups: postfix-hosts
998   #  depends: process - postfix - master
999   -
1000     name: process - postfix - pickup
1001     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1002     hostgroups: postfix-hosts
1003     depends: process - postfix - master
1004   -
1005     name: process - postfix - anvil
1006     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1007     hostgroups: postfix-hosts
1008     depends: process - postfix - master
1009
1010   -
1011     name: process - postfix - trivial-rewrite
1012     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'"
1013     hostgroups: postfix-hosts
1014     depends: process - postfix - master
1015   -
1016     name: process - postfix - proxymap
1017     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1018     hostgroups: postfix-hosts
1019     depends: process - postfix - master
1020   -
1021     name: process - postfix - cleanup
1022     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1023     hostgroups: postfix-hosts
1024     depends: process - postfix - master
1025   -
1026     name: process - postfix - local
1027     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1028     hostgroups: postfix-hosts
1029     depends: process - postfix - master
1030
1031   -
1032     name: process - postfix - smtpd
1033     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'"
1034     hostgroups: postfix-hosts
1035     excludehosts: liszt
1036     depends: process - postfix - master
1037   -
1038     name: process - postfix - smtp
1039     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1040     hostgroups: postfix-hosts
1041     excludehosts: liszt
1042     depends: process - postfix - master
1043
1044   -
1045     name: process - postfix - smtpd
1046     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'"
1047     hosts: liszt
1048     depends: process - postfix - master
1049   -
1050     name: process - postfix - smtp
1051     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1052     hosts: liszt
1053     depends: process - postfix - master
1054
1055  ###
1056   -
1057     name: network service - smtp
1058     check: dsa_check_smtp
1059     hostgroups: computers
1060     excludehostgroups: postfix-hosts
1061     depends: process - exim
1062
1063   -
1064     name: network service - smtp
1065     check: dsa_check_smtp
1066     hostgroups: postfix-hosts
1067     excludehosts: verdi, kassia, allegri, raptor, piatti
1068     depends: process - postfix - master
1069   -
1070     name: network service - smtp - port 2025
1071     check: dsa_check_smtp_port!2025
1072     hosts: verdi, kassia, murphy, allegri, piatti
1073     depends: process - postfix - master
1074   -
1075     name: network service - smtp - port 8080
1076     check: dsa_check_smtp_port!8080
1077     hosts: murphy, piatti
1078     depends: process - postfix - master
1079   -
1080     name: network service - smtp - port 2025
1081     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1082     runfrom: murphy
1083     hosts: raptor
1084     depends: process - postfix - master
1085
1086   -
1087     name: network service local - smtps cert
1088     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1089     hostgroups: postfix-hosts
1090     depends: process - postfix - master
1091     normal_check_interval: 120
1092
1093
1094   -
1095     name: setup - debian-admin in etc aliases
1096     nrpe: "/usr/lib/nagios/plugins/dsa-check-da-in-aliases"
1097     hostgroups: computers
1098     normal_check_interval: 120
1099   -
1100     name: setup - ud-ldap freshness
1101     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1102     hostgroups: computers
1103  ###
1104   -
1105     name: process - uptimed
1106     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1107     hostgroups: computers
1108  ###
1109   -
1110     name: process - irqbalance
1111     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1112     hostgroups: computers
1113     excludehostgroups: single-cpu
1114   -
1115     name: unwanted process - irqbalance
1116     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1117     hostgroups: single-cpu
1118
1119  ####
1120  ###
1121   #-
1122   #  name: unwanted process - system-tools-backends
1123   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1124   #  hostgroups: computers
1125   #-
1126   #  name: unwanted process - dbus-daemon
1127   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1128   #  hostgroups: computers
1129   -
1130     name: unwanted process - gkrellmd
1131     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1132     hostgroups: computers
1133   -
1134     name: unwanted process - portmap
1135     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1136     hostgroups: computers
1137   -
1138     name: unwanted process - rpc.statd
1139     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1140     hostgroups: computers
1141   -
1142     name: unwanted process - inetd
1143     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1144     hostgroups: computers
1145   -
1146     name: unwanted process - snmpd
1147     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1148     hostgroups: computers
1149     excludehosts: lobos, villa
1150
1151
1152  ############ Processes/Services that only run on some computers ############
1153  ####
1154  ###
1155   -
1156     name: process - rngd
1157     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1158     hosts: bartok
1159  ###
1160   -
1161     name: process - sensord
1162     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
1163     hosts: bartok
1164
1165  ###
1166   -
1167     name: process - mdadm monitor
1168     servicegroups: raid
1169     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'"
1170     hostgroups: sw-raid
1171   -
1172     name: RAID - sw raid
1173     servicegroups: raid
1174     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1175     hostgroups: sw-raid
1176
1177  ###
1178   -
1179     name: process - cpqarrayd
1180     servicegroups: raid
1181     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1182     hostgroups: dl385, dl380, dl360
1183   -
1184     name: RAID - arrayprobe
1185     servicegroups: raid
1186     nrpe: "sudo /usr/bin/arrayprobe"
1187     hostgroups: dl385, dl380, dl360
1188   -
1189     name: HW - hpacucli status
1190     servicegroups: raid
1191     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1192     hostgroups: dl385, dl380, dl360
1193  ###
1194   -
1195     name: RAID - DAC960
1196     servicegroups: raid
1197     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1198     hosts: verdi
1199  ###
1200   -
1201     name: RAID - 3ware
1202     servicegroups: raid
1203     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1204     hosts: puccini
1205  ###
1206   -
1207     name: RAID - MPT
1208     servicegroups: raid
1209     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1210     hosts: master
1211
1212  ###
1213   -
1214     name: process - slapd
1215     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'"
1216     hosts: samosa
1217  ###
1218   -
1219     name: process - udevd
1220     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1221     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, escher, verdi, liszt, kassia, agricola, arcadelt, argento, allegri
1222  ###
1223   -
1224     name: process - acpid
1225     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'"
1226     hosts: ries, steffani, liszt, kassia
1227
1228  ###
1229   -
1230     name: process - xinetd
1231     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'"
1232     hosts: samosa, raptor, allegri
1233     hostgroups: rsyncd-hosts
1234   -
1235     name: unwanted process - xinetd
1236     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1237     hostgroups: computers
1238     excludehosts: samosa, raptor, allegri
1239     excludehostgroups: rsyncd-hosts
1240  ###
1241   -
1242     name: network service - finger
1243     check: check_tcp!79
1244     hosts: samosa
1245     depends: process - xinetd
1246  ###
1247   -
1248     name: network service - rsync
1249     check: check_tcp!873
1250     hostgroups: rsyncd-hosts
1251     depends: process - xinetd
1252
1253   -
1254     name: network service - rsync
1255     check: check_tcp!873
1256     hosts: rietz2
1257     depends: rietz:process - xinetd
1258
1259  ###
1260   -
1261     name: process - nagios3
1262     # there is always one extra process per check currently running..
1263     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'"
1264     hosts: samosa
1265
1266  ###
1267   -
1268     name: process - apache2 - master
1269     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1270     hostgroups: apache2-hosts
1271   -
1272     name: process - apache2 - worker
1273     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1274     hostgroups: apache2-hosts
1275     depends: process - apache2 - master
1276   -
1277     name: network service - http
1278     check: check_http
1279     hostgroups: apache2-hosts
1280     depends: process - apache2 - master
1281
1282
1283
1284   -
1285     name: process - apache - master
1286     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1287     hostgroups: apache1-hosts
1288   -
1289     name: process - apache - worker
1290     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1291     hostgroups: apache1-hosts
1292     depends: process - apache - master
1293   -
1294     name: network service - http
1295     check: check_http
1296     hostgroups: apache1-hosts
1297     depends: process - apache - master
1298
1299   -
1300     name: network service - http keyserver
1301     check: dsa_check_http_port!11371
1302     hosts: raff
1303     depends: process - apache - master
1304
1305   -
1306     name: network service - https
1307     check: check_https
1308     hosts: samosa
1309     depends: "process - apache2 - master"
1310     normal_check_interval: 120
1311   -
1312     name: network service - https cert
1313     check: dsa_check_cert!443
1314     hosts: samosa
1315     depends: network service - https
1316     normal_check_interval: 240
1317  ####
1318   -
1319     name: process - named
1320     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1321     hostgroups: bind9-hosts
1322   -
1323     name: network service - dns
1324     check: check_dns
1325     hostgroups: bind9-hosts
1326     depends: process - named
1327   -
1328     name: unwanted process - named
1329     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1330     hostgroups: computers
1331     excludehostgroups: bind9-hosts
1332
1333  ####
1334   -
1335     name: process - vsftp - listener
1336     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1337     hostgroups: ftpd-hosts
1338   -
1339     name: process - vsftp - instance
1340     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1341     hostgroups: ftpd-hosts
1342   -
1343     name: network service - ftp
1344     check: check_ftp
1345     hostgroups: ftpd-hosts
1346     depends: process - vsftp - listener
1347
1348  ####
1349   -
1350     name: process - debianqueued
1351     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1352     hosts: ries
1353
1354  ###
1355   -
1356     name: process - postresql81 - master
1357     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'"
1358     hostgroups: postgres81-hosts
1359   -
1360     name: process - postresql81 - writer
1361     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1362     hostgroups: postgres81-hosts
1363     depends: process - postresql81 - master
1364   -
1365     name: process - postresql81 - buffer
1366     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1367     hostgroups: postgres81-hosts
1368     depends: process - postresql81 - master
1369   -
1370     name: process - postresql81 - collector
1371     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1372     hostgroups: postgres81-hosts
1373     depends: process - postresql81 - master
1374
1375  ####
1376   -
1377     name: process - xenconsoled
1378     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1379     hosts: piatti
1380   -
1381     name: process - xenstored
1382     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'"
1383     hosts: piatti
1384   -
1385     name: process - xend
1386     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'"
1387     hosts: piatti
1388
1389  ####
1390   # XXX is this needed?
1391   -
1392     name: process - snmpd
1393     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'"
1394     hosts: lobos, villa
1395
1396  ###
1397   -
1398     name: process - buildd
1399     servicegroups: buildd
1400     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1401     hostgroups: buildd
1402
1403  ###
1404   -
1405     name: process - iscsid
1406     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1407     hosts: raptor
1408
1409  ###
1410   -
1411     name: process - tftpd
1412     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'"
1413     hostgroups: tftpd-hosts
1414  ###
1415   -
1416     name: process - dhcpd
1417     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1418     hosts: paer
1419  ###
1420   -
1421     name: process - monit
1422     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'"
1423     hosts: villa, lobos, steffani, kassia, master