ccfdea51f0b19fe995a64da1868684bb55d6c79b
[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     name: backup server config
669     nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server"
670     hosts: bartok
671     normal_check_interval: 180
672     max_check_attempts: 2
673     retry_check_interval: 5
674
675  ####
676   -
677     name: running kernel
678     servicegroups: kernel
679     nrpe: "/usr/lib/nagios/plugins/dsa-check-running-kernel"
680     hostgroups: computers
681     normal_check_interval: 180
682     retry_check_interval: 5
683
684  ####
685   -
686     name: process - samhain
687     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'"
688     hostgroups: computers
689   -
690     name: samhain
691     servicegroups: samhain
692     nrpe: "/usr/lib/nagios/plugins/dsa-check-samhain"
693     hostgroups: computers
694     depends: process - samhain
695     normal_check_interval: 240
696     retry_check_interval: 5
697
698  ####
699   -
700     name: users
701     nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
702     hostgroups: computers
703  ####
704   -
705     name: load
706     nrpe: "/usr/lib/nagios/plugins/check_load -w 30,28,26 -c 50,45,50"
707     hostgroups: computers
708     excludehostgroups: highload
709   -
710     name: load
711     nrpe: "/usr/lib/nagios/plugins/check_load -w 140,120,100 -c 240,220,200"
712     hostgroups: highload
713     excludehosts: rietz
714   -
715     name: load
716     nrpe: "/usr/lib/nagios/plugins/check_load -w 200,200,200 -c 350,350,350"
717     hosts: rietz
718  ####
719   -
720     name: processes - zombies
721     nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
722     hostgroups: computers
723  ####
724   -
725     name: processes - total
726     nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
727     hostgroups: computers
728  ####
729   -
730     name: swap usage - percent
731     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
732     hostgroups: computers
733  ####
734   -
735     name: swap usage - mb
736     nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
737     hostgroups: computers
738  ####
739   -
740     name: process - getty
741     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
742     hostgroups: computers
743  ####
744   -
745     name: process - sshd
746     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
747     hostgroups: computers
748   -
749     name: "network service - sshd"
750     check: dsa_check_ssh
751     hostgroups: computers
752     depends: process - sshd
753     normal_check_interval:  60
754     notification_interval: 1440
755
756   -
757     name: "network service - sshd"
758     check: dsa_check_ssh
759     hostgroups: deadslow
760     excludehosts: agnesi
761     normal_check_interval:  180
762   -
763     name: "network service - sshd - 2260"
764     check: dsa_check_ssh_port!2260
765     hosts: agnesi
766     normal_check_interval:  180
767   -
768     name: "network service - sshd - 443"
769     check: dsa_check_ssh_port!443
770     hosts: gluck
771     normal_check_interval:  180
772
773   -
774     name: "network service - sshd - version"
775     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch3"
776     depends: network service - sshd
777     hostgroups: computers, deadslow
778     excludehosts: agnesi, crest, kullervo
779     excludehostgroups: lenny
780     normal_check_interval:  360
781   -
782     name: "network service - sshd - version"
783     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1"
784     depends: network service - sshd
785     hosts: crest, kullervo
786     normal_check_interval:  360
787   -
788     name: "network service - sshd - version"
789     check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-2"
790     depends: network service - sshd
791     hostgroups: lenny
792     normal_check_interval:  360
793   -
794     name: "network service - sshd - version - 2260"
795     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch3"
796     depends: network service - sshd - 2260
797     hosts: agnesi
798     normal_check_interval:  360
799  #
800   -
801     name: ssh - weak keys
802     servicegroups: weaksshkeys
803     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
804     hostgroups: computers
805     normal_check_interval:  360
806  ####
807   -
808     name: network service - nrpe
809     check: check_tcp!5666
810     hostgroups: computers
811     max_check_attempts: -2
812     notification_interval: 1440
813   -
814     name: process - nrpe
815     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'"
816     hostgroups: computers
817     max_check_attempts: -1
818     depends: network service - nrpe
819  ###
820   -
821     name: process - munin-node
822     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
823     hostgroups: computers
824   -
825     name: network service - munin-node
826     check: check_tcp!4949
827     hostgroups: computers
828     depends: process - munin-node
829  ###
830   -
831     name: process - ntpd
832     # 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'"
833     # 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'"
834     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
835     hostgroups: computers
836     excludehosts: raptor
837   -
838     name: network service - ntp
839     check: check_ntp
840     hostgroups: computers
841     depends: process - ntpd
842     excludehosts: raptor, allegri
843   #
844   -
845     name: network service - time
846     check: dsa_check_time
847     hosts: raptor, allegri
848     depends: process - xinetd
849
850  ###
851   -
852     name: process - atd
853     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
854     hostgroups: computers
855  ###
856   -
857     name: process - cron
858     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
859     hostgroups: computers
860
861  ###
862   -
863     name: process - syslog-ng
864     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'"
865     hostgroups: syslog-ng-hosts
866  ###
867   -
868     name: process - rsyslogd
869     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rsyslogd  -a '/usr/sbin/rsyslogd -c3'"
870     hostgroups: rsyslog-hosts
871  ###
872   -
873     name: process - syslogd
874     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
875     hostgroups: computers
876     excludehostgroups: syslog-ng-hosts, rsyslog-hosts
877   -
878     name: process - klogd
879     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
880     hostgroups: computers
881     excludehostgroups: syslog-ng-hosts, rsyslog-hosts
882
883  ### MAIL STUFF
884  ###
885   -
886     name: process - exim
887     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
888     hostgroups: computers
889     excludehostgroups: postfix-hosts
890     excludehosts: master, rietz, merkel
891   -
892     name: process - exim - total
893     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
894     hostgroups: computers
895     excludehostgroups: postfix-hosts
896     excludehosts: master, rietz, merkel
897   -
898     name: process - exim
899     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
900     hosts: master, rietz, merkel
901  ###
902   -
903     name: process - clamav - clamd
904     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
905     hostgroups: heavy-exim, heavy-postfix
906   -
907     name: service - clamav
908     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
909     hostgroups: heavy-exim, heavy-postfix
910     depends: process - clamav - clamd
911   -
912     name: process - clamav - freshclam
913     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
914     hostgroups: heavy-exim, heavy-postfix
915   -
916     name: process - clamav - getsigs
917     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'"
918     hostgroups: heavy-exim, heavy-postfix
919   #
920   -
921     name: unwanted process - clamav
922     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
923     hostgroups: computers
924     excludehostgroups: heavy-exim, heavy-postfix
925   -
926     name: unwanted process - freshclam
927     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
928     hostgroups: computers
929     excludehostgroups: heavy-exim, heavy-postfix
930   -
931     name: unwanted process - clamav - getsigs
932     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs"
933     hostgroups: computers
934     excludehostgroups: heavy-exim, heavy-postfix
935  ###
936   -
937     name: process - spamd - master
938     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'"
939     hostgroups: heavy-exim
940     excludehosts: rietz, merkel, raff
941   -
942     name: process - spamd - master
943     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'"
944     hosts: liszt
945   -
946     name: process - spamd - child
947     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
948     hosts: liszt
949     hostgroups: heavy-exim
950     depends: process - spamd - master
951     excludehosts: rietz, merkel, raff
952   #
953   -
954     name: process - spamd - master
955     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
956     hosts: rietz
957   -
958     name: process - spamd - child
959     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
960     hosts: rietz
961   #
962   -
963     name: unwanted process - spamd
964     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
965     hostgroups: computers
966     excludehostgroups: heavy-exim
967     excludehosts: liszt
968   -
969     name: unwanted process - spamd
970     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
971     hosts: merkel, raff
972
973  ###
974   -
975     name: process - greylistd
976     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
977     hostgroups: heavy-exim
978   #
979   -
980     name: unwanted process - greylistd
981     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
982     hostgroups: computers
983     excludehostgroups: heavy-exim
984
985  ###
986   -
987     name: process - postgrey
988     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'"
989     hostgroups: heavy-postfix
990   #
991   -
992     name: unwanted process - postgrey
993     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
994     hostgroups: computers
995     excludehostgroups: heavy-postfix
996  ###
997   -
998     name: process - amavis - master
999     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
1000     hostgroups: amavis-hosts
1001   -
1002     name: process - amavis - all
1003     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
1004     hostgroups: amavis-hosts
1005     depends: process - amavis - master
1006   #
1007   -
1008     name: unwanted process - amavis
1009     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
1010     hostgroups: computers
1011     excludehostgroups: amavis-hosts
1012  ###
1013   -
1014     name: process - weightd - master
1015     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
1016     hostgroups: heavy-postfix
1017   -
1018     name: process - weightd - cache
1019     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
1020     hostgroups: heavy-postfix
1021     depends: process - weightd - master
1022   -
1023     name: process - weightd - child
1024     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
1025     hostgroups: heavy-postfix
1026     depends: process - weightd - master
1027   #
1028   -
1029     name: unwanted process - policyd-weight
1030     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
1031     hostgroups: computers
1032     excludehostgroups: heavy-postfix
1033
1034
1035
1036  ###
1037   -
1038     name: process - postfix - master
1039     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1040     hostgroups: postfix-hosts
1041   -
1042     name: process - postfix - qmgr
1043     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1044     hostgroups: postfix-hosts
1045     depends: process - postfix - master
1046   #-
1047   #  name: process - postfix - tlsmgr
1048   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1049   #  hostgroups: postfix-hosts
1050   #  depends: process - postfix - master
1051   -
1052     name: process - postfix - pickup
1053     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1054     hostgroups: postfix-hosts
1055     depends: process - postfix - master
1056   -
1057     name: process - postfix - anvil
1058     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1059     hostgroups: postfix-hosts
1060     depends: process - postfix - master
1061
1062   -
1063     name: process - postfix - trivial-rewrite
1064     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'"
1065     hostgroups: postfix-hosts
1066     depends: process - postfix - master
1067   -
1068     name: process - postfix - proxymap
1069     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1070     hostgroups: postfix-hosts
1071     depends: process - postfix - master
1072   -
1073     name: process - postfix - cleanup
1074     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1075     hostgroups: postfix-hosts
1076     depends: process - postfix - master
1077   -
1078     name: process - postfix - local
1079     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1080     hostgroups: postfix-hosts
1081     depends: process - postfix - master
1082
1083   -
1084     name: process - postfix - smtpd
1085     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'"
1086     hostgroups: postfix-hosts
1087     excludehosts: liszt
1088     depends: process - postfix - master
1089   -
1090     name: process - postfix - smtp
1091     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1092     hostgroups: postfix-hosts
1093     excludehosts: liszt
1094     depends: process - postfix - master
1095
1096   -
1097     name: process - postfix - smtpd
1098     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'"
1099     hosts: liszt
1100     depends: process - postfix - master
1101   -
1102     name: process - postfix - smtp
1103     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1104     hosts: liszt
1105     depends: process - postfix - master
1106
1107  ###
1108   -
1109     name: network service - smtp
1110     check: dsa_check_smtp
1111     hostgroups: computers
1112     excludehostgroups: postfix-hosts
1113     depends: process - exim
1114
1115   -
1116     name: network service - smtp
1117     check: dsa_check_smtp
1118     hostgroups: postfix-hosts
1119     excludehosts: verdi, kassia, allegri, raptor, piatti
1120     depends: process - postfix - master
1121   -
1122     name: network service - smtp - port 2025
1123     check: dsa_check_smtp_port!2025
1124     hosts: verdi, kassia, murphy, allegri, piatti
1125     depends: process - postfix - master
1126   -
1127     name: network service - smtp - port 8080
1128     check: dsa_check_smtp_port!8080
1129     hosts: murphy, piatti
1130     depends: process - postfix - master
1131   -
1132     name: network service - smtp - port 2025
1133     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1134     runfrom: murphy
1135     hosts: raptor
1136     depends: process - postfix - master
1137
1138   -
1139     name: network service local - smtps cert
1140     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1141     hostgroups: postfix-hosts
1142     depends: process - postfix - master
1143     normal_check_interval: 120
1144
1145
1146   -
1147     name: setup - dsa config
1148     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1149     hostgroups: computers
1150     normal_check_interval: 120
1151   -
1152     name: setup - ud-ldap freshness
1153     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1154     hostgroups: computers
1155  ###
1156   -
1157     name: process - uptimed
1158     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1159     hostgroups: computers
1160  ###
1161   -
1162     name: process - irqbalance
1163     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1164     hostgroups: computers
1165     excludehostgroups: single-cpu
1166   -
1167     name: unwanted process - irqbalance
1168     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1169     hostgroups: single-cpu
1170
1171  ####
1172  ###
1173   #-
1174   #  name: unwanted process - system-tools-backends
1175   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1176   #  hostgroups: computers
1177   #-
1178   #  name: unwanted process - dbus-daemon
1179   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1180   #  hostgroups: computers
1181   -
1182     name: unwanted process - gkrellmd
1183     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1184     hostgroups: computers
1185   -
1186     name: unwanted process - portmap
1187     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1188     hostgroups: computers
1189   -
1190     name: unwanted process - rpc.statd
1191     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1192     hostgroups: computers
1193   -
1194     name: unwanted process - inetd
1195     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1196     hostgroups: computers
1197   -
1198     name: unwanted process - snmpd
1199     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1200     hostgroups: computers
1201     excludehosts: lobos, villa
1202
1203
1204  ############ Processes/Services that only run on some computers ############
1205  ####
1206  ###
1207   -
1208     name: process - rngd
1209     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1210     hostgroups: dl385
1211  ###
1212   -
1213     name: process - sensord
1214     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
1215     hosts: bartok
1216
1217  ###
1218   -
1219     name: process - mdadm monitor
1220     servicegroups: raid
1221     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'"
1222     hostgroups: sw-raid
1223   -
1224     name: RAID - sw raid
1225     servicegroups: raid
1226     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1227     hostgroups: sw-raid
1228
1229  ###
1230   -
1231     name: process - cpqarrayd
1232     servicegroups: raid
1233     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1234     hostgroups: dl385, dl380, dl360
1235   -
1236     name: RAID - arrayprobe
1237     servicegroups: raid
1238     nrpe: "sudo /usr/bin/arrayprobe"
1239     hostgroups: dl385, dl380, dl360
1240   -
1241     name: HW - hpacucli status
1242     servicegroups: raid
1243     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1244     normal_check_interval: 120
1245     hostgroups: dl385, dl380, dl360
1246  ###
1247   -
1248     name: RAID - DAC960
1249     servicegroups: raid
1250     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1251     hosts: verdi
1252  ###
1253   -
1254     name: RAID - 3ware
1255     servicegroups: raid
1256     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1257     hosts: puccini
1258  ###
1259   -
1260     name: RAID - MPT
1261     servicegroups: raid
1262     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1263     hosts: master
1264
1265  ###
1266   -
1267     name: process - slapd
1268     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'"
1269     hosts: samosa
1270  ###
1271   -
1272     name: process - udevd
1273     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1274     hosts: sperger, ries, steffani, merkel, spohr, peri, penalosa, albeniz, verdi, liszt, kassia, agricola, arcadelt, argento, allegri, morales, bartok, schroeder
1275  ###
1276   -
1277     name: process - acpid
1278     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'"
1279     hosts: ries, steffani, liszt, kassia
1280
1281  ###
1282   -
1283     name: process - xinetd
1284     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'"
1285     hosts: samosa, raptor, allegri
1286     hostgroups: rsyncd-hosts
1287   -
1288     name: unwanted process - xinetd
1289     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1290     hostgroups: computers
1291     excludehosts: samosa, raptor, allegri
1292     excludehostgroups: rsyncd-hosts
1293  ###
1294   -
1295     name: network service - finger
1296     check: check_tcp!79
1297     hosts: samosa
1298     depends: process - xinetd
1299  ###
1300   -
1301     name: network service - rsync
1302     check: check_tcp!873
1303     hostgroups: rsyncd-hosts
1304     depends: process - xinetd
1305
1306   -
1307     name: network service - rsync
1308     check: check_tcp!873
1309     hosts: rietz2
1310     depends: rietz:process - xinetd
1311
1312  ###
1313   -
1314     name: process - nagios3
1315     # there is always one extra process per check currently running..
1316     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'"
1317     hosts: samosa
1318
1319  ###
1320   -
1321     name: process - apache2 - master
1322     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1323     hostgroups: apache2-hosts
1324   -
1325     name: process - apache2 - worker
1326     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1327     hostgroups: apache2-hosts
1328     depends: process - apache2 - master
1329   -
1330     name: network service - http
1331     check: check_http
1332     hostgroups: apache2-hosts
1333     depends: process - apache2 - master
1334
1335
1336
1337   -
1338     name: process - apache - master
1339     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1340     hostgroups: apache1-hosts
1341   -
1342     name: process - apache - worker
1343     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1344     hostgroups: apache1-hosts
1345     depends: process - apache - master
1346   -
1347     name: network service - http
1348     check: check_http
1349     hostgroups: apache1-hosts
1350     depends: process - apache - master
1351
1352   -
1353     name: network service - http keyserver
1354     check: dsa_check_http_port!11371
1355     hosts: raff
1356     depends: process - apache - master
1357
1358   -
1359     name: network service - https
1360     check: check_https
1361     hosts: samosa
1362     depends: "process - apache2 - master"
1363     normal_check_interval: 120
1364   -
1365     name: network service - https cert
1366     check: dsa_check_cert!443
1367     hosts: samosa
1368     depends: network service - https
1369     normal_check_interval: 240
1370  ####
1371   -
1372     name: process - named
1373     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1374     hostgroups: bind9-hosts
1375   -
1376     name: network service - dns
1377     check: check_dns
1378     hostgroups: bind9-hosts
1379     depends: process - named
1380   -
1381     name: unwanted process - named
1382     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1383     hostgroups: computers
1384     excludehostgroups: bind9-hosts
1385
1386  ####
1387   -
1388     name: process - vsftp - listener
1389     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1390     hostgroups: ftpd-hosts
1391   -
1392     name: process - vsftp - instance
1393     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1394     hostgroups: ftpd-hosts
1395   -
1396     name: network service - ftp
1397     check: check_ftp
1398     hostgroups: ftpd-hosts
1399     depends: process - vsftp - listener
1400
1401  ####
1402   -
1403     name: process - debianqueued
1404     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1405     hosts: ries, ravel
1406
1407  ###
1408   -
1409     name: process - postresql81 - master
1410     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'"
1411     hostgroups: postgres81-hosts
1412   -
1413     name: process - postresql81 - writer
1414     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1415     hostgroups: postgres81-hosts
1416     depends: process - postresql81 - master
1417   -
1418     name: process - postresql81 - buffer
1419     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1420     hostgroups: postgres81-hosts
1421     depends: process - postresql81 - master
1422   -
1423     name: process - postresql81 - collector
1424     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1425     hostgroups: postgres81-hosts
1426     depends: process - postresql81 - master
1427  ####
1428   -
1429     name: process - mysql - master
1430     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1431     hostgroups: mysql-hosts
1432   -
1433     name: process - mysql - workers
1434     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1435     hostgroups: mysql-hosts
1436     depends: process - mysql - master
1437
1438  ####
1439   #-
1440   #  name: process - xenconsoled
1441   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1442   #  hosts: piatti
1443   #-
1444   #  name: process - xenstored
1445   #  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'"
1446   #  hosts: piatti
1447   #-
1448   #  name: process - xend
1449   #  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'"
1450   #  hosts: piatti
1451 #
1452  ####
1453   # XXX is this needed?
1454   -
1455     name: process - snmpd
1456     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'"
1457     hosts: lobos, villa
1458
1459  ###
1460   -
1461     name: process - buildd
1462     servicegroups: buildd
1463     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1464     hostgroups: buildd
1465
1466  ###
1467   -
1468     name: process - iscsid
1469     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1470     hosts: raptor
1471
1472  ###
1473   -
1474     name: process - tftpd
1475     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'"
1476     hostgroups: tftpd-hosts
1477  ###
1478   -
1479     name: process - dhcpd
1480     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1481     hosts: paer
1482  ###
1483   -
1484     name: process - monit
1485     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'"
1486     hosts: villa, lobos, steffani, kassia, master