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, dl380, apache2-hosts, bind9-hosts
98 address: 192.25.206.59
100 hostgroups: computers, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
102 address: 192.25.206.10
104 hostgroups: computers, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
106 address: 192.25.206.16
108 hostgroups: computers, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts
111 address: 82.195.75.91
112 parents: gw-MAN-DA-debian
113 hostgroups: computers, syslog-ng-hosts, postfix-hosts, dl385
115 address: 82.195.75.98
116 parents: gw-MAN-DA-debian
117 hostgroups: computers, porterbox, sw-raid
120 address: 70.103.162.29
121 parents: gw-brainfood
122 hostgroups: computers, apache2-hosts, bind9-hosts
125 address: 128.148.34.103
127 hostgroups: computers, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts
130 address: 140.211.166.43
131 parents: gw-brown.edu
132 hostgroups: computers, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385
134 address: 140.211.166.44
136 hostgroups: secondary-IPs
139 address: 212.211.132.32
140 parents: gw-scanplus-villa
141 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
143 address: 212.211.132.250
144 parents: gw-scanplus-lobos
145 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
149 parents: gw-mit-csail
150 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
153 address: 194.109.137.218
155 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts
157 #############################
160 # hostgroups ircd and all are automatically defined
162 #############################
167 routing-infrastructure:
168 alias: Internet routers and friends
169 extinfo-icon_image: base/switch40.png
170 extinfo-icon_image_alt: router
173 alias: developer accessible porter machien
174 extinfo-icon_image: base/debian.png
175 extinfo-icon_image_alt: Debian GNU/Linux
176 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
179 alias: HP DL380 hosts
182 alias: HP DL385 hosts
185 alias: Hosts with Linux software raid
189 alias: hosts running syslog-ng instead of sysklogd
192 alias: hosts running postfix instead of exim
195 alias: hosts running apache2
198 alias: hosts running apache1
201 alias: hosts running bind9
204 alias: hosts running vsftpd
207 alias: hosts providing rsync services via xinetd
210 alias: hosts running postgres81
214 alias: secondary IP addresses
217 #############################
219 #############################
223 check: "check_ping!300.0,20%!600.0,40%"
226 ############ Services ############
229 ############ Disk Usage ############
232 name: disk usage - all
233 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
234 hostgroups: computers
236 name: disk usage on /
237 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
238 hostgroups: computers
240 name: disk usage on /boot
241 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
242 hosts: sperger, rietz, steffani
244 name: disk usage on /var
245 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
246 hosts: bartok, samosa, raff, lobos, villa, gluck
248 name: disk usage on /org
249 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
250 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel
252 name: disk usage on /org/scratch2
253 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
256 name: disk usage on /oldorg
257 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
260 name: disk usage on /tmp
261 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
262 hosts: samosa, raff, gluck
264 name: disk usage on /usr
265 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
266 hosts: samosa, raff, lobos, villa, gluck
268 name: disk usage on /home
269 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
272 ############ All Computers ############
275 # name: apt - security updates
276 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
277 # hostgroups: computers
278 # normal_check_interval: 480
279 # notification_interval: 480
280 # max_check_attempts: 4
281 # retry_check_interval: 12
285 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
286 hostgroups: computers
290 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
291 hostgroups: computers
294 name: processes - zombies
295 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
296 hostgroups: computers
299 name: processes - total
300 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
301 hostgroups: computers
304 name: swap usage - percent
305 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
306 hostgroups: computers
309 name: swap usage - mb
310 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
311 hostgroups: computers
314 name: process - getty
315 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
316 hostgroups: computers
320 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
321 hostgroups: computers
323 name: "network service - sshd"
325 hostgroups: computers
326 depends: process - sshd
327 normal_check_interval: 60
328 notification_interval: 60
331 name: network service - nrpe
332 check: check_tcp!5666
333 hostgroups: computers
334 max_check_attempts: -1
337 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'"
338 hostgroups: computers
339 depends: network service - nrpe
342 name: process - munin-node
343 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
344 hostgroups: computers
346 name: network service - munin-node
347 check: check_tcp!4949
348 hostgroups: computers
349 depends: process - munin-node
353 # 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'"
354 # 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'"
355 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
356 hostgroups: computers
358 name: network service - ntp
360 hostgroups: computers
361 depends: process - ntpd
365 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
366 hostgroups: computers
370 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
371 hostgroups: computers
375 name: process - syslog-ng
376 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'"
377 hostgroups: syslog-ng-hosts
380 name: process - syslogd
381 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
382 hostgroups: computers
383 excludehostgroups: syslog-ng-hosts
385 name: process - klogd
386 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
387 hostgroups: computers
388 excludehostgroups: syslog-ng-hosts
394 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
395 hostgroups: computers
396 excludehostgroups: postfix-hosts
397 excludehosts: master, rietz, merkel
399 name: process - exim - total
400 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
401 hostgroups: computers
402 excludehostgroups: postfix-hosts
403 excludehosts: master, rietz, merkel
406 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
407 hosts: master, rietz, merkel
410 name: process - clamav - clamd
411 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
412 hostgroups: computers
413 excludehostgroups: postfix-hosts
415 name: service - clamav
416 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
417 hostgroups: computers
418 excludehostgroups: postfix-hosts
419 depends: process - clamav - clamd
421 name: process - clamav - freshclam
422 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
423 hostgroups: computers
424 excludehostgroups: postfix-hosts
427 name: process - spamd - master
428 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'"
430 hostgroups: computers
431 excludehostgroups: postfix-hosts
434 name: process - spamd - child
435 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
436 hostgroups: computers
437 excludehostgroups: postfix-hosts
438 depends: process - spamd - master
442 name: process - spamd - master
443 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
446 name: process - spamd - child
447 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
452 name: process - greylistd
453 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
454 hostgroups: computers
455 excludehostgroups: postfix-hosts
459 name: process - postfix - master
460 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
461 hostgroups: postfix-hosts
463 name: process - postfix - qmgr
464 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
465 hostgroups: postfix-hosts
466 depends: process - postfix - master
468 # name: process - postfix - tlsmgr
469 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
470 # hostgroups: postfix-hosts
471 # depends: process - postfix - master
473 name: process - postfix - pickup
474 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
475 hostgroups: postfix-hosts
476 depends: process - postfix - master
478 name: process - postfix - anvil
479 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
480 hostgroups: postfix-hosts
481 depends: process - postfix - master
484 name: process - postfix - trivial-rewrite
485 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'"
486 hostgroups: postfix-hosts
487 depends: process - postfix - master
489 name: process - postfix - proxymap
490 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
491 hostgroups: postfix-hosts
492 depends: process - postfix - master
494 name: process - postfix - smtpd
495 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'"
496 hostgroups: postfix-hosts
497 depends: process - postfix - master
499 name: process - postfix - cleanup
500 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
501 hostgroups: postfix-hosts
502 depends: process - postfix - master
504 name: process - postfix - local
505 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
506 hostgroups: postfix-hosts
507 depends: process - postfix - master
512 name: network service - smtp
514 hostgroups: postfix-hosts
515 depends: process - postfix - master
517 name: network service - smtp
519 hostgroups: computers
520 excludehostgroups: postfix-hosts
521 depends: process - exim
526 name: process - uptimed
527 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
528 hostgroups: computers
531 name: process - irqbalance
532 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
533 hostgroups: computers
537 ############ Processes/Services that only run on some computers ############
542 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
546 name: process - sensord
547 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
552 name: process - mdadm monitor
553 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'"
557 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
562 name: process - cpqarrayd
563 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
564 hostgroups: dl385, dl380
566 name: RAID - arrayprobe
567 nrpe: "sudo /usr/bin/arrayprobe"
568 hostgroups: dl385, dl380
572 name: process - slapd
573 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'"
577 name: process - udevd
578 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
579 hosts: sperger, ries, steffani, merkel
582 name: process - acpid
583 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'"
584 hosts: ries, steffani
588 name: process - xinetd
589 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'"
591 hostgroups: rsyncd-hosts
594 name: network service - finger
597 depends: process - xinetd
600 name: network service - rsync
602 hostgroups: rsyncd-hosts
603 depends: process - xinetd
606 name: network service - rsync
609 depends: rietz:process - xinetd
613 name: process - nagios1
614 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'"
617 name: process - nagios3
618 # it forks one instance to check, so make it -w 1:2
619 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'"
624 name: process - apache2 - master
625 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
626 hostgroups: apache2-hosts
628 name: process - apache2 - worker
629 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
630 hostgroups: apache2-hosts
631 depends: process - apache2 - master
633 name: network service - http
635 hostgroups: apache2-hosts
636 depends: process - apache2 - master
641 name: process - apache - master
642 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
643 hostgroups: apache1-hosts
645 name: process - apache - worker
646 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
647 hostgroups: apache1-hosts
648 depends: process - apache - master
650 name: network service - http
652 hostgroups: apache1-hosts
653 depends: process - apache - master
656 name: network service - http keyserver
657 check: dsa_check_http_port!11371
659 depends: process - apache - master
662 name: network service - https
665 depends: "process - apache2 - master"
666 normal_check_interval: 120
667 notification_interval: 120
669 name: network service - https cert
670 check: dsa_check_cert!443
672 depends: network service - https
673 normal_check_interval: 240
674 notification_interval: 240
677 name: process - named
678 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
679 hostgroups: bind9-hosts
681 name: network service - dns
683 hostgroups: bind9-hosts
684 depends: process - named
688 name: process - vsftp - listener
689 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
690 hostgroups: ftpd-hosts
692 name: process - vsftp - instance
693 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
694 hostgroups: ftpd-hosts
696 name: network service - ftp
698 hostgroups: ftpd-hosts
699 depends: process - vsftp - listener
703 name: process - debianqueued
704 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
709 name: process - postresql81 - master
710 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'"
711 hostgroups: postgres81-hosts
713 name: process - postresql81 - writer
714 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
715 hostgroups: postgres81-hosts
716 depends: process - postresql81 - master
718 name: process - postresql81 - buffer
719 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
720 hostgroups: postgres81-hosts
721 depends: process - postresql81 - master
723 name: process - postresql81 - collector
724 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
725 hostgroups: postgres81-hosts
726 depends: process - postresql81 - master
731 name: process - snmpd
732 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'"