[project @ peter@palfrader.org-20090128203825-o8an9to4qvpibdu6]
[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, bind9-hosts, single-cpu
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
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
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
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  ####
844   -
845     name: process - sshd
846     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
847     hostgroups: computers
848   -
849     name: "network service - sshd"
850     check: dsa_check_ssh
851     hostgroups: computers
852     depends: process - sshd
853     normal_check_interval:  60
854     notification_interval: 1440
855
856   -
857     name: "network service - sshd"
858     check: dsa_check_ssh
859     hostgroups: deadslow
860     excludehosts: agnesi
861     normal_check_interval:  180
862   -
863     name: "network service - sshd - 2260"
864     check: dsa_check_ssh_port!2260
865     hosts: agnesi
866     normal_check_interval:  180
867   -
868     name: "network service - sshd - 443"
869     check: dsa_check_ssh_port!443
870     hosts: gluck
871     normal_check_interval:  180
872
873   -
874     name: "network service - sshd - version"
875     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch3"
876     depends: network service - sshd
877     hostgroups: computers, deadslow
878     excludehosts: agnesi, crest, kullervo
879     excludehostgroups: lenny
880     normal_check_interval:  360
881   -
882     name: "network service - sshd - version"
883     check: "dsa_check_ssh_port_version!22!OpenSSH_4.3p2 Debian-9etch2+m68k1"
884     depends: network service - sshd
885     hosts: crest, kullervo
886     normal_check_interval:  360
887   -
888     name: "network service - sshd - version"
889     check: "dsa_check_ssh_port_version!22!OpenSSH_5.1p1 Debian-5"
890     depends: network service - sshd
891     hostgroups: lenny
892     normal_check_interval:  360
893   -
894     name: "network service - sshd - version - 2260"
895     check: "dsa_check_ssh_port_version!2260!OpenSSH_4.3p2 Debian-9etch3"
896     depends: network service - sshd - 2260
897     hosts: agnesi
898     normal_check_interval:  360
899  #
900   -
901     name: ssh - weak keys
902     servicegroups: weaksshkeys
903     nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys"
904     hostgroups: computers
905     normal_check_interval:  360
906  ####
907   -
908     name: network service - nrpe
909     check: check_tcp!5666
910     hostgroups: computers
911     max_check_attempts: -2
912     notification_interval: 1440
913   -
914     name: process - nrpe
915     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'"
916     hostgroups: computers
917     max_check_attempts: -1
918     depends: network service - nrpe
919  ###
920   -
921     name: process - munin-node
922     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
923     hostgroups: computers
924   -
925     name: network service - munin-node
926     check: check_tcp!4949
927     hostgroups: computers
928     depends: process - munin-node
929  ###
930   -
931     name: process - ntpd
932     # 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'"
933     # 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'"
934     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
935     hostgroups: computers
936     excludehosts: raptor, zelenka
937   -
938     name: network service - ntp
939     check: check_ntp
940     hostgroups: computers
941     depends: process - ntpd
942     excludehosts: raptor, allegri, zelenka
943   #
944   -
945     name: network service - time
946     check: dsa_check_time
947     hosts: raptor, allegri, zelenka
948     depends: process - xinetd
949
950  ###
951   -
952     name: process - atd
953     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
954     hostgroups: computers
955  ###
956   -
957     name: process - cron
958     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron"
959     hostgroups: computers
960
961  ###
962   -
963     name: process - syslog-ng
964     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'"
965     hostgroups: syslog-ng-hosts
966  ###
967   -
968     name: process - rsyslogd
969     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rsyslogd  -a '/usr/sbin/rsyslogd -c3'"
970     hostgroups: rsyslog-hosts
971  ###
972   -
973     name: process - syslogd
974     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd  -a '/sbin/syslogd'"
975     hostgroups: computers
976     excludehostgroups: syslog-ng-hosts, rsyslog-hosts
977   -
978     name: process - klogd
979     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd  -a '/sbin/klogd -x'"
980     hostgroups: computers
981     excludehostgroups: syslog-ng-hosts, rsyslog-hosts
982
983  ### MAIL STUFF
984  ###
985   -
986     name: process - exim
987     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
988     hostgroups: computers
989     excludehostgroups: postfix-hosts
990     excludehosts: master, rietz, merkel
991   -
992     name: process - exim - total
993     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
994     hostgroups: computers
995     excludehostgroups: postfix-hosts
996     excludehosts: master, rietz, merkel
997   -
998     name: process - exim
999     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
1000     hosts: master, rietz, merkel
1001  ###
1002   -
1003     name: process - clamav - clamd
1004     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
1005     hostgroups: heavy-exim, heavy-postfix
1006   -
1007     name: service - clamav
1008     nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
1009     hostgroups: heavy-exim, heavy-postfix
1010     depends: process - clamav - clamd
1011   -
1012     name: process - clamav - freshclam
1013     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
1014     hostgroups: heavy-exim, heavy-postfix
1015   -
1016     name: process - clamav - getsigs
1017     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C getclamsigs -a 'getclamsigs'"
1018     hostgroups: heavy-exim, heavy-postfix
1019   #
1020   -
1021     name: unwanted process - clamav
1022     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd"
1023     hostgroups: computers
1024     excludehostgroups: heavy-exim, heavy-postfix
1025   -
1026     name: unwanted process - freshclam
1027     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam"
1028     hostgroups: computers
1029     excludehostgroups: heavy-exim, heavy-postfix
1030   -
1031     name: unwanted process - clamav - getsigs
1032     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C getclamsigs"
1033     hostgroups: computers
1034     excludehostgroups: heavy-exim, heavy-postfix
1035  ###
1036   -
1037     name: process - spamd - master
1038     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'"
1039     hostgroups: heavy-exim
1040     excludehosts: rietz, merkel, raff
1041   -
1042     name: process - spamd - master
1043     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'"
1044     hosts: liszt
1045   -
1046     name: process - spamd - child
1047     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'"
1048     hosts: liszt
1049     hostgroups: heavy-exim
1050     depends: process - spamd - master
1051     excludehosts: rietz, merkel, raff
1052   #
1053   -
1054     name: process - spamd - master
1055     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
1056     hosts: rietz
1057   -
1058     name: process - spamd - child
1059     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
1060     hosts: rietz
1061   #
1062   -
1063     name: unwanted process - spamd
1064     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1065     hostgroups: computers
1066     excludehostgroups: heavy-exim
1067     excludehosts: liszt
1068   -
1069     name: unwanted process - spamd
1070     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
1071     hosts: merkel, raff
1072
1073  ###
1074   #-
1075   #  name: process - greylistd
1076   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
1077   #  hostgroups: heavy-exim
1078   #
1079   -
1080     name: unwanted process - greylistd
1081     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd"
1082     hostgroups: computers
1083
1084  ###
1085   -
1086     name: process - postgrey
1087     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'"
1088     hostgroups: heavy-exim
1089   -
1090     name: process - postgrey
1091     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'"
1092     hostgroups: heavy-postfix
1093   #
1094   -
1095     name: unwanted process - postgrey
1096     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey"
1097     hostgroups: computers
1098     excludehostgroups: heavy-postfix, heavy-exim
1099  ###
1100   -
1101     name: process - amavis - master
1102     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
1103     hostgroups: amavis-hosts
1104   -
1105     name: process - amavis - all
1106     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
1107     hostgroups: amavis-hosts
1108     depends: process - amavis - master
1109   #
1110   -
1111     name: unwanted process - amavis
1112     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
1113     hostgroups: computers
1114     excludehostgroups: amavis-hosts
1115  ###
1116   -
1117     name: process - weightd - master
1118     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'"
1119     hostgroups: heavy-postfix
1120   -
1121     name: process - weightd - cache
1122     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'"
1123     hostgroups: heavy-postfix
1124     depends: process - weightd - master
1125   -
1126     name: process - weightd - child
1127     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'"
1128     hostgroups: heavy-postfix
1129     depends: process - weightd - master
1130   #
1131   -
1132     name: unwanted process - policyd-weight
1133     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
1134     hostgroups: computers
1135     excludehostgroups: heavy-postfix
1136
1137
1138
1139  ###
1140   -
1141     name: process - postfix - master
1142     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
1143     hostgroups: postfix-hosts
1144   -
1145     name: process - postfix - qmgr
1146     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
1147     hostgroups: postfix-hosts
1148     depends: process - postfix - master
1149   #-
1150   #  name: process - postfix - tlsmgr
1151   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
1152   #  hostgroups: postfix-hosts
1153   #  depends: process - postfix - master
1154   -
1155     name: process - postfix - pickup
1156     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
1157     hostgroups: postfix-hosts
1158     depends: process - postfix - master
1159   -
1160     name: process - postfix - anvil
1161     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
1162     hostgroups: postfix-hosts
1163     depends: process - postfix - master
1164
1165   -
1166     name: process - postfix - trivial-rewrite
1167     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'"
1168     hostgroups: postfix-hosts
1169     depends: process - postfix - master
1170   -
1171     name: process - postfix - proxymap
1172     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
1173     hostgroups: postfix-hosts
1174     depends: process - postfix - master
1175   -
1176     name: process - postfix - cleanup
1177     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
1178     hostgroups: postfix-hosts
1179     depends: process - postfix - master
1180   -
1181     name: process - postfix - local
1182     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
1183     hostgroups: postfix-hosts
1184     depends: process - postfix - master
1185
1186   -
1187     name: process - postfix - smtpd
1188     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'"
1189     hostgroups: postfix-hosts
1190     excludehosts: liszt
1191     depends: process - postfix - master
1192   -
1193     name: process - postfix - smtp
1194     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1195     hostgroups: postfix-hosts
1196     excludehosts: liszt
1197     depends: process - postfix - master
1198
1199   -
1200     name: process - postfix - smtpd
1201     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'"
1202     hosts: liszt
1203     depends: process - postfix - master
1204   -
1205     name: process - postfix - smtp
1206     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'"
1207     hosts: liszt
1208     depends: process - postfix - master
1209
1210  ###
1211   -
1212     name: network service - smtp
1213     check: dsa_check_smtp
1214     hostgroups: computers
1215     excludehostgroups: postfix-hosts
1216     depends: process - exim
1217
1218   -
1219     name: network service - smtp
1220     check: dsa_check_smtp
1221     hostgroups: postfix-hosts
1222     excludehosts: verdi, kassia, allegri, raptor, piatti
1223     depends: process - postfix - master
1224   -
1225     name: network service - smtp - port 2025
1226     check: dsa_check_smtp_port!2025
1227     hosts: verdi, kassia, murphy, allegri, piatti
1228     depends: process - postfix - master
1229   -
1230     name: network service - smtp - port 8080
1231     check: dsa_check_smtp_port!8080
1232     hosts: murphy
1233     depends: process - postfix - master
1234   -
1235     name: network service - smtp - port 2025
1236     remotecheck: /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p 2025
1237     runfrom: murphy
1238     hosts: raptor
1239     depends: process - postfix - master
1240
1241   -
1242     name: network service local - smtps cert
1243     nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45"
1244     hostgroups: postfix-hosts
1245     depends: process - postfix - master
1246     normal_check_interval: 120
1247
1248
1249   -
1250     name: setup - dsa config
1251     nrpe: "/usr/lib/nagios/plugins/dsa-check-config"
1252     hostgroups: computers
1253     normal_check_interval: 120
1254   -
1255     name: setup - ud-ldap freshness
1256     nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness"
1257     hostgroups: computers
1258  ###
1259   -
1260     name: process - uptimed
1261     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
1262     hostgroups: computers
1263  ###
1264   -
1265     name: process - irqbalance
1266     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
1267     hostgroups: computers
1268     excludehostgroups: single-cpu
1269   -
1270     name: unwanted process - irqbalance
1271     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance"
1272     hostgroups: single-cpu
1273
1274  ####
1275  ###
1276   #-
1277   #  name: unwanted process - system-tools-backends
1278   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C system-tools-ba"
1279   #  hostgroups: computers
1280   #-
1281   #  name: unwanted process - dbus-daemon
1282   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C dbus-daemon"
1283   #  hostgroups: computers
1284   -
1285     name: unwanted process - gkrellmd
1286     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd"
1287     hostgroups: computers
1288   -
1289     name: unwanted process - portmap
1290     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap"
1291     hostgroups: computers
1292     excludehostgroups: nfs-client, nfs-server
1293   -
1294     name: unwanted process - rpc.statd
1295     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd"
1296     hostgroups: computers
1297     excludehostgroups: nfs-client, nfs-server
1298   -
1299     name: unwanted process - inetd
1300     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd"
1301     hostgroups: computers
1302   -
1303     name: unwanted process - snmpd
1304     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd"
1305     hostgroups: computers
1306     excludehosts: lobos, villa
1307
1308
1309  ############ Processes/Services that only run on some computers ############
1310  ####
1311  ###
1312   -
1313     name: process - rngd
1314     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd  -a '/usr/sbin/rngd -r /dev/hwrng'"
1315     hostgroups: dl385
1316  ###
1317   -
1318     name: process - sensord
1319     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord  -a '/usr/sbin/sensord -f daemon'"
1320     hosts: bartok
1321
1322  ###
1323   -
1324     name: process - mdadm monitor
1325     servicegroups: raid
1326     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'"
1327     hostgroups: sw-raid
1328   -
1329     name: RAID - sw raid
1330     servicegroups: raid
1331     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
1332     hostgroups: sw-raid
1333
1334  ###
1335   -
1336     name: process - cpqarrayd
1337     servicegroups: raid
1338     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
1339     hostgroups: dl385, dl380, dl360
1340   -
1341     name: RAID - arrayprobe
1342     servicegroups: raid
1343     nrpe: "sudo /usr/bin/arrayprobe"
1344     hostgroups: dl385, dl380, dl360
1345   -
1346     name: HW - hpacucli status
1347     servicegroups: raid
1348     nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli"
1349     normal_check_interval: 120
1350     hostgroups: dl385, dl380, dl360
1351  ###
1352   -
1353     name: RAID - areca
1354     servicegroups: raid
1355     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-areca"
1356     hosts: powell
1357  ###
1358   -
1359     name: RAID - DAC960
1360     servicegroups: raid
1361     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
1362     hosts: verdi
1363  ###
1364   -
1365     name: RAID - 3ware
1366     servicegroups: raid
1367     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware"
1368     hosts: puccini
1369  ###
1370   -
1371     name: RAID - MPT
1372     servicegroups: raid
1373     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt"
1374     hosts: master
1375
1376  ###
1377   -
1378     name: process - slapd
1379     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'"
1380     hosts: samosa
1381  ###
1382   -
1383     name: process - ulogd
1384     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'"
1385     hostgroups: ulogd-hosts
1386   -
1387     name: unexpected process - ulogd
1388     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd"
1389     hostgroups: computers
1390     excludehostgroups: ulogd-hosts
1391  ###
1392   -
1393     name: process - udevd
1394     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
1395     hostgroups: computers
1396     excludehostgroups: no-udev
1397   -
1398     name: unexpected process - udev
1399     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd"
1400     hostgroups: no-udev
1401  ###
1402   -
1403     name: process - acpid
1404     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'"
1405     hostgroups: acpid-hosts
1406   -
1407     name: unexpected process - acpid
1408     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid"
1409     hostgroups: computers
1410     excludehostgroups: acpid-hosts
1411
1412  ###
1413   -
1414     name: process - xinetd
1415     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'"
1416     hosts: samosa, raptor, allegri, gluck, zelenka
1417     hostgroups: rsyncd-hosts
1418   -
1419     name: unwanted process - xinetd
1420     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd"
1421     hostgroups: computers
1422     excludehosts: samosa, raptor, allegri, gluck, zelenka
1423     excludehostgroups: rsyncd-hosts
1424  ###
1425   -
1426     name: network service - finger
1427     check: check_tcp!79
1428     hosts: samosa
1429     depends: process - xinetd
1430  ###
1431   -
1432     name: network service - rsync
1433     check: check_tcp!873
1434     hostgroups: rsyncd-hosts
1435     depends: process - xinetd
1436
1437   -
1438     name: network service - rsync
1439     check: check_tcp!873
1440     hosts: rietz2
1441     depends: rietz:process - xinetd
1442
1443   -
1444     name: network service - rsync
1445     check: check_tcp!873
1446     hosts: kassia-sec
1447     depends: kassia:process - xinetd
1448
1449  ###
1450   -
1451     name: process - nagios3
1452     # there is always one extra process per check currently running..
1453     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'"
1454     hosts: samosa
1455
1456  ###
1457   -
1458     name: process - apache2 - master
1459     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
1460     hostgroups: apache2-hosts
1461   -
1462     name: process - apache2 - worker
1463     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
1464     hostgroups: apache2-hosts
1465     depends: process - apache2 - master
1466   -
1467     name: network service - http
1468     check: check_http
1469     hostgroups: apache2-hosts
1470     excludehosts: kassia
1471     depends: process - apache2 - master
1472   -
1473     name: network service - http
1474     check: check_http
1475     depends: kassia:process - apache2 - master
1476     hosts: kassia-sec, kassia-ftp
1477
1478
1479   -
1480     name: process - apache - master
1481     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
1482     hostgroups: apache1-hosts
1483   -
1484     name: process - apache - worker
1485     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
1486     hostgroups: apache1-hosts
1487     depends: process - apache - master
1488   -
1489     name: network service - http
1490     check: check_http
1491     hostgroups: apache1-hosts
1492     depends: process - apache - master
1493
1494   -
1495     name: network service - http keyserver
1496     check: dsa_check_http_port!11371
1497     hosts: raff
1498     depends: process - apache2 - master
1499
1500   -
1501     name: network service - https
1502     check: check_https
1503     hosts: samosa, ries
1504     depends: "process - apache2 - master"
1505     normal_check_interval: 120
1506   -
1507     name: network service - https cert
1508     check: dsa_check_cert!443
1509     hosts: samosa, ries
1510     depends: network service - https
1511     normal_check_interval: 240
1512  ####
1513   -
1514     name: process - named
1515     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
1516     hostgroups: bind9-hosts
1517   -
1518     name: network service - dns
1519     check: check_dns
1520     hostgroups: bind9-hosts
1521     depends: process - named
1522   -
1523     name: unwanted process - named
1524     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named"
1525     hostgroups: computers
1526     excludehostgroups: bind9-hosts
1527
1528  ####
1529   -
1530     name: process - vsftp - listener
1531     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
1532     hostgroups: ftpd-hosts
1533     excludehosts: kassia
1534   -
1535     name: process - vsftp - instance
1536     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '"
1537     hostgroups: ftpd-hosts
1538     excludehosts: kassia
1539   -
1540     name: network service - ftp
1541     check: check_ftp
1542     hostgroups: ftpd-hosts
1543     excludehosts: kassia
1544     depends: process - vsftp - listener
1545   -
1546     name: network service - ftp
1547     check: check_ftp
1548     hosts: kassia-sec, kassia-ftp
1549     depends: kassia:process - xinetd
1550
1551  ####
1552   -
1553     name: process - debianqueued
1554     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued"
1555     hosts: ries, ravel, klecker
1556
1557  ###
1558   -
1559     name: process - postresql81 - master
1560     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'"
1561     hostgroups: postgres81-hosts
1562   -
1563     name: process - postresql81 - writer
1564     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
1565     hostgroups: postgres81-hosts
1566     depends: process - postresql81 - master
1567   -
1568     name: process - postresql81 - buffer
1569     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
1570     hostgroups: postgres81-hosts
1571     depends: process - postresql81 - master
1572   -
1573     name: process - postresql81 - collector
1574     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
1575     hostgroups: postgres81-hosts
1576     depends: process - postresql81 - master
1577  ####
1578   -
1579     name: process - postresql83 - master
1580     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'"
1581     hostgroups: postgres83-hosts
1582     excludehosts: piatti
1583   -
1584     name: process - postresql83 - master
1585     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'"
1586     hosts: piatti
1587   -
1588     name: process - postresql83 - writer
1589     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'"
1590     hostgroups: postgres83-hosts
1591     depends: process - postresql83 - master
1592   -
1593     name: process - postresql83 - wal writer
1594     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: wal writer process'"
1595     hostgroups: postgres83-hosts
1596     depends: process - postresql83 - master
1597   -
1598     name: process - postresql83 - autovacuum launcher
1599     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: autovacuum launcher process'"
1600     hostgroups: postgres83-hosts
1601     depends: process - postresql83 - master
1602   -
1603     name: process - postresql83 - stats collector
1604     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: stats collector process'"
1605     hostgroups: postgres83-hosts
1606     depends: process - postresql83 - master
1607  ####
1608   -
1609     name: process - mysql - master
1610     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
1611     hostgroups: mysql-hosts
1612   -
1613     name: process - mysql - workers
1614     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
1615     hostgroups: mysql-hosts
1616     depends: process - mysql - master
1617
1618  ####
1619   -
1620     name: process - stunnel4 - postgres-udd
1621     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'"
1622     hosts: piatti
1623   -
1624     name: process - stunnel4 - postgres-udd
1625     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'"
1626     hosts: merkel
1627
1628  ####
1629   #-
1630   #  name: process - xenconsoled
1631   #  nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xenconsoled -a 'xenconsoled'"
1632   #  hosts: piatti
1633   #-
1634   #  name: process - xenstored
1635   #  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'"
1636   #  hosts: piatti
1637   #-
1638   #  name: process - xend
1639   #  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'"
1640   #  hosts: piatti
1641 #
1642  ####
1643   # XXX is this needed?
1644   -
1645     name: process - snmpd
1646     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'"
1647     hosts: lobos, villa
1648
1649  ###
1650   -
1651     name: process - buildd
1652     servicegroups: buildd
1653     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"
1654     hostgroups: buildd
1655     contacts: luk
1656
1657  ###
1658   -
1659     name: process - iscsid
1660     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 1: -u root -C iscsid '/usr/sbin/iscsid'"
1661     hosts: raptor
1662
1663  ###
1664   -
1665     name: process - tftpd
1666     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'"
1667     hostgroups: tftpd-hosts
1668  ###
1669   -
1670     name: process - dhcpd
1671     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C dhcpd3 -a '/usr/sbin/dhcpd3 -q eth0'"
1672     hosts: paer
1673  ###
1674   -
1675     name: process - monit
1676     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'"
1677     hosts: villa, lobos, steffani, kassia, master
1678  ###
1679   -
1680     name: process - smartd
1681     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'"
1682     hostgroups: smart
1683
1684  ############ NFS Stuff ############
1685  ####
1686   -
1687     name: process - portmap
1688     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'"
1689     hostgroups: nfs-client, nfs-server
1690   -
1691     name: process - statd
1692     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'"
1693     hostgroups: nfs-client, nfs-server
1694   -
1695     name: process - nfsd
1696     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'"
1697     hostgroups: nfs-server
1698   -
1699     name: process - lockd
1700     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C lockd -a '[lockd]'"
1701     hostgroups: nfs-server
1702   -
1703     name: process - mountd
1704     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'"
1705     hostgroups: nfs-server
1706  # see if the nfs stuff works and doesn't hang.
1707   # the df check all script will also hang, but we don't appear to pay attention to that
1708   -
1709     name: nfs mount ftp archive
1710     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /home/org/ftp.root/debian"
1711     hosts: gluck
1712   -
1713     name: nfs mount ftp archive
1714     nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp"
1715     hosts: merkel, raff
1716
1717  ############ MISC OTHER Stuff ############
1718  #####
1719   -
1720     name: mirror sync - security
1721     check: "dsa_check_mirrorsync!security.debian.org!project/trace/security-master.debian.org"
1722     hosts: global
1723   -
1724     name: mirror sync - security.eu
1725     check: "dsa_check_mirrorsync!security.eu.debian.org!project/trace/security-master.debian.org"
1726     hosts: global
1727   -
1728     name: mirror sync - security.us
1729     check: "dsa_check_mirrorsync!security.us.debian.org!project/trace/security-master.debian.org"
1730     hosts: global
1731   -
1732     name: DNS SOA sync - debprivate-ftcollins.debian.org
1733     check: "dsa_check_soas!debprivate-ftcollins.debian.org"
1734     hosts: global
1735   -
1736     name: DNS SOA sync - debian.org
1737     check: "dsa_check_soas_add!samosa.debian.org!debian.org"
1738     hosts: global
1739   -
1740     name: DNS SOA sync - debian.net
1741     check: "dsa_check_soas_add!samosa.debian.org!debian.net"
1742     hosts: global
1743   -
1744     name: DNS SOA sync - debian.com
1745     check: "dsa_check_soas_add!samosa.debian.org!debian.com"
1746     hosts: global
1747   -
1748     name: DNS SOA sync - mirror.debian.net
1749     check: "dsa_check_soas_add!samosa.debian.org!mirror.debian.net"
1750     hosts: global
1751   -
1752     name: DNS SOA sync - 144-28.118.59.86.in-addr.arpa
1753     check: "dsa_check_soas_add!samosa.debian.org!144-28.118.59.86.in-addr.arpa"
1754     hosts: global
1755   -
1756     name: DNS SOA sync - alioth.debian.org
1757     check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org"
1758     hosts: global