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
110 address: 192.25.206.33
112 hostgroups: computers, dl380, apache2-hosts, postgres81-hosts
115 address: 82.195.75.91
116 parents: gw-MAN-DA-debian
117 hostgroups: computers, 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, apache2-hosts, bind9-hosts
129 address: 128.148.34.103
131 hostgroups: computers, 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, 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, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
147 address: 212.211.132.250
148 parents: gw-scanplus-lobos
149 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
153 parents: gw-mit-csail
154 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
157 address: 194.109.137.218
159 hostgroups: computers, 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 machien
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
183 alias: HP DL380 hosts
186 alias: HP DL385 hosts
189 alias: Hosts with Linux software raid
193 alias: hosts running syslog-ng instead of sysklogd
196 alias: hosts running postfix instead of exim
199 alias: hosts running apache2
202 alias: hosts running apache1
205 alias: hosts running bind9
208 alias: hosts running vsftpd
211 alias: hosts providing rsync services via xinetd
214 alias: hosts running postgres81
218 alias: secondary IP addresses
221 #############################
223 #############################
227 check: "check_ping!300.0,20%!600.0,40%"
230 ############ Services ############
233 ############ Disk Usage ############
236 name: disk usage - all
237 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
238 hostgroups: computers
240 name: disk usage on /
241 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
242 hostgroups: computers
244 name: disk usage on /boot
245 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
246 hosts: sperger, rietz, steffani
248 name: disk usage on /var
249 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
250 hosts: bartok, samosa, raff, lobos, villa, gluck
252 name: disk usage on /org
253 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
254 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel
256 name: disk usage on /org/scratch2
257 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
260 name: disk usage on /oldorg
261 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
264 name: disk usage on /tmp
265 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
266 hosts: samosa, raff, gluck
268 name: disk usage on /usr
269 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
270 hosts: samosa, raff, lobos, villa, gluck
272 name: disk usage on /home
273 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
276 ############ All Computers ############
279 # name: apt - security updates
280 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
281 # hostgroups: computers
282 # normal_check_interval: 480
283 # notification_interval: 480
284 # max_check_attempts: 4
285 # retry_check_interval: 12
289 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
290 hostgroups: computers
294 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
295 hostgroups: computers
298 name: processes - zombies
299 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
300 hostgroups: computers
303 name: processes - total
304 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
305 hostgroups: computers
308 name: swap usage - percent
309 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
310 hostgroups: computers
313 name: swap usage - mb
314 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
315 hostgroups: computers
318 name: process - getty
319 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
320 hostgroups: computers
324 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
325 hostgroups: computers
327 name: "network service - sshd"
329 hostgroups: computers
330 depends: process - sshd
331 normal_check_interval: 60
332 notification_interval: 60
335 name: network service - nrpe
336 check: check_tcp!5666
337 hostgroups: computers
338 max_check_attempts: -1
341 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'"
342 hostgroups: computers
343 depends: network service - nrpe
346 name: process - munin-node
347 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
348 hostgroups: computers
350 name: network service - munin-node
351 check: check_tcp!4949
352 hostgroups: computers
353 depends: process - munin-node
357 # 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'"
358 # 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'"
359 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
360 hostgroups: computers
362 name: network service - ntp
364 hostgroups: computers
365 depends: process - ntpd
369 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
370 hostgroups: computers
374 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
375 hostgroups: computers
379 name: process - syslog-ng
380 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'"
381 hostgroups: syslog-ng-hosts
384 name: process - syslogd
385 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
386 hostgroups: computers
387 excludehostgroups: syslog-ng-hosts
389 name: process - klogd
390 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
391 hostgroups: computers
392 excludehostgroups: syslog-ng-hosts
398 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
399 hostgroups: computers
400 excludehostgroups: postfix-hosts
401 excludehosts: master, rietz, merkel
403 name: process - exim - total
404 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
405 hostgroups: computers
406 excludehostgroups: postfix-hosts
407 excludehosts: master, rietz, merkel
410 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
411 hosts: master, rietz, merkel
414 name: process - clamav - clamd
415 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
416 hostgroups: computers
417 excludehostgroups: postfix-hosts
419 name: service - clamav
420 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
421 hostgroups: computers
422 excludehostgroups: postfix-hosts
423 depends: process - clamav - clamd
425 name: process - clamav - freshclam
426 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
427 hostgroups: computers
428 excludehostgroups: postfix-hosts
431 name: process - spamd - master
432 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'"
434 hostgroups: computers
435 excludehostgroups: postfix-hosts
438 name: process - spamd - child
439 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
440 hostgroups: computers
441 excludehostgroups: postfix-hosts
442 depends: process - spamd - master
446 name: process - spamd - master
447 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
450 name: process - spamd - child
451 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
456 name: process - greylistd
457 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
458 hostgroups: computers
459 excludehostgroups: postfix-hosts
463 name: process - postfix - master
464 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
465 hostgroups: postfix-hosts
467 name: process - postfix - qmgr
468 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
469 hostgroups: postfix-hosts
470 depends: process - postfix - master
472 # name: process - postfix - tlsmgr
473 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
474 # hostgroups: postfix-hosts
475 # depends: process - postfix - master
477 name: process - postfix - pickup
478 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
479 hostgroups: postfix-hosts
480 depends: process - postfix - master
482 name: process - postfix - anvil
483 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
484 hostgroups: postfix-hosts
485 depends: process - postfix - master
488 name: process - postfix - trivial-rewrite
489 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'"
490 hostgroups: postfix-hosts
491 depends: process - postfix - master
493 name: process - postfix - proxymap
494 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
495 hostgroups: postfix-hosts
496 depends: process - postfix - master
498 name: process - postfix - smtpd
499 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'"
500 hostgroups: postfix-hosts
501 depends: process - postfix - master
503 name: process - postfix - cleanup
504 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
505 hostgroups: postfix-hosts
506 depends: process - postfix - master
508 name: process - postfix - local
509 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
510 hostgroups: postfix-hosts
511 depends: process - postfix - master
516 name: network service - smtp
518 hostgroups: postfix-hosts
519 depends: process - postfix - master
521 name: network service - smtp
523 hostgroups: computers
524 excludehostgroups: postfix-hosts
525 depends: process - exim
530 name: process - uptimed
531 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
532 hostgroups: computers
535 name: process - irqbalance
536 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
537 hostgroups: computers
541 ############ Processes/Services that only run on some computers ############
546 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
550 name: process - sensord
551 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
556 name: process - mdadm monitor
557 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'"
561 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
566 name: process - cpqarrayd
567 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
568 hostgroups: dl385, dl380
570 name: RAID - arrayprobe
571 nrpe: "sudo /usr/bin/arrayprobe"
572 hostgroups: dl385, dl380
576 name: process - slapd
577 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'"
581 name: process - udevd
582 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
583 hosts: sperger, ries, steffani, merkel, spohr
586 name: process - acpid
587 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'"
588 hosts: ries, steffani
592 name: process - xinetd
593 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'"
595 hostgroups: rsyncd-hosts
598 name: network service - finger
601 depends: process - xinetd
604 name: network service - rsync
606 hostgroups: rsyncd-hosts
607 depends: process - xinetd
610 name: network service - rsync
613 depends: rietz:process - xinetd
617 name: process - nagios1
618 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'"
621 name: process - nagios3
622 # it forks one instance to check, so make it -w 1:2
623 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'"
628 name: process - apache2 - master
629 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
630 hostgroups: apache2-hosts
632 name: process - apache2 - worker
633 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
634 hostgroups: apache2-hosts
635 depends: process - apache2 - master
637 name: network service - http
639 hostgroups: apache2-hosts
640 depends: process - apache2 - master
645 name: process - apache - master
646 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
647 hostgroups: apache1-hosts
649 name: process - apache - worker
650 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
651 hostgroups: apache1-hosts
652 depends: process - apache - master
654 name: network service - http
656 hostgroups: apache1-hosts
657 depends: process - apache - master
660 name: network service - http keyserver
661 check: dsa_check_http_port!11371
663 depends: process - apache - master
666 name: network service - https
669 depends: "process - apache2 - master"
670 normal_check_interval: 120
671 notification_interval: 120
673 name: network service - https cert
674 check: dsa_check_cert!443
676 depends: network service - https
677 normal_check_interval: 240
678 notification_interval: 240
681 name: process - named
682 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
683 hostgroups: bind9-hosts
685 name: network service - dns
687 hostgroups: bind9-hosts
688 depends: process - named
692 name: process - vsftp - listener
693 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
694 hostgroups: ftpd-hosts
696 name: process - vsftp - instance
697 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
698 hostgroups: ftpd-hosts
700 name: network service - ftp
702 hostgroups: ftpd-hosts
703 depends: process - vsftp - listener
707 name: process - debianqueued
708 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
713 name: process - postresql81 - master
714 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'"
715 hostgroups: postgres81-hosts
717 name: process - postresql81 - writer
718 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
719 hostgroups: postgres81-hosts
720 depends: process - postresql81 - master
722 name: process - postresql81 - buffer
723 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
724 hostgroups: postgres81-hosts
725 depends: process - postresql81 - master
727 name: process - postresql81 - collector
728 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
729 hostgroups: postgres81-hosts
730 depends: process - postresql81 - master
735 name: process - snmpd
736 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'"