X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=b832f791048269a41ae0bb36e00b43a85a8e8027;hb=bb425d687847f82fd0e5bf751abe934c3021eca4;hp=0e8e9057c0eb107febcb60f3d3c9763c88967563;hpb=93e33efad7148ad5115ec693a63b238ac557df14;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 0e8e905..b832f79 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -61,7 +61,7 @@ servers: parents: gw-ubcece hostgroups: layer3-infrastructure gw-dgi: - address: 93.94.131.13 + address: 93.94.130.190 parents: gw-ubcece hostgroups: layer3-infrastructure gw-freenet: @@ -77,7 +77,7 @@ servers: parents: gw-ubcece hostgroups: layer3-infrastructure gw-isc: - address: 149.20.4.1 + address: 149.20.65.129 parents: gw-ubcece hostgroups: layer3-infrastructure gw-karlsruhe: @@ -92,12 +92,8 @@ servers: address: 64.28.108.36 parents: gw-ubcece hostgroups: layer3-infrastructure - gw-man-da: - address: 82.195.75.126 - parents: gw-ubcece - hostgroups: layer3-infrastructure - gw-man-da2: - address: 82.195.78.116 + gw-manda: + address: 82.195.78.118 parents: gw-ubcece hostgroups: layer3-infrastructure gw-marist: @@ -180,6 +176,10 @@ servers: address: 130.239.18.121 parents: gw-accumu hostgroups: computers, buildd, hassrvfs, jessie + boman: + address: 130.239.18.124 + parents: gw-accumu + hostgroups: computers, service, jessie, apache2-hosts, hassrvfs # }}} # {{{ gw-aql eller: @@ -461,9 +461,10 @@ servers: address: 5.153.231.36 parents: ganeti-bytemark hostgroups: computers, service, kvmdomains, jessie, autofs, nfs-client, systemd-timesyncd - fede: + bilbao: address: 5.153.231.37 - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, systemd-timesyncd + parents: ganeti-bytemark + hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd, apache2-hosts, hassrvfs sor: address: 5.153.231.38 parents: ganeti-bytemark @@ -488,6 +489,11 @@ servers: address: 5.153.231.44 parents: ganeti-bytemark hostgroups: computers, service, kvmdomains, jessie, autofs, nfs-client, apache2-hosts, apache-https, systemd-timesyncd + + casulana: + address: 5.153.231.41 + parents: gw-bytemark + hostgroups: computers, service, stretch, hpnewraid, hassrvfs, dl380 # }}} # {{{ gw-c3sl santoro: @@ -523,13 +529,13 @@ servers: address: 217.196.149.228 parents: gw-conova hostgroups: computers, jessie, service, sw-raid + + arm-conova-01: + address: 217.196.149.230 + parents: aagaard + hostgroups: computers, hassrvfs, buildd, jessie # }}} # {{{ gw-csail - steffani: - address: 128.31.0.36 - parents: gw-csail - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, sw-raid, acpid-hosts, hasbootfs, hasorgfs, xinetd-hosts, wheezy, security_mirror, no-bacula - csail-node01: address: 128.31.0.16 parents: gw-csail @@ -605,52 +611,44 @@ servers: address: 194.177.211.196 parents: gw-grnet hostgroups: computers, service, dl380, jessie, drbd-hosts - rautavaara: - address: 194.177.211.199 - parents: gw-grnet - hostgroups: computers, megaraid, service, jessie loghost-grnet-01: address: 194.177.211.200 parents: gw-grnet - hostgroups: computers, service, kvmdomains, jessie, hassrvfs + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, systemd-timesyncd geo3: address: 194.177.211.201 parents: gw-grnet - hostgroups: computers, service, bind9-hosts, kvmdomains, jessie + hostgroups: computers, service, bind9-hosts, kvmdomains, jessie, systemd-timesyncd cgi-grnet-01: address: 194.177.211.202 parents: gw-grnet - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https, xinetd-hosts + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https, xinetd-hosts, systemd-timesyncd x86-grnet-01: address: 194.177.211.203 parents: ganeti-grnet - hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie, systemd-timesyncd gigault: address: 194.177.211.204 parents: ganeti-grnet - hostgroups: computers, service, hassrvfs, kvmdomains, jessie + hostgroups: computers, service, hassrvfs, kvmdomains, jessie, systemd-timesyncd vittoria: address: 194.177.211.205 parents: ganeti-grnet - hostgroups: computers, service, hassrvfs, kvmdomains, jessie, postgres94-hosts, apache2-hosts, apache-https + hostgroups: computers, service, hassrvfs, kvmdomains, jessie, postgres94-hosts, apache2-hosts, apache-https, systemd-timesyncd boott: address: 194.177.211.206 parents: ganeti-grnet - hostgroups: computers, service, hassrvfs, kvmdomains, jessie + hostgroups: computers, service, hassrvfs, kvmdomains, jessie, systemd-timesyncd porta: address: 194.177.211.207 parents: ganeti-grnet - hostgroups: computers, service, hassrvfs, kvmdomains, jessie, rsyncd-hosts, xinetd-hosts + hostgroups: computers, service, hassrvfs, kvmdomains, jessie, rsyncd-hosts, xinetd-hosts, systemd-timesyncd melartin: address: 194.177.211.208 parents: ganeti-grnet - hostgroups: computers, service, kvmdomains, jessie + hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd # }}} # {{{ gw-isc - schein: - address: 149.20.20.6 - parents: gw-isc - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl360, hasorgfs, xinetd-hosts, jessie, security_mirror, no-bacula mirror-isc: address: 149.20.4.13 parents: gw-isc @@ -715,14 +713,14 @@ servers: hostgroups: computers, buildd, jessie contacts: pkern # }}} - # {{{ gw-man-da + # {{{ gw-manda czerny: address: 82.195.75.109 - parents: gw-man-da + parents: gw-manda hostgroups: computers, service, dl380, acpid-hosts, jessie, drbd-hosts clementi: address: 82.195.75.103 - parents: gw-man-da + parents: gw-manda hostgroups: computers, service, dl380, acpid-hosts, jessie, drbd-hosts bendel: address: 82.195.75.100 @@ -772,7 +770,7 @@ servers: hostgroups: computers, service, kvmdomains, jessie ganeti3: address: 82.195.75.111 - parents: gw-man-da + parents: gw-manda hostgroups: notacomputer wilder: address: 82.195.75.112 @@ -796,19 +794,19 @@ servers: hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, apache2-hosts, jessie, apache-https mips-manda-01: address: 82.195.75.66 - parents: gw-man-da + parents: gw-manda hostgroups: computers, buildd, jessie, hassrvfs mipsel-manda-01: address: 82.195.75.72 - parents: gw-man-da + parents: gw-manda hostgroups: computers, buildd, jessie, hassrvfs, sw-raid, hasbootfs mipsel-manda-02: address: 82.195.75.74 - parents: gw-man-da + parents: gw-manda hostgroups: computers, buildd, jessie, hassrvfs, sw-raid, hasbootfs mipsel-manda-03: address: 82.195.75.67 - parents: gw-man-da + parents: gw-manda hostgroups: computers, buildd, jessie, hassrvfs seger: address: 82.195.75.93 @@ -858,6 +856,10 @@ servers: hostgroups: computers, jessie, hassrvfs, porterbox, sw-raid # }}} # {{{ gw-sanger + sallinen: + address: 193.62.202.26 + parents: gw-sanger + hostgroups: computers, service, jessie, dl380, hpnewraid sibelius: address: 193.62.202.28 parents: gw-sanger @@ -1239,9 +1241,6 @@ hostgroups: aacraid: alias: Hosts with Adaptec AACraid private: 1 - megaraid: - alias: Hosts with LSI Logic MegaRAID - private: 1 wheezy: alias: Hosts running wheezy @@ -1249,6 +1248,8 @@ hostgroups: alias: Hosts running jessie jessie-freebsd: alias: kFreebsd hosts running jessie + stretch: + alias: Hosts running stretch kvmdomains: alias: Hosts that are KVM domains @@ -1347,9 +1348,6 @@ hostgroups: hassrvfs: alias: hosts with a /srv filesystem private: 1 - hasorgfs: - alias: hosts with a /org filesystem - private: 1 hasvarlogfs: alias: hosts with a /var/log filesystem private: 1 @@ -1462,15 +1460,10 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /boot" hostgroups: hasbootfs - - - name: disk usage on /org - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" - hostgroups: hasorgfs - name: disk usage on /srv servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 95 98 /srv" + nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv" hostgroups: hassrvfs - name: disk usage on /var/lib/postgresql @@ -1600,11 +1593,11 @@ services: name: processes - total nrpe: "/usr/lib/nagios/plugins/check_procs 620 700" hostgroups: computers - excludehosts: prokofiev, pieta, ubc-enc2bl01, ubc-enc2bl02, ubc-enc2bl09, ubc-enc2bl10, fasolo + excludehosts: prokofiev, pieta, ubc-enc2bl01, ubc-enc2bl02, ubc-enc2bl09, ubc-enc2bl10, fasolo, casulana - name: processes - total nrpe: "/usr/lib/nagios/plugins/check_procs 1500 1700" - hosts: prokofiev, pieta, ubc-enc2bl01, ubc-enc2bl02, ubc-enc2bl09, ubc-enc2bl10, fasolo + hosts: prokofiev, pieta, ubc-enc2bl01, ubc-enc2bl02, ubc-enc2bl09, ubc-enc2bl10, fasolo, casulana - name: swap usage - percent nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%" @@ -1618,7 +1611,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty" hostgroups: computers excludehosts: zelenka, zandonai - excludehostgroups: jessie + excludehostgroups: jessie, stretch - name: process - getty nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C agetty -a /sbin/getty" @@ -1626,7 +1619,7 @@ services: - name: process - getty nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C agetty -a /sbin/agetty" - hostgroups: jessie + hostgroups: jessie, stretch excludehostgroups: freebsd - @@ -1749,11 +1742,11 @@ services: name: process - ulogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'" hostgroups: computers - excludehostgroups: freebsd, sparc, jessie + excludehostgroups: freebsd, sparc, jessie, stretch - name: process - ulogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ulog -C ulogd -a '/usr/sbin/ulogd --daemon --uid ulog'" - hostgroups: jessie + hostgroups: jessie, stretch excludehostgroups: freebsd - name: unexpected process - ulogd @@ -1786,7 +1779,7 @@ services: name: process - syslog-ng 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'" hostgroups: computers - excludehostgroups: freebsd, jessie + excludehostgroups: freebsd, jessie, stretch - name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" @@ -1794,7 +1787,7 @@ services: - name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -F'" - hostgroups: jessie + hostgroups: jessie, stretch excludehostgroups: freebsd - @@ -1839,6 +1832,13 @@ services: name: process - nrpe 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'" hostgroups: computers + excludehostgroups: stretch + max_check_attempts: -1 + depends: network service - nrpe + - + name: process - nrpe + 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 -f'" + hostgroups: stretch max_check_attempts: -1 depends: network service - nrpe ### @@ -1870,6 +1870,12 @@ services: excludehostgroups: systemd-timesyncd depends: process - ntpd servicegroups: time + - + name: system time synced + nrpe: "/usr/lib/nagios/plugins/dsa-check-timedatectl -s" + hostgroups: computers + excludehostgroups: systemd-timesyncd, freebsd, wheezy + servicegroups: time - name: system time synced nrpe: "/usr/lib/nagios/plugins/dsa-check-timedatectl" @@ -1900,7 +1906,7 @@ services: name: process - monit nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/bin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'" hostgroups: computers - excludehostgroups: alioth, jessie + excludehostgroups: alioth, jessie, stretch ### - name: MQ connection on rainier @@ -1941,11 +1947,11 @@ services: name: process - udevd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C udevd -a 'udevd'" hostgroups: computers - excludehostgroups: freebsd, jessie + excludehostgroups: freebsd, jessie, stretch - name: process - udevd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C systemd-udevd -a '/lib/systemd/systemd-udevd'" - hostgroups: jessie + hostgroups: jessie, stretch excludehostgroups: freebsd - name: unexpected process - udev @@ -1956,7 +1962,7 @@ services: name: process - acpid nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C acpid -a '/usr/sbin/acpid'" hostgroups: acpid-hosts - excludehostgroups: jessie + excludehostgroups: jessie, stretch - name: unexpected process - acpid nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid" @@ -1976,7 +1982,7 @@ services: - name: process - stunnel4 - puppet-ekeyd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/puppet-ekeyd.conf'" - hostgroups: wheezy, jessie + hostgroups: wheezy, jessie, stretch excludehostgroups: freebsd, alioth - name: process - stunnel4 - puppet-ekeyd is crazy @@ -2057,7 +2063,7 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan'" hostgroups: sw-raid - excludehostgroups: jessie + excludehostgroups: jessie, stretch - name: process - mdadm monitor servicegroups: raid @@ -2082,7 +2088,7 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" check_interval: 120 hostgroups: dl380, dl360, bl460, bl460g8, dl180 - excludehosts: schein, busoni + excludehosts: busoni excludehostgroups: hpnewraid - name: HW - hpacucli status @@ -2095,7 +2101,7 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-battery" check_interval: 120 - hosts: schein, busoni + hosts: busoni - name: HW - hpacucli enclosure status servicegroups: raid @@ -2114,13 +2120,13 @@ services: # nrpe: "/usr/lib/nagios/plugins/dsa-check-edac" # check_interval: 120 #hostgroups: computers - #excludehosts: villa, lobos, schein + #excludehosts: villa, lobos - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" check_interval: 120 hostgroups: dl380, dl360, bl460, bm-bl - excludehosts: villa, lobos, schein, storace, mirror-anu + excludehosts: villa, lobos, storace, mirror-anu - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant" @@ -2131,11 +2137,6 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant --ignore-failed='PS2'" check_interval: 120 hosts: lobos - - - name: HW - hpasmcli status - nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant" - check_interval: 120 - hosts: schein - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-ignore-not-present" @@ -2153,12 +2154,6 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-aacraid" hostgroups: aacraid ### - - - name: RAID - megaraid - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megaraid" - hostgroups: megaraid - ### - name: RAID - DRBD servicegroups: raid @@ -2213,7 +2208,7 @@ services: name: process - clamav - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'" hostgroups: heavy-exim, heavy-postfix - excludehostgroups: jessie + excludehostgroups: jessie, stretch - name: process - clamav - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --foreground=true'" @@ -2236,7 +2231,7 @@ services: 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'" hostgroups: spamd excludehosts: picconi - excludehostgroups: jessie + excludehostgroups: jessie, stretch - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir'" @@ -2275,7 +2270,7 @@ services: name: process - postgrey nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'" hostgroups: heavy-exim - excludehostgroups: jessie + excludehostgroups: jessie, stretch - name: process - postgrey nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a 'postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'" @@ -2733,6 +2728,11 @@ services: check: "dsa_check_staticsync_nossl!deb.debian.org" hosts: global servicegroups: mirror + - + name: mirror static sync - manpages + check: "dsa_check_staticsync!manpages.debian.org" + hosts: global + servicegroups: mirror - name: mirror static sync - 10years @@ -2780,8 +2780,8 @@ services: hosts: global servicegroups: mirror - - name: mirror static sync - debconf1 - check: "dsa_check_staticsync!debconf1.debconf.org" + name: mirror static sync - debconf16 + check: "dsa_check_staticsync!debconf16.debconf.org" hosts: global servicegroups: mirror - @@ -2962,7 +2962,7 @@ services: - name: system - all services running nrpe: "/usr/bin/sudo /bin/systemctl is-system-running" - hostgroups: jessie + hostgroups: jessie, stretch excludehostgroups: freebsd ### -