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
53 #############################
55 #############################
58 address: 82.195.75.126
60 hostgroups: routing-infrastructure
64 hostgroups: routing-infrastructure
68 hostgroups: routing-infrastructure
72 hostgroups: routing-infrastructure
74 address: 140.211.166.1
76 hostgroups: routing-infrastructure
78 address: 212.211.132.1
80 hostgroups: routing-infrastructure
82 address: 212.211.132.249
84 hostgroups: routing-infrastructure
88 hostgroups: routing-infrastructure
90 address: 194.109.137.217
92 hostgroups: routing-infrastructure
95 address: 192.25.206.57
96 hostgroups: computers, service, dl380, apache2-hosts, bind9-hosts
98 address: 192.25.206.59
100 hostgroups: computers, service, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
102 address: 192.25.206.10
104 hostgroups: computers, general, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
106 address: 192.25.206.16
108 hostgroups: computers, general, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts
110 address: 192.25.206.33
112 hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts
115 address: 82.195.75.91
116 parents: gw-MAN-DA-debian
117 hostgroups: computers, service, syslog-ng-hosts, postfix-hosts, dl385
119 address: 82.195.75.98
120 parents: gw-MAN-DA-debian
121 hostgroups: computers, porterbox, sw-raid
124 address: 70.103.162.29
125 parents: gw-brainfood
126 hostgroups: computers, general, apache2-hosts, bind9-hosts
129 address: 128.148.34.103
131 hostgroups: computers, service, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts
134 address: 140.211.166.43
135 parents: gw-brown.edu
136 hostgroups: computers, service, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385
138 address: 140.211.166.44
140 hostgroups: secondary-IPs
143 address: 212.211.132.32
144 parents: gw-scanplus-villa
145 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
147 address: 212.211.132.250
148 parents: gw-scanplus-lobos
149 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
153 parents: gw-mit-csail
154 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
157 address: 194.109.137.218
159 hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts
161 #############################
164 # hostgroups ircd and all are automatically defined
166 #############################
171 routing-infrastructure:
172 alias: Internet routers and friends
173 extinfo-icon_image: base/switch40.png
174 extinfo-icon_image_alt: router
177 alias: developer accessible porter machines
178 extinfo-icon_image: base/debian.png
179 extinfo-icon_image_alt: Debian GNU/Linux
180 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
182 alias: machines running services
183 extinfo-icon_image: base/debian.png
184 extinfo-icon_image_alt: Debian GNU/Linux
185 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
187 # alias: buildd systems
188 # extinfo-icon_image: base/debian.png
189 # extinfo-icon_image_alt: Debian GNU/Linux
190 # extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
192 alias: general purpose developer accessible machines
193 extinfo-icon_image: base/debian.png
194 extinfo-icon_image_alt: Debian GNU/Linux
195 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
198 alias: HP DL380 hosts
201 alias: HP DL385 hosts
204 alias: Hosts with Linux software raid
208 alias: hosts running syslog-ng instead of sysklogd
211 alias: hosts running postfix instead of exim
214 alias: hosts running apache2
217 alias: hosts running apache1
220 alias: hosts running bind9
223 alias: hosts running vsftpd
226 alias: hosts providing rsync services via xinetd
229 alias: hosts running postgres81
233 alias: secondary IP addresses
236 #############################
238 #############################
242 check: "check_ping!300.0,20%!600.0,40%"
245 ############ Services ############
248 ############ Disk Usage ############
251 name: disk usage - all
252 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
253 hostgroups: computers
255 name: disk usage on /
256 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
257 hostgroups: computers
259 name: disk usage on /boot
260 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
261 hosts: sperger, rietz, steffani
263 name: disk usage on /var
264 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
265 hosts: bartok, samosa, raff, lobos, villa, gluck
267 name: disk usage on /org
268 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
269 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel
271 name: disk usage on /org/scratch2
272 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
275 name: disk usage on /oldorg
276 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
279 name: disk usage on /tmp
280 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
281 hosts: samosa, raff, gluck
283 name: disk usage on /usr
284 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
285 hosts: samosa, raff, lobos, villa, gluck
287 name: disk usage on /home
288 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
291 ############ All Computers ############
294 # name: apt - security updates
295 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
296 # hostgroups: computers
297 # normal_check_interval: 480
298 # notification_interval: 480
299 # max_check_attempts: 4
300 # retry_check_interval: 12
304 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
305 hostgroups: computers
309 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
310 hostgroups: computers
313 name: processes - zombies
314 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
315 hostgroups: computers
318 name: processes - total
319 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
320 hostgroups: computers
323 name: swap usage - percent
324 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
325 hostgroups: computers
328 name: swap usage - mb
329 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
330 hostgroups: computers
333 name: process - getty
334 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
335 hostgroups: computers
339 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
340 hostgroups: computers
342 name: "network service - sshd"
344 hostgroups: computers
345 depends: process - sshd
346 normal_check_interval: 60
347 notification_interval: 60
350 name: network service - nrpe
351 check: check_tcp!5666
352 hostgroups: computers
353 max_check_attempts: -1
356 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'"
357 hostgroups: computers
358 depends: network service - nrpe
361 name: process - munin-node
362 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
363 hostgroups: computers
365 name: network service - munin-node
366 check: check_tcp!4949
367 hostgroups: computers
368 depends: process - munin-node
372 # 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'"
373 # 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'"
374 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
375 hostgroups: computers
377 name: network service - ntp
379 hostgroups: computers
380 depends: process - ntpd
384 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
385 hostgroups: computers
389 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
390 hostgroups: computers
394 name: process - syslog-ng
395 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'"
396 hostgroups: syslog-ng-hosts
399 name: process - syslogd
400 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
401 hostgroups: computers
402 excludehostgroups: syslog-ng-hosts
404 name: process - klogd
405 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
406 hostgroups: computers
407 excludehostgroups: syslog-ng-hosts
413 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
414 hostgroups: computers
415 excludehostgroups: postfix-hosts
416 excludehosts: master, rietz, merkel
418 name: process - exim - total
419 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
420 hostgroups: computers
421 excludehostgroups: postfix-hosts
422 excludehosts: master, rietz, merkel
425 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
426 hosts: master, rietz, merkel
429 name: process - clamav - clamd
430 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
431 hostgroups: computers
432 excludehostgroups: postfix-hosts
434 name: service - clamav
435 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
436 hostgroups: computers
437 excludehostgroups: postfix-hosts
438 depends: process - clamav - clamd
440 name: process - clamav - freshclam
441 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
442 hostgroups: computers
443 excludehostgroups: postfix-hosts
446 name: process - spamd - master
447 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'"
449 hostgroups: computers
450 excludehostgroups: postfix-hosts
453 name: process - spamd - child
454 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
455 hostgroups: computers
456 excludehostgroups: postfix-hosts
457 depends: process - spamd - master
461 name: process - spamd - master
462 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
465 name: process - spamd - child
466 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
471 name: process - greylistd
472 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
473 hostgroups: computers
474 excludehostgroups: postfix-hosts
478 name: process - postfix - master
479 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
480 hostgroups: postfix-hosts
482 name: process - postfix - qmgr
483 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
484 hostgroups: postfix-hosts
485 depends: process - postfix - master
487 # name: process - postfix - tlsmgr
488 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
489 # hostgroups: postfix-hosts
490 # depends: process - postfix - master
492 name: process - postfix - pickup
493 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
494 hostgroups: postfix-hosts
495 depends: process - postfix - master
497 name: process - postfix - anvil
498 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
499 hostgroups: postfix-hosts
500 depends: process - postfix - master
503 name: process - postfix - trivial-rewrite
504 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'"
505 hostgroups: postfix-hosts
506 depends: process - postfix - master
508 name: process - postfix - proxymap
509 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
510 hostgroups: postfix-hosts
511 depends: process - postfix - master
513 name: process - postfix - smtpd
514 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'"
515 hostgroups: postfix-hosts
516 depends: process - postfix - master
518 name: process - postfix - cleanup
519 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
520 hostgroups: postfix-hosts
521 depends: process - postfix - master
523 name: process - postfix - local
524 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
525 hostgroups: postfix-hosts
526 depends: process - postfix - master
531 name: network service - smtp
533 hostgroups: postfix-hosts
534 depends: process - postfix - master
536 name: network service - smtp
538 hostgroups: computers
539 excludehostgroups: postfix-hosts
540 depends: process - exim
545 name: process - uptimed
546 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
547 hostgroups: computers
550 name: process - irqbalance
551 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
552 hostgroups: computers
556 ############ Processes/Services that only run on some computers ############
561 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
565 name: process - sensord
566 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
571 name: process - mdadm monitor
572 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'"
576 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
581 name: process - cpqarrayd
582 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
583 hostgroups: dl385, dl380
585 name: RAID - arrayprobe
586 nrpe: "sudo /usr/bin/arrayprobe"
587 hostgroups: dl385, dl380
591 name: process - slapd
592 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'"
596 name: process - udevd
597 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
598 hosts: sperger, ries, steffani, merkel, spohr
601 name: process - acpid
602 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'"
603 hosts: ries, steffani
607 name: process - xinetd
608 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'"
610 hostgroups: rsyncd-hosts
613 name: network service - finger
616 depends: process - xinetd
619 name: network service - rsync
621 hostgroups: rsyncd-hosts
622 depends: process - xinetd
625 name: network service - rsync
628 depends: rietz:process - xinetd
632 name: process - nagios1
633 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'"
636 name: process - nagios3
637 # it forks one instance to check, so make it -w 1:2
638 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'"
643 name: process - apache2 - master
644 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
645 hostgroups: apache2-hosts
647 name: process - apache2 - worker
648 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
649 hostgroups: apache2-hosts
650 depends: process - apache2 - master
652 name: network service - http
654 hostgroups: apache2-hosts
655 depends: process - apache2 - master
660 name: process - apache - master
661 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
662 hostgroups: apache1-hosts
664 name: process - apache - worker
665 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
666 hostgroups: apache1-hosts
667 depends: process - apache - master
669 name: network service - http
671 hostgroups: apache1-hosts
672 depends: process - apache - master
675 name: network service - http keyserver
676 check: dsa_check_http_port!11371
678 depends: process - apache - master
681 name: network service - https
684 depends: "process - apache2 - master"
685 normal_check_interval: 120
686 notification_interval: 120
688 name: network service - https cert
689 check: dsa_check_cert!443
691 depends: network service - https
692 normal_check_interval: 240
693 notification_interval: 240
696 name: process - named
697 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
698 hostgroups: bind9-hosts
700 name: network service - dns
702 hostgroups: bind9-hosts
703 depends: process - named
707 name: process - vsftp - listener
708 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
709 hostgroups: ftpd-hosts
711 name: process - vsftp - instance
712 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
713 hostgroups: ftpd-hosts
715 name: network service - ftp
717 hostgroups: ftpd-hosts
718 depends: process - vsftp - listener
722 name: process - debianqueued
723 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
728 name: process - postresql81 - master
729 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'"
730 hostgroups: postgres81-hosts
732 name: process - postresql81 - writer
733 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
734 hostgroups: postgres81-hosts
735 depends: process - postresql81 - master
737 name: process - postresql81 - buffer
738 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
739 hostgroups: postgres81-hosts
740 depends: process - postresql81 - master
742 name: process - postresql81 - collector
743 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
744 hostgroups: postgres81-hosts
745 depends: process - postresql81 - master
750 name: process - snmpd
751 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'"