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
12 #############################
14 #############################
17 address: 82.195.75.126
19 hostgroups: routing-infrastructure
23 hostgroups: routing-infrastructure
27 hostgroups: routing-infrastructure
31 hostgroups: routing-infrastructure
33 address: 140.211.166.1
35 hostgroups: routing-infrastructure
37 address: 212.211.132.1
39 hostgroups: routing-infrastructure
41 address: 212.211.132.249
43 hostgroups: routing-infrastructure
47 hostgroups: routing-infrastructure
49 address: 194.109.137.217
51 hostgroups: routing-infrastructure
54 address: 192.25.206.57
55 hostgroups: computers, dl380, apache2-hosts, bind9-hosts
57 address: 192.25.206.59
59 hostgroups: computers, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
61 address: 192.25.206.10
63 hostgroups: computers, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
65 address: 192.25.206.16
67 hostgroups: computers, apache1-hosts, bind9-hosts, rsyncd-hosts, sw-raid, postgres81-hosts
71 parents: gw-MAN-DA-debian
72 hostgroups: computers, syslog-ng-hosts, postfix-hosts, dl385
75 parents: gw-MAN-DA-debian
76 hostgroups: computers, porterbox, sw-raid
79 address: 70.103.162.29
81 hostgroups: computers, apache2-hosts, bind9-hosts
84 address: 128.148.34.103
86 hostgroups: computers, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts, postgres81-hosts
89 address: 140.211.166.43
91 hostgroups: computers, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385
93 address: 140.211.166.44
95 hostgroups: secondary-IPs
98 address: 212.211.132.32
99 parents: gw-scanplus-villa
100 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
102 address: 212.211.132.250
103 parents: gw-scanplus-lobos
104 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
108 parents: gw-mit-csail
109 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
112 address: 194.109.137.218
114 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, bind9-hosts, dl385, postgres81-hosts
116 #############################
119 # hostgroups ircd and all are automatically defined
121 #############################
126 routing-infrastructure:
127 alias: Internet routers and friends
128 extinfo-icon_image: base/switch40.png
129 extinfo-icon_image_alt: router
132 alias: developer accessible porter machien
133 extinfo-icon_image: base/debian.png
134 extinfo-icon_image_alt: Debian GNU/Linux
135 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
138 alias: HP DL380 hosts
141 alias: HP DL385 hosts
144 alias: Hosts with Linux software raid
148 alias: hosts running syslog-ng instead of sysklogd
151 alias: hosts running postfix instead of exim
154 alias: hosts running apache2
157 alias: hosts running apache1
160 alias: hosts running bind9
163 alias: hosts running vsftpd
166 alias: hosts providing rsync services via xinetd
169 alias: hosts running postgres81
173 alias: secondary IP addresses
176 #############################
178 #############################
182 check: "check_ping!300.0,20%!600.0,40%"
185 ############ Services ############
188 ############ Disk Usage ############
191 name: disk usage - all
192 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
193 hostgroups: computers
195 name: disk usage on /
196 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
197 hostgroups: computers
199 name: disk usage on /boot
200 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
201 hosts: sperger, rietz, steffani
203 name: disk usage on /var
204 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
205 hosts: bartok, samosa, raff, lobos, villa, gluck
207 name: disk usage on /org
208 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
209 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani, merkel
211 name: disk usage on /org/scratch2
212 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch2"
215 name: disk usage on /oldorg
216 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /oldorg"
219 name: disk usage on /tmp
220 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
221 hosts: samosa, raff, gluck
223 name: disk usage on /usr
224 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
225 hosts: samosa, raff, lobos, villa, gluck
227 name: disk usage on /home
228 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
231 ############ All Computers ############
234 # name: apt - security updates
235 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
236 # hostgroups: computers
237 # normal_check_interval: 480
238 # notification_interval: 480
239 # max_check_attempts: 4
240 # retry_check_interval: 12
244 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
245 hostgroups: computers
249 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
250 hostgroups: computers
253 name: processes - zombies
254 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
255 hostgroups: computers
258 name: processes - total
259 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
260 hostgroups: computers
263 name: swap usage - percent
264 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
265 hostgroups: computers
268 name: swap usage - mb
269 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
270 hostgroups: computers
273 name: process - getty
274 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
275 hostgroups: computers
279 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
280 hostgroups: computers
282 name: "network service - sshd"
284 hostgroups: computers
285 depends: process - sshd
286 normal_check_interval: 60
287 notification_interval: 60
290 name: network service - nrpe
291 check: check_tcp!5666
292 hostgroups: computers
293 max_check_attempts: -1
296 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'"
297 hostgroups: computers
298 depends: network service - nrpe
301 name: process - munin-node
302 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
303 hostgroups: computers
305 name: network service - munin-node
306 check: check_tcp!4949
307 hostgroups: computers
308 depends: process - munin-node
312 # 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'"
313 # 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'"
314 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
315 hostgroups: computers
317 name: network service - ntp
319 hostgroups: computers
320 depends: process - ntpd
324 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
325 hostgroups: computers
329 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
330 hostgroups: computers
334 name: process - syslog-ng
335 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'"
336 hostgroups: syslog-ng-hosts
339 name: process - syslogd
340 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
341 hostgroups: computers
342 excludehostgroups: syslog-ng-hosts
344 name: process - klogd
345 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
346 hostgroups: computers
347 excludehostgroups: syslog-ng-hosts
353 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
354 hostgroups: computers
355 excludehostgroups: postfix-hosts
356 excludehosts: master, rietz, merkel
358 name: process - exim - total
359 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
360 hostgroups: computers
361 excludehostgroups: postfix-hosts
362 excludehosts: master, rietz, merkel
365 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
366 hosts: master, rietz, merkel
369 name: process - clamav - clamd
370 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
371 hostgroups: computers
372 excludehostgroups: postfix-hosts
374 name: service - clamav
375 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
376 hostgroups: computers
377 excludehostgroups: postfix-hosts
378 depends: process - clamav - clamd
380 name: process - clamav - freshclam
381 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
382 hostgroups: computers
383 excludehostgroups: postfix-hosts
386 name: process - spamd - master
387 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'"
389 hostgroups: computers
390 excludehostgroups: postfix-hosts
393 name: process - spamd - child
394 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
395 hostgroups: computers
396 excludehostgroups: postfix-hosts
397 depends: process - spamd - master
401 name: process - spamd - master
402 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
405 name: process - spamd - child
406 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
411 name: process - greylistd
412 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
413 hostgroups: computers
414 excludehostgroups: postfix-hosts
418 name: process - postfix - master
419 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
420 hostgroups: postfix-hosts
422 name: process - postfix - qmgr
423 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
424 hostgroups: postfix-hosts
425 depends: process - postfix - master
427 # name: process - postfix - tlsmgr
428 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
429 # hostgroups: postfix-hosts
430 # depends: process - postfix - master
432 name: process - postfix - pickup
433 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
434 hostgroups: postfix-hosts
435 depends: process - postfix - master
437 name: process - postfix - anvil
438 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
439 hostgroups: postfix-hosts
440 depends: process - postfix - master
443 name: process - postfix - trivial-rewrite
444 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'"
445 hostgroups: postfix-hosts
446 depends: process - postfix - master
448 name: process - postfix - proxymap
449 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
450 hostgroups: postfix-hosts
451 depends: process - postfix - master
453 name: process - postfix - smtpd
454 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'"
455 hostgroups: postfix-hosts
456 depends: process - postfix - master
458 name: process - postfix - cleanup
459 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
460 hostgroups: postfix-hosts
461 depends: process - postfix - master
463 name: process - postfix - local
464 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
465 hostgroups: postfix-hosts
466 depends: process - postfix - master
471 name: network service - smtp
473 hostgroups: postfix-hosts
474 depends: process - postfix - master
476 name: network service - smtp
478 hostgroups: computers
479 excludehostgroups: postfix-hosts
480 depends: process - exim
485 name: process - uptimed
486 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
487 hostgroups: computers
490 name: process - irqbalance
491 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
492 hostgroups: computers
496 ############ Processes/Services that only run on some computers ############
501 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
505 name: process - sensord
506 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
511 name: process - mdadm monitor
512 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'"
516 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
521 name: process - cpqarrayd
522 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
523 hostgroups: dl385, dl380
525 name: RAID - arrayprobe
526 nrpe: "sudo /usr/bin/arrayprobe"
527 hostgroups: dl385, dl380
531 name: process - slapd
532 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'"
536 name: process - udevd
537 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
538 hosts: sperger, ries, steffani, merkel
541 name: process - acpid
542 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'"
543 hosts: ries, steffani
547 name: process - xinetd
548 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'"
550 hostgroups: rsyncd-hosts
553 name: network service - finger
556 depends: process - xinetd
559 name: network service - rsync
561 hostgroups: rsyncd-hosts
562 depends: process - xinetd
565 name: network service - rsync
568 depends: rietz:process - xinetd
572 name: process - nagios1
573 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'"
576 name: process - nagios3
577 # it forks one instance to check, so make it -w 1:2
578 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'"
583 name: process - apache2 - master
584 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
585 hostgroups: apache2-hosts
587 name: process - apache2 - worker
588 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
589 hostgroups: apache2-hosts
590 depends: process - apache2 - master
592 name: network service - http
594 hostgroups: apache2-hosts
595 depends: process - apache2 - master
600 name: process - apache - master
601 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
602 hostgroups: apache1-hosts
604 name: process - apache - worker
605 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
606 hostgroups: apache1-hosts
607 depends: process - apache - master
609 name: network service - http
611 hostgroups: apache1-hosts
612 depends: process - apache - master
615 name: network service - http keyserver
616 check: dsa_check_http_port!11371
618 depends: process - apache - master
621 name: network service - https
624 depends: "process - apache2 - master"
625 normal_check_interval: 120
626 notification_interval: 120
628 name: network service - https cert
629 check: dsa_check_cert!443
631 depends: network service - https
632 normal_check_interval: 240
633 notification_interval: 240
636 name: process - named
637 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
638 hostgroups: bind9-hosts
640 name: network service - dns
642 hostgroups: bind9-hosts
643 depends: process - named
647 name: process - vsftp - listener
648 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
649 hostgroups: ftpd-hosts
651 name: process - vsftp - instance
652 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
653 hostgroups: ftpd-hosts
655 name: network service - ftp
657 hostgroups: ftpd-hosts
658 depends: process - vsftp - listener
662 name: process - debianqueued
663 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
668 name: process - postresql81 - master
669 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'"
670 hostgroups: postgres81-hosts
672 name: process - postresql81 - writer
673 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
674 hostgroups: postgres81-hosts
675 depends: process - postresql81 - master
677 name: process - postresql81 - buffer
678 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
679 hostgroups: postgres81-hosts
680 depends: process - postresql81 - master
682 name: process - postresql81 - collector
683 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
684 hostgroups: postgres81-hosts
685 depends: process - postresql81 - master
690 name: process - snmpd
691 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'"