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