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