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
52 #############################
54 #############################
57 address: 82.195.75.126
59 hostgroups: routing-infrastructure
63 hostgroups: routing-infrastructure
67 hostgroups: routing-infrastructure
71 hostgroups: routing-infrastructure
73 address: 140.211.166.1
75 hostgroups: routing-infrastructure
77 address: 212.211.132.1
79 hostgroups: routing-infrastructure
81 address: 212.211.132.249
83 hostgroups: routing-infrastructure
87 hostgroups: routing-infrastructure
89 address: 194.109.137.217
91 hostgroups: routing-infrastructure
93 address: 128.101.240.222
95 hostgroups: routing-infrastructure
98 address: 192.25.206.57
99 hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts
101 address: 192.25.206.59
103 hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
105 address: 192.25.206.10
107 hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
109 address: 192.25.206.16
111 hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts
113 address: 192.25.206.33
115 hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
118 address: 82.195.75.91
119 parents: gw-MAN-DA-debian
120 hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
122 address: 82.195.75.98
123 parents: gw-MAN-DA-debian
124 hostgroups: computers, porterbox, sw-raid
127 address: 70.103.162.29
128 parents: gw-brainfood
129 hostgroups: computers, general, apache2-hosts, bind9-hosts
132 address: 128.148.34.103
134 hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts
137 address: 140.211.166.43
138 parents: gw-brown.edu
139 hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385
141 address: 140.211.166.44
143 hostgroups: secondary-IPs
146 address: 212.211.132.32
147 parents: gw-scanplus-villa
148 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
150 address: 212.211.132.250
151 parents: gw-scanplus-lobos
152 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
156 parents: gw-mit-csail
157 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
160 address: 194.109.137.218
162 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts
165 address: 128.101.240.212
167 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
169 #############################
172 # hostgroups ircd and all are automatically defined
174 #############################
179 routing-infrastructure:
180 alias: Internet routers and friends
181 extinfo-icon_image: base/switch40.png
182 extinfo-icon_image_alt: router
185 alias: developer accessible porter machines
186 extinfo-icon_image: base/debian.png
187 extinfo-icon_image_alt: Debian GNU/Linux
188 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
190 alias: machines running services
191 extinfo-icon_image: base/debian.png
192 extinfo-icon_image_alt: Debian GNU/Linux
193 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
195 # alias: buildd systems
196 # extinfo-icon_image: base/debian.png
197 # extinfo-icon_image_alt: Debian GNU/Linux
198 # extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
200 alias: general purpose developer accessible machines
201 extinfo-icon_image: base/debian.png
202 extinfo-icon_image_alt: Debian GNU/Linux
203 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
206 alias: HP DL380 hosts
209 alias: HP DL385 hosts
212 alias: Hosts with Linux software raid
216 alias: hosts running syslog-ng instead of sysklogd
219 alias: hosts running postfix instead of exim
222 alias: hosts running apache2
225 alias: hosts running apache1
228 alias: hosts running bind9
231 alias: hosts running vsftpd
234 alias: hosts providing rsync services via xinetd
237 alias: hosts running postgres81
241 alias: secondary IP addresses
244 #############################
246 #############################
250 check: "check_ping!300.0,20%!600.0,40%"
253 ############ Services ############
256 ############ Disk Usage ############
259 name: disk usage - all
260 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
261 hostgroups: computers
263 name: disk usage on /
264 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
265 hostgroups: computers
267 name: disk usage on /boot
268 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
269 hosts: sperger, rietz, steffani
271 name: disk usage on /var
272 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
273 hosts: bartok, samosa, raff, lobos, villa, gluck, saens
275 name: disk usage on /org
276 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
277 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel, saens
279 name: disk usage on /org/scratch2
280 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
283 name: disk usage on /oldorg
284 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
287 name: disk usage on /tmp
288 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
289 hosts: samosa, raff, gluck, saens
291 name: disk usage on /usr
292 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
293 hosts: samosa, raff, lobos, villa, gluck, saens
295 name: disk usage on /home
296 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
299 ############ All Computers ############
302 # name: apt - security updates
303 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
304 # hostgroups: computers
305 # normal_check_interval: 480
306 # notification_interval: 480
307 # max_check_attempts: 4
308 # retry_check_interval: 12
312 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
313 hostgroups: computers
317 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
318 hostgroups: computers
321 name: processes - zombies
322 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
323 hostgroups: computers
326 name: processes - total
327 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
328 hostgroups: computers
331 name: swap usage - percent
332 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
333 hostgroups: computers
336 name: swap usage - mb
337 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
338 hostgroups: computers
341 name: process - getty
342 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
343 hostgroups: computers
347 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
348 hostgroups: computers
350 name: "network service - sshd"
352 hostgroups: computers
353 depends: process - sshd
354 normal_check_interval: 60
355 notification_interval: 60
358 name: network service - nrpe
359 check: check_tcp!5666
360 hostgroups: computers
361 max_check_attempts: -1
364 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'"
365 hostgroups: computers
366 depends: network service - nrpe
369 name: process - munin-node
370 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
371 hostgroups: computers
373 name: network service - munin-node
374 check: check_tcp!4949
375 hostgroups: computers
376 depends: process - munin-node
380 # 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'"
381 # 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'"
382 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
383 hostgroups: computers
385 name: network service - ntp
387 hostgroups: computers
388 depends: process - ntpd
392 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
393 hostgroups: computers
397 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
398 hostgroups: computers
402 name: process - syslog-ng
403 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'"
404 hostgroups: syslog-ng-hosts
407 name: process - syslogd
408 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
409 hostgroups: computers
410 excludehostgroups: syslog-ng-hosts
412 name: process - klogd
413 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
414 hostgroups: computers
415 excludehostgroups: syslog-ng-hosts
421 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
422 hostgroups: computers
423 excludehostgroups: postfix-hosts
424 excludehosts: master, rietz, merkel
426 name: process - exim - total
427 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
428 hostgroups: computers
429 excludehostgroups: postfix-hosts
430 excludehosts: master, rietz, merkel
433 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
434 hosts: master, rietz, merkel
437 name: process - clamav - clamd
438 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
439 hostgroups: computers
440 excludehostgroups: postfix-hosts
442 name: service - clamav
443 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
444 hostgroups: computers
445 excludehostgroups: postfix-hosts
446 depends: process - clamav - clamd
448 name: process - clamav - freshclam
449 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
450 hostgroups: computers
451 excludehostgroups: postfix-hosts
454 name: process - spamd - master
455 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'"
457 hostgroups: computers
458 excludehostgroups: postfix-hosts
461 name: process - spamd - child
462 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
463 hostgroups: computers
464 excludehostgroups: postfix-hosts
465 depends: process - spamd - master
469 name: process - spamd - master
470 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
473 name: process - spamd - child
474 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
479 name: process - greylistd
480 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
481 hostgroups: computers
482 excludehostgroups: postfix-hosts
486 name: process - postfix - master
487 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
488 hostgroups: postfix-hosts
490 name: process - postfix - qmgr
491 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
492 hostgroups: postfix-hosts
493 depends: process - postfix - master
495 # name: process - postfix - tlsmgr
496 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
497 # hostgroups: postfix-hosts
498 # depends: process - postfix - master
500 name: process - postfix - pickup
501 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
502 hostgroups: postfix-hosts
503 depends: process - postfix - master
505 name: process - postfix - anvil
506 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
507 hostgroups: postfix-hosts
508 depends: process - postfix - master
511 name: process - postfix - trivial-rewrite
512 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'"
513 hostgroups: postfix-hosts
514 depends: process - postfix - master
516 name: process - postfix - proxymap
517 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
518 hostgroups: postfix-hosts
519 depends: process - postfix - master
521 name: process - postfix - smtpd
522 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'"
523 hostgroups: postfix-hosts
524 depends: process - postfix - master
526 name: process - postfix - cleanup
527 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
528 hostgroups: postfix-hosts
529 depends: process - postfix - master
531 name: process - postfix - local
532 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
533 hostgroups: postfix-hosts
534 depends: process - postfix - master
539 name: network service - smtp
541 hostgroups: postfix-hosts
542 depends: process - postfix - master
544 name: network service - smtp
546 hostgroups: computers
547 excludehostgroups: postfix-hosts
548 depends: process - exim
553 name: process - uptimed
554 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
555 hostgroups: computers
558 name: process - irqbalance
559 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
560 hostgroups: computers
564 ############ Processes/Services that only run on some computers ############
569 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
573 name: process - sensord
574 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
579 name: process - mdadm monitor
580 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'"
584 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
589 name: process - cpqarrayd
590 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
591 hostgroups: dl385, dl380
593 name: RAID - arrayprobe
594 nrpe: "sudo /usr/bin/arrayprobe"
595 hostgroups: dl385, dl380
599 name: process - slapd
600 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'"
604 name: process - udevd
605 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
606 hosts: sperger, ries, steffani, merkel, spohr
609 name: process - acpid
610 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'"
611 hosts: ries, steffani
615 name: process - xinetd
616 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'"
618 hostgroups: rsyncd-hosts
621 name: network service - finger
624 depends: process - xinetd
627 name: network service - rsync
629 hostgroups: rsyncd-hosts
630 depends: process - xinetd
633 name: network service - rsync
636 depends: rietz:process - xinetd
640 name: process - nagios1
641 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'"
644 name: process - nagios3
645 # it forks one instance to check, so make it -w 1:2
646 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'"
651 name: process - apache2 - master
652 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
653 hostgroups: apache2-hosts
655 name: process - apache2 - worker
656 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
657 hostgroups: apache2-hosts
658 depends: process - apache2 - master
660 name: network service - http
662 hostgroups: apache2-hosts
663 depends: process - apache2 - master
668 name: process - apache - master
669 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
670 hostgroups: apache1-hosts
672 name: process - apache - worker
673 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
674 hostgroups: apache1-hosts
675 depends: process - apache - master
677 name: network service - http
679 hostgroups: apache1-hosts
680 depends: process - apache - master
683 name: network service - http keyserver
684 check: dsa_check_http_port!11371
686 depends: process - apache - master
689 name: network service - https
692 depends: "process - apache2 - master"
693 normal_check_interval: 120
694 notification_interval: 120
696 name: network service - https cert
697 check: dsa_check_cert!443
699 depends: network service - https
700 normal_check_interval: 240
701 notification_interval: 240
704 name: process - named
705 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
706 hostgroups: bind9-hosts
708 name: network service - dns
710 hostgroups: bind9-hosts
711 depends: process - named
715 name: process - vsftp - listener
716 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
717 hostgroups: ftpd-hosts
719 name: process - vsftp - instance
720 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
721 hostgroups: ftpd-hosts
723 name: network service - ftp
725 hostgroups: ftpd-hosts
726 depends: process - vsftp - listener
730 name: process - debianqueued
731 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
736 name: process - postresql81 - master
737 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'"
738 hostgroups: postgres81-hosts
740 name: process - postresql81 - writer
741 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
742 hostgroups: postgres81-hosts
743 depends: process - postresql81 - master
745 name: process - postresql81 - buffer
746 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
747 hostgroups: postgres81-hosts
748 depends: process - postresql81 - master
750 name: process - postresql81 - collector
751 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
752 hostgroups: postgres81-hosts
753 depends: process - postresql81 - master
758 name: process - snmpd
759 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'"