1 # Non comment lines are YAML
3 # Strings ought to be in double quotes, but it works in most cases if they aren't :)
8 # - raff: identd, hpasmd
49 #############################
51 #############################
54 address: 82.195.75.126
56 hostgroups: routing-infrastructure
60 hostgroups: routing-infrastructure
64 hostgroups: routing-infrastructure
68 hostgroups: routing-infrastructure
70 address: 140.211.166.1
72 hostgroups: routing-infrastructure
74 address: 212.211.132.1
76 hostgroups: routing-infrastructure
78 address: 212.211.132.249
80 hostgroups: routing-infrastructure
84 hostgroups: routing-infrastructure
86 address: 194.109.137.217
88 hostgroups: routing-infrastructure
90 address: 128.101.240.222
92 hostgroups: routing-infrastructure
94 address: 195.49.152.190
96 hostgroups: routing-infrastructure
99 address: 192.25.206.57
100 hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts
102 address: 192.25.206.59
104 hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
106 address: 192.25.206.10
108 hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
110 address: 192.25.206.16
112 hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts
114 address: 192.25.206.33
116 hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
119 address: 82.195.75.91
120 parents: gw-MAN-DA-debian
121 hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
123 address: 82.195.75.98
124 parents: gw-MAN-DA-debian
125 hostgroups: computers, porterbox, sw-raid
127 address: 82.195.75.86
128 parents: gw-MAN-DA-debian
129 hostgroups: computers, porterbox, sw-raid
131 address: 82.195.75.87
132 parents: gw-MAN-DA-debian
133 hostgroups: computers, buildd, sw-raid
136 address: 70.103.162.29
137 parents: gw-brainfood
138 hostgroups: computers, general, apache2-hosts, bind9-hosts
141 address: 128.148.34.103
143 hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts
146 address: 140.211.166.43
147 parents: gw-brown.edu
148 hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385
150 address: 140.211.166.44
152 hostgroups: secondary-IPs
155 address: 212.211.132.32
156 parents: gw-scanplus-villa
157 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
159 address: 212.211.132.250
160 parents: gw-scanplus-lobos
161 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
165 parents: gw-mit-csail
166 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
169 address: 194.109.137.218
171 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts
174 address: 128.101.240.212
176 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
179 address: 195.49.152.174
181 hostgroups: computers, buildd, sw-raid
183 #############################
186 # hostgroups ircd and all are automatically defined
188 #############################
193 routing-infrastructure:
194 alias: Internet routers and friends
195 extinfo-icon_image: base/switch40.png
196 extinfo-icon_image_alt: router
199 alias: developer accessible porter machines
200 extinfo-icon_image: base/debian.png
201 extinfo-icon_image_alt: Debian GNU/Linux
202 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
204 alias: machines running services
205 extinfo-icon_image: base/debian.png
206 extinfo-icon_image_alt: Debian GNU/Linux
207 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
209 alias: buildd systems
210 extinfo-icon_image: base/debian.png
211 extinfo-icon_image_alt: Debian GNU/Linux
212 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
214 alias: general purpose developer accessible machines
215 extinfo-icon_image: base/debian.png
216 extinfo-icon_image_alt: Debian GNU/Linux
217 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
220 alias: HP DL380 hosts
223 alias: HP DL385 hosts
226 alias: Hosts with Linux software raid
230 alias: hosts running syslog-ng instead of sysklogd
233 alias: hosts running postfix instead of exim
236 alias: hosts running apache2
239 alias: hosts running apache1
242 alias: hosts running bind9
245 alias: hosts running vsftpd
248 alias: hosts providing rsync services via xinetd
251 alias: hosts running postgres81
255 alias: secondary IP addresses
258 #############################
260 #############################
264 check: "check_ping!300.0,20%!600.0,40%"
267 ############ Services ############
270 ############ Disk Usage ############
273 name: disk usage - all
274 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
275 hostgroups: computers
277 name: disk usage on /
278 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
279 hostgroups: computers
281 name: disk usage on /boot
282 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
283 hosts: sperger, rietz, steffani
285 name: disk usage on /var
286 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
287 hosts: bartok, samosa, raff, lobos, villa, gluck, saens
289 name: disk usage on /org
290 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
291 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens
293 name: disk usage on /srv
294 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
295 hosts: agricola, arcadelt, argento
297 name: disk usage on /org/scratch2
298 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
301 name: disk usage on /oldorg
302 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
305 name: disk usage on /tmp
306 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
307 hosts: samosa, raff, gluck, saens
309 name: disk usage on /usr
310 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
311 hosts: samosa, raff, lobos, villa, gluck, saens
313 name: disk usage on /home
314 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
317 ############ All Computers ############
320 # name: apt - security updates
321 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
322 # hostgroups: computers
323 # normal_check_interval: 480
324 # notification_interval: 480
325 # max_check_attempts: 4
326 # retry_check_interval: 12
330 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
331 hostgroups: computers
335 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
336 hostgroups: computers
339 name: processes - zombies
340 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
341 hostgroups: computers
344 name: processes - total
345 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
346 hostgroups: computers
349 name: swap usage - percent
350 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
351 hostgroups: computers
354 name: swap usage - mb
355 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
356 hostgroups: computers
359 name: process - getty
360 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
361 hostgroups: computers
365 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
366 hostgroups: computers
368 name: "network service - sshd"
370 hostgroups: computers
371 depends: process - sshd
372 normal_check_interval: 60
373 notification_interval: 60
376 name: network service - nrpe
377 check: check_tcp!5666
378 hostgroups: computers
379 max_check_attempts: -1
382 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'"
383 hostgroups: computers
384 depends: network service - nrpe
387 name: process - munin-node
388 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
389 hostgroups: computers
391 name: network service - munin-node
392 check: check_tcp!4949
393 hostgroups: computers
394 depends: process - munin-node
398 # 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'"
399 # 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'"
400 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
401 hostgroups: computers
403 name: network service - ntp
405 hostgroups: computers
406 depends: process - ntpd
410 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
411 hostgroups: computers
415 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
416 hostgroups: computers
420 name: process - syslog-ng
421 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'"
422 hostgroups: syslog-ng-hosts
425 name: process - syslogd
426 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
427 hostgroups: computers
428 excludehostgroups: syslog-ng-hosts
430 name: process - klogd
431 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
432 hostgroups: computers
433 excludehostgroups: syslog-ng-hosts
439 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
440 hostgroups: computers
441 excludehostgroups: postfix-hosts
442 excludehosts: master, rietz, merkel
444 name: process - exim - total
445 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
446 hostgroups: computers
447 excludehostgroups: postfix-hosts
448 excludehosts: master, rietz, merkel
451 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
452 hosts: master, rietz, merkel
455 name: process - clamav - clamd
456 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
457 hostgroups: computers
458 excludehostgroups: postfix-hosts
460 name: service - clamav
461 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
462 hostgroups: computers
463 excludehostgroups: postfix-hosts
464 depends: process - clamav - clamd
466 name: process - clamav - freshclam
467 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
468 hostgroups: computers
469 excludehostgroups: postfix-hosts
472 name: process - spamd - master
473 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'"
475 hostgroups: computers
476 excludehostgroups: postfix-hosts
479 name: process - spamd - child
480 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
481 hostgroups: computers
482 excludehostgroups: postfix-hosts
483 depends: process - spamd - master
487 name: process - spamd - master
488 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
491 name: process - spamd - child
492 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
497 name: process - greylistd
498 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
499 hostgroups: computers
500 excludehostgroups: postfix-hosts
504 name: process - postfix - master
505 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
506 hostgroups: postfix-hosts
508 name: process - postfix - qmgr
509 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
510 hostgroups: postfix-hosts
511 depends: process - postfix - master
513 # name: process - postfix - tlsmgr
514 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
515 # hostgroups: postfix-hosts
516 # depends: process - postfix - master
518 name: process - postfix - pickup
519 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
520 hostgroups: postfix-hosts
521 depends: process - postfix - master
523 name: process - postfix - anvil
524 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
525 hostgroups: postfix-hosts
526 depends: process - postfix - master
529 name: process - postfix - trivial-rewrite
530 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'"
531 hostgroups: postfix-hosts
532 depends: process - postfix - master
534 name: process - postfix - proxymap
535 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
536 hostgroups: postfix-hosts
537 depends: process - postfix - master
539 name: process - postfix - smtpd
540 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'"
541 hostgroups: postfix-hosts
542 depends: process - postfix - master
544 name: process - postfix - cleanup
545 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
546 hostgroups: postfix-hosts
547 depends: process - postfix - master
549 name: process - postfix - local
550 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
551 hostgroups: postfix-hosts
552 depends: process - postfix - master
557 name: network service - smtp
559 hostgroups: postfix-hosts
560 depends: process - postfix - master
562 name: network service - smtp
564 hostgroups: computers
565 excludehostgroups: postfix-hosts
566 depends: process - exim
571 name: process - uptimed
572 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
573 hostgroups: computers
576 name: process - irqbalance
577 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
578 hostgroups: computers
579 excludehosts: arcadelt, agricola, argento
583 ############ Processes/Services that only run on some computers ############
588 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
592 name: process - sensord
593 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
598 name: process - mdadm monitor
599 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'"
603 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
608 name: process - cpqarrayd
609 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
610 hostgroups: dl385, dl380
612 name: RAID - arrayprobe
613 nrpe: "sudo /usr/bin/arrayprobe"
614 hostgroups: dl385, dl380
618 name: process - slapd
619 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1:50 -u openldap -C slapd -a '/usr/sbin/slapd -g openldap -u openldap'"
623 name: process - udevd
624 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
625 hosts: sperger, ries, steffani, merkel, spohr
628 name: process - acpid
629 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'"
630 hosts: ries, steffani
634 name: process - xinetd
635 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'"
637 hostgroups: rsyncd-hosts
640 name: network service - finger
643 depends: process - xinetd
646 name: network service - rsync
648 hostgroups: rsyncd-hosts
649 depends: process - xinetd
652 name: network service - rsync
655 depends: rietz:process - xinetd
659 name: process - nagios1
660 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nagios -C nagios -a '/usr/sbin/nagios -d /etc/nagios/nagios.cfg'"
663 name: process - nagios3
664 # it forks one instance to check, so make it -w 1:2
665 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'"
670 name: process - apache2 - master
671 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
672 hostgroups: apache2-hosts
674 name: process - apache2 - worker
675 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
676 hostgroups: apache2-hosts
677 depends: process - apache2 - master
679 name: network service - http
681 hostgroups: apache2-hosts
682 depends: process - apache2 - master
687 name: process - apache - master
688 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
689 hostgroups: apache1-hosts
691 name: process - apache - worker
692 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
693 hostgroups: apache1-hosts
694 depends: process - apache - master
696 name: network service - http
698 hostgroups: apache1-hosts
699 depends: process - apache - master
702 name: network service - http keyserver
703 check: dsa_check_http_port!11371
705 depends: process - apache - master
708 name: network service - https
711 depends: "process - apache2 - master"
712 normal_check_interval: 120
713 notification_interval: 120
715 name: network service - https cert
716 check: dsa_check_cert!443
718 depends: network service - https
719 normal_check_interval: 240
720 notification_interval: 240
723 name: process - named
724 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
725 hostgroups: bind9-hosts
727 name: network service - dns
729 hostgroups: bind9-hosts
730 depends: process - named
734 name: process - vsftp - listener
735 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
736 hostgroups: ftpd-hosts
738 name: process - vsftp - instance
739 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
740 hostgroups: ftpd-hosts
742 name: network service - ftp
744 hostgroups: ftpd-hosts
745 depends: process - vsftp - listener
749 name: process - debianqueued
750 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
755 name: process - postresql81 - master
756 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'"
757 hostgroups: postgres81-hosts
759 name: process - postresql81 - writer
760 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
761 hostgroups: postgres81-hosts
762 depends: process - postresql81 - master
764 name: process - postresql81 - buffer
765 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
766 hostgroups: postgres81-hosts
767 depends: process - postresql81 - master
769 name: process - postresql81 - collector
770 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
771 hostgroups: postgres81-hosts
772 depends: process - postresql81 - master
777 name: process - snmpd
778 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'"
783 name: process - buildd
784 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"