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
50 address: 192.25.206.57
51 hostgroups: computers, dl380, apache2-hosts, bind9-hosts
53 address: 192.25.206.59
55 hostgroups: computers, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
57 address: 192.25.206.10
59 hostgroups: computers, dl380, apache1-hosts, bind9-hosts, rsyncd-hosts
63 parents: gw-MAN-DA-debian
64 hostgroups: computers, syslog-ng-hosts, postfix-hosts, dl385
67 parents: gw-MAN-DA-debian
68 hostgroups: computers, porterbox, sw-raid
71 address: 70.103.162.29
73 hostgroups: computers, apache2-hosts, bind9-hosts
76 address: 128.148.34.103
78 hostgroups: computers, apache2-hosts, bind9-hosts, ftpd-hosts, dl385, rsyncd-hosts
81 address: 140.211.166.43
83 hostgroups: computers, apache2-hosts, bind9-hosts, rsyncd-hosts, dl385
85 address: 140.211.166.44
87 hostgroups: secondary-IPs
90 address: 212.211.132.32
91 parents: gw-scanplus-villa
92 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
94 address: 212.211.132.250
95 parents: gw-scanplus-lobos
96 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380
100 parents: gw-mit-csail
101 hostgroups: computers, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid
103 #############################
106 # hostgroups ircd and all are automatically defined
108 #############################
113 routing-infrastructure:
114 alias: Internet routers and friends
115 extinfo-icon_image: base/switch40.png
116 extinfo-icon_image_alt: router
119 alias: developer accessible porter machien
120 extinfo-icon_image: base/debian.png
121 extinfo-icon_image_alt: Debian GNU/Linux
122 extinfo-notes_url: http://db.debian.org/machines.cgi?host=%s
125 alias: HP DL380 hosts
128 alias: HP DL385 hosts
131 alias: Hosts with Linux software raid
135 alias: hosts running syslog-ng instead of sysklogd
138 alias: hosts running postfix instead of exim
141 alias: hosts running apache2
144 alias: hosts running apache1
147 alias: hosts running bind9
150 alias: hosts running vsftpd
153 alias: hosts providing rsync services via xinetd
157 alias: secondary IP addresses
160 #############################
162 #############################
166 check: "check_ping!300.0,20%!600.0,40%"
169 ############ Services ############
172 ############ Disk Usage ############
175 name: disk usage - all
176 nrpe: "/usr/lib/nagios/plugins/check_disk 90 95"
177 hostgroups: computers
179 name: disk usage on /
180 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /"
181 hostgroups: computers
183 name: disk usage on /boot
184 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /boot"
185 hosts: sperger, rietz, steffani
187 name: disk usage on /var
188 nrpe: "/usr/lib/nagios/plugins/check_disk 50 75 /var"
189 hosts: bartok, samosa, raff, lobos, villa, gluck
191 name: disk usage on /org
192 nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org"
193 hosts: bartok, sperger, samosa, raff, lobos, villa, steffani
195 name: disk usage on /tmp
196 nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp"
197 hosts: samosa, raff, gluck
199 name: disk usage on /usr
200 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /usr"
201 hosts: samosa, raff, lobos, villa, gluck
203 name: disk usage on /home
204 nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home"
207 ############ All Computers ############
210 # name: apt - security updates
211 # nrpe: "/usr/local/bin/nagios-check-apt-updates --warnifupdates"
212 # hostgroups: computers
213 # normal_check_interval: 480
214 # notification_interval: 480
215 # max_check_attempts: 4
216 # retry_check_interval: 12
220 nrpe: "/usr/lib/nagios/plugins/check_users 30 35"
221 hostgroups: computers
225 nrpe: "/usr/lib/nagios/plugins/check_load -w 12,10,8 -c 22,18,14"
226 hostgroups: computers
229 name: processes - zombies
230 nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z"
231 hostgroups: computers
234 name: processes - total
235 nrpe: "/usr/lib/nagios/plugins/check_procs 620 700"
236 hostgroups: computers
239 name: swap usage - percent
240 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%"
241 hostgroups: computers
244 name: swap usage - mb
245 nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000"
246 hostgroups: computers
249 name: process - getty
250 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty"
251 hostgroups: computers
255 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:20 -c 1: -u root -C sshd -a '/usr/sbin/sshd'"
256 hostgroups: computers
258 name: "network service - sshd"
260 hostgroups: computers
261 depends: process - sshd
262 normal_check_interval: 60
263 notification_interval: 60
266 name: network service - nrpe
267 check: check_tcp!5666
268 hostgroups: computers
269 max_check_attempts: -1
272 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'"
273 hostgroups: computers
274 depends: network service - nrpe
277 name: process - munin-node
278 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'"
279 hostgroups: computers
281 name: network service - munin-node
282 check: check_tcp!4949
283 hostgroups: computers
284 depends: process - munin-node
288 # 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'"
289 # 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'"
290 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
291 hostgroups: computers
293 name: network service - ntp
295 hostgroups: computers
296 depends: process - ntpd
300 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd"
301 hostgroups: computers
305 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C cron -a /usr/sbin/cron"
306 hostgroups: computers
310 name: process - syslog-ng
311 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'"
312 hostgroups: syslog-ng-hosts
315 name: process - syslogd
316 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslogd -a '/sbin/syslogd'"
317 hostgroups: computers
318 excludehostgroups: syslog-ng-hosts
320 name: process - klogd
321 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C klogd -a '/sbin/klogd -x'"
322 hostgroups: computers
323 excludehostgroups: syslog-ng-hosts
329 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'"
330 hostgroups: computers
331 excludehostgroups: postfix-hosts
332 excludehosts: master, rietz
334 name: process - exim - total
335 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4"
336 hostgroups: computers
337 excludehostgroups: postfix-hosts
338 excludehosts: master, rietz
341 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'"
345 name: process - clamav - clamd
346 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
347 hostgroups: computers
348 excludehostgroups: postfix-hosts
350 name: service - clamav
351 nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
352 hostgroups: computers
353 excludehostgroups: postfix-hosts
354 depends: process - clamav - clamd
356 name: process - clamav - freshclam
357 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
358 hostgroups: computers
359 excludehostgroups: postfix-hosts
362 name: process - spamd - master
363 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'"
365 hostgroups: computers
366 excludehostgroups: postfix-hosts
369 name: process - spamd - child
370 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
371 hostgroups: computers
372 excludehostgroups: postfix-hosts
373 depends: process - spamd - master
377 name: process - spamd - master
378 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '"
381 name: process - spamd - child
382 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'"
387 name: process - greylistd
388 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'"
389 hostgroups: computers
390 excludehostgroups: postfix-hosts
394 name: process - postfix - master
395 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
396 hostgroups: postfix-hosts
398 name: process - postfix - qmgr
399 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
400 hostgroups: postfix-hosts
401 depends: process - postfix - master
403 # name: process - postfix - tlsmgr
404 # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C tlsmgr -a 'tlsmgr -l -t fifo -u'"
405 # hostgroups: postfix-hosts
406 # depends: process - postfix - master
408 name: process - postfix - pickup
409 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
410 hostgroups: postfix-hosts
411 depends: process - postfix - master
413 name: process - postfix - anvil
414 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'"
415 hostgroups: postfix-hosts
416 depends: process - postfix - master
419 name: process - postfix - trivial-rewrite
420 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'"
421 hostgroups: postfix-hosts
422 depends: process - postfix - master
424 name: process - postfix - proxymap
425 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:15 -u postfix -C proxymap -a 'proxymap -t unix -u'"
426 hostgroups: postfix-hosts
427 depends: process - postfix - master
429 name: process - postfix - smtpd
430 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'"
431 hostgroups: postfix-hosts
432 depends: process - postfix - master
434 name: process - postfix - cleanup
435 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C cleanup -a 'cleanup -z -t unix -u -c'"
436 hostgroups: postfix-hosts
437 depends: process - postfix - master
439 name: process - postfix - local
440 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:30 -c 0:50 -u postfix -C local -a 'local -t unix'"
441 hostgroups: postfix-hosts
442 depends: process - postfix - master
447 name: network service - smtp
449 hostgroups: postfix-hosts
450 depends: process - postfix - master
452 name: network service - smtp
454 hostgroups: computers
455 excludehostgroups: postfix-hosts
456 depends: process - exim
461 name: process - uptimed
462 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'"
463 hostgroups: computers
466 name: process - irqbalance
467 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'"
468 hostgroups: computers
472 ############ Processes/Services that only run on some computers ############
477 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'"
481 name: process - sensord
482 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C sensord -a '/usr/sbin/sensord -f daemon'"
487 name: process - mdadm monitor
488 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'"
492 nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
497 name: process - cpqarrayd
498 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
499 hostgroups: dl385, dl380
501 name: RAID - arrayprobe
502 nrpe: "sudo /usr/bin/arrayprobe"
503 hostgroups: dl385, dl380
507 name: process - slapd
508 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'"
512 name: process - udevd
513 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C udevd -a 'udevd'"
514 hosts: sperger, ries, steffani
517 name: process - acpid
518 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'"
519 hosts: ries, steffani
523 name: process - xinetd
524 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'"
526 hostgroups: rsyncd-hosts
529 name: network service - finger
532 depends: process - xinetd
535 name: network service - rsync
537 hostgroups: rsyncd-hosts
538 depends: process - xinetd
541 name: network service - rsync
544 depends: rietz:process - xinetd
548 name: process - nagios1
549 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'"
552 name: process - nagios3
553 # it forks one instance to check, so make it -w 1:2
554 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'"
559 name: process - apache2 - master
560 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2"
561 hostgroups: apache2-hosts
563 name: process - apache2 - worker
564 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2"
565 hostgroups: apache2-hosts
566 depends: process - apache2 - master
568 name: network service - http
570 hostgroups: apache2-hosts
571 depends: process - apache2 - master
576 name: process - apache - master
577 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache -a /usr/sbin/apache"
578 hostgroups: apache1-hosts
580 name: process - apache - worker
581 nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:75 -c 1:150 -u www-data -C apache -a /usr/sbin/apache"
582 hostgroups: apache1-hosts
583 depends: process - apache - master
585 name: network service - http
587 hostgroups: apache1-hosts
588 depends: process - apache - master
591 name: network service - http keyserver
592 check: dsa_check_http_port!11371
594 depends: process - apache - master
597 name: network service - https
600 depends: "process - apache2 - master"
601 normal_check_interval: 120
602 notification_interval: 120
604 name: network service - https cert
605 check: dsa_check_cert!443
607 depends: network service - https
608 normal_check_interval: 240
609 notification_interval: 240
612 name: process - named
613 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u bind -C named -a '/usr/sbin/named -u bind'"
614 hostgroups: bind9-hosts
616 name: network service - dns
618 hostgroups: bind9-hosts
619 depends: process - named
623 name: process - vsftp - listener
624 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'"
625 hostgroups: ftpd-hosts
627 name: process - vsftp - instance
628 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:10 -c 0:30 -u ftp -C vsftpd -a 'vsftpd: '"
629 hostgroups: ftpd-hosts
631 name: network service - ftp
633 hostgroups: ftpd-hosts
634 depends: process - vsftp - listener
638 name: process - debianqueued
639 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'"
644 name: process - postresql81 - master
645 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'"
648 name: process - postresql81 - writer
649 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'"
651 depends: process - postresql81 - master
653 name: process - postresql81 - buffer
654 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'"
656 depends: process - postresql81 - master
658 name: process - postresql81 - collector
659 nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
661 depends: process - postresql81 - master
666 name: process - snmpd
667 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'"