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