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