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
50 #############################
52 #############################
55 address: 82.195.75.126
57 hostgroups: routing-infrastructure
61 hostgroups: routing-infrastructure
65 hostgroups: routing-infrastructure
69 hostgroups: routing-infrastructure
71 address: 140.211.166.1
73 hostgroups: routing-infrastructure
75 address: 212.211.132.1
77 hostgroups: routing-infrastructure
79 address: 212.211.132.249
81 hostgroups: routing-infrastructure
85 hostgroups: routing-infrastructure
87 address: 194.109.137.217
89 hostgroups: routing-infrastructure
91 address: 128.101.240.222
93 hostgroups: routing-infrastructure
96 address: 192.25.206.57
97 hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts
99 address: 192.25.206.59
101 hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
103 address: 192.25.206.10
105 hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
107 address: 192.25.206.16
109 hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts
111 address: 192.25.206.33
113 hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
116 address: 82.195.75.91
117 parents: gw-MAN-DA-debian
118 hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
120 address: 82.195.75.98
121 parents: gw-MAN-DA-debian
122 hostgroups: computers, porterbox, sw-raid
124 address: 82.195.75.86
125 parents: gw-MAN-DA-debian
126 hostgroups: computers, porterbox, sw-raid
128 address: 82.195.75.87
129 parents: gw-MAN-DA-debian
130 hostgroups: computers, buildd, sw-raid
133 address: 70.103.162.29
134 parents: gw-brainfood
135 hostgroups: computers, general, apache2-hosts, bind9-hosts
138 address: 128.148.34.103
140 hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts
143 address: 140.211.166.43
144 parents: gw-brown.edu
145 hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385
147 address: 140.211.166.44
149 hostgroups: secondary-IPs
152 address: 212.211.132.32
153 parents: gw-scanplus-villa
154 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
156 address: 212.211.132.250
157 parents: gw-scanplus-lobos
158 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
162 parents: gw-mit-csail
163 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
166 address: 194.109.137.218
168 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts
171 address: 128.101.240.212
173 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
175 #############################
178 # hostgroups ircd and all are automatically defined
180 #############################
185 routing-infrastructure:
186 alias: Internet routers and friends
187 extinfo-icon_image: base/switch40.png
188 extinfo-icon_image_alt: router
191 alias: developer accessible porter machines
192 extinfo-icon_image: base/debian.png
193 extinfo-icon_image_alt: Debian GNU/Linux
194 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
196 alias: machines running services
197 extinfo-icon_image: base/debian.png
198 extinfo-icon_image_alt: Debian GNU/Linux
199 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
201 alias: buildd systems
202 extinfo-icon_image: base/debian.png
203 extinfo-icon_image_alt: Debian GNU/Linux
204 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
206 alias: general purpose developer accessible machines
207 extinfo-icon_image: base/debian.png
208 extinfo-icon_image_alt: Debian GNU/Linux
209 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
212 alias: HP DL380 hosts
215 alias: HP DL385 hosts
218 alias: Hosts with Linux software raid
222 alias: hosts running syslog-ng instead of sysklogd
225 alias: hosts running postfix instead of exim
228 alias: hosts running apache2
231 alias: hosts running apache1
234 alias: hosts running bind9
237 alias: hosts running vsftpd
240 alias: hosts providing rsync services via xinetd
243 alias: hosts running postgres81
247 alias: secondary IP addresses
250 #############################
252 #############################
256 check: "check_ping!300.0,20%!600.0,40%"
259 ############ Services ############
262 ############ Disk Usage ############
265 name: disk usage - all
266 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
267 hostgroups: computers
269 name: disk usage on /
270 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
271 hostgroups: computers
273 name: disk usage on /boot
274 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
275 hosts: sperger, rietz, steffani
277 name: disk usage on /var
278 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
279 hosts: bartok, samosa, raff, lobos, villa, gluck, saens
281 name: disk usage on /org
282 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
283 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens
285 name: disk usage on /srv
286 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv"
287 hosts: agricola, arcadelt
289 name: disk usage on /org/scratch2
290 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
293 name: disk usage on /oldorg
294 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
297 name: disk usage on /tmp
298 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
299 hosts: samosa, raff, gluck, saens
301 name: disk usage on /usr
302 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
303 hosts: samosa, raff, lobos, villa, gluck, saens
305 name: disk usage on /home
306 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
309 ############ All Computers ############
312 # name: apt - security updates
313 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
314 # hostgroups: computers
315 # normal_check_interval: 480
316 # notification_interval: 480
317 # max_check_attempts: 4
318 # retry_check_interval: 12
322 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
323 hostgroups: computers
327 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
328 hostgroups: computers
331 name: processes - zombies
332 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
333 hostgroups: computers
336 name: processes - total
337 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
338 hostgroups: computers
341 name: swap usage - percent
342 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
343 hostgroups: computers
346 name: swap usage - mb
347 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
348 hostgroups: computers
351 name: process - getty
352 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
353 hostgroups: computers
357 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
358 hostgroups: computers
360 name: "network service - sshd"
362 hostgroups: computers
363 depends: process - sshd
364 normal_check_interval: 60
365 notification_interval: 60
368 name: network service - nrpe
369 check: check_tcp!5666
370 hostgroups: computers
371 max_check_attempts: -1
374 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'"
375 hostgroups: computers
376 depends: network service - nrpe
379 name: process - munin-node
380 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
381 hostgroups: computers
383 name: network service - munin-node
384 check: check_tcp!4949
385 hostgroups: computers
386 depends: process - munin-node
390 # 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'"
391 # 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'"
392 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
393 hostgroups: computers
395 name: network service - ntp
397 hostgroups: computers
398 depends: process - ntpd
402 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
403 hostgroups: computers
407 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
408 hostgroups: computers
412 name: process - syslog-ng
413 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'"
414 hostgroups: syslog-ng-hosts
417 name: process - syslogd
418 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
419 hostgroups: computers
420 excludehostgroups: syslog-ng-hosts
422 name: process - klogd
423 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
424 hostgroups: computers
425 excludehostgroups: syslog-ng-hosts
431 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
432 hostgroups: computers
433 excludehostgroups: postfix-hosts
434 excludehosts: master, rietz, merkel
436 name: process - exim - total
437 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
438 hostgroups: computers
439 excludehostgroups: postfix-hosts
440 excludehosts: master, rietz, merkel
443 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
444 hosts: master, rietz, merkel
447 name: process - clamav - clamd
448 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
449 hostgroups: computers
450 excludehostgroups: postfix-hosts
452 name: service - clamav
453 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
454 hostgroups: computers
455 excludehostgroups: postfix-hosts
456 depends: process - clamav - clamd
458 name: process - clamav - freshclam
459 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
460 hostgroups: computers
461 excludehostgroups: postfix-hosts
464 name: process - spamd - master
465 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'"
467 hostgroups: computers
468 excludehostgroups: postfix-hosts
471 name: process - spamd - child
472 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
473 hostgroups: computers
474 excludehostgroups: postfix-hosts
475 depends: process - spamd - master
479 name: process - spamd - master
480 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
483 name: process - spamd - child
484 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
489 name: process - greylistd
490 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
491 hostgroups: computers
492 excludehostgroups: postfix-hosts
496 name: process - postfix - master
497 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
498 hostgroups: postfix-hosts
500 name: process - postfix - qmgr
501 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
502 hostgroups: postfix-hosts
503 depends: process - postfix - master
505 # name: process - postfix - tlsmgr
506 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
507 # hostgroups: postfix-hosts
508 # depends: process - postfix - master
510 name: process - postfix - pickup
511 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
512 hostgroups: postfix-hosts
513 depends: process - postfix - master
515 name: process - postfix - anvil
516 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
517 hostgroups: postfix-hosts
518 depends: process - postfix - master
521 name: process - postfix - trivial-rewrite
522 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'"
523 hostgroups: postfix-hosts
524 depends: process - postfix - master
526 name: process - postfix - proxymap
527 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
528 hostgroups: postfix-hosts
529 depends: process - postfix - master
531 name: process - postfix - smtpd
532 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'"
533 hostgroups: postfix-hosts
534 depends: process - postfix - master
536 name: process - postfix - cleanup
537 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
538 hostgroups: postfix-hosts
539 depends: process - postfix - master
541 name: process - postfix - local
542 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
543 hostgroups: postfix-hosts
544 depends: process - postfix - master
549 name: network service - smtp
551 hostgroups: postfix-hosts
552 depends: process - postfix - master
554 name: network service - smtp
556 hostgroups: computers
557 excludehostgroups: postfix-hosts
558 depends: process - exim
563 name: process - uptimed
564 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
565 hostgroups: computers
568 name: process - irqbalance
569 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
570 hostgroups: computers
571 excludehosts: arcadelt, agricola
575 ############ Processes/Services that only run on some computers ############
580 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
584 name: process - sensord
585 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
590 name: process - mdadm monitor
591 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'"
595 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
600 name: process - cpqarrayd
601 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
602 hostgroups: dl385, dl380
604 name: RAID - arrayprobe
605 nrpe: "sudo /usr/bin/arrayprobe"
606 hostgroups: dl385, dl380
610 name: process - slapd
611 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'"
615 name: process - udevd
616 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
617 hosts: sperger, ries, steffani, merkel, spohr
620 name: process - acpid
621 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'"
622 hosts: ries, steffani
626 name: process - xinetd
627 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'"
629 hostgroups: rsyncd-hosts
632 name: network service - finger
635 depends: process - xinetd
638 name: network service - rsync
640 hostgroups: rsyncd-hosts
641 depends: process - xinetd
644 name: network service - rsync
647 depends: rietz:process - xinetd
651 name: process - nagios1
652 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'"
655 name: process - nagios3
656 # it forks one instance to check, so make it -w 1:2
657 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'"
662 name: process - apache2 - master
663 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
664 hostgroups: apache2-hosts
666 name: process - apache2 - worker
667 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
668 hostgroups: apache2-hosts
669 depends: process - apache2 - master
671 name: network service - http
673 hostgroups: apache2-hosts
674 depends: process - apache2 - master
679 name: process - apache - master
680 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
681 hostgroups: apache1-hosts
683 name: process - apache - worker
684 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
685 hostgroups: apache1-hosts
686 depends: process - apache - master
688 name: network service - http
690 hostgroups: apache1-hosts
691 depends: process - apache - master
694 name: network service - http keyserver
695 check: dsa_check_http_port!11371
697 depends: process - apache - master
700 name: network service - https
703 depends: "process - apache2 - master"
704 normal_check_interval: 120
705 notification_interval: 120
707 name: network service - https cert
708 check: dsa_check_cert!443
710 depends: network service - https
711 normal_check_interval: 240
712 notification_interval: 240
715 name: process - named
716 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
717 hostgroups: bind9-hosts
719 name: network service - dns
721 hostgroups: bind9-hosts
722 depends: process - named
726 name: process - vsftp - listener
727 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
728 hostgroups: ftpd-hosts
730 name: process - vsftp - instance
731 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
732 hostgroups: ftpd-hosts
734 name: network service - ftp
736 hostgroups: ftpd-hosts
737 depends: process - vsftp - listener
741 name: process - debianqueued
742 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
747 name: process - postresql81 - master
748 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'"
749 hostgroups: postgres81-hosts
751 name: process - postresql81 - writer
752 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
753 hostgroups: postgres81-hosts
754 depends: process - postresql81 - master
756 name: process - postresql81 - buffer
757 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
758 hostgroups: postgres81-hosts
759 depends: process - postresql81 - master
761 name: process - postresql81 - collector
762 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
763 hostgroups: postgres81-hosts
764 depends: process - postresql81 - master
769 name: process - snmpd
770 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'"
775 name: process - buildd
776 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'"