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