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