X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=ecebe9ce50174819e09c3fa36968f4678a9cdad0;hb=7b7624ef19c3a6488725db8968d8a05a61dea1e3;hp=046bee535193191290af14c17d0e092aa3982902;hpb=1979e518a9c6ff49773e654c94fa3c83a4992b20;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 046bee5..ecebe9c 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -19,11 +19,6 @@ servers: hostgroups: notacomputer pingable: false check_command: dsa_check_always_ok - gw-1und1: - parents: gw-ubcece - hostgroups: notacomputer - pingable: false - check_command: dsa_check_always_ok gw-1und1-sec: parents: gw-ubcece hostgroups: notacomputer @@ -66,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: @@ -82,7 +77,7 @@ servers: parents: gw-ubcece hostgroups: layer3-infrastructure gw-isc: - address: 149.20.20.1 + address: 149.20.65.129 parents: gw-ubcece hostgroups: layer3-infrastructure gw-karlsruhe: @@ -97,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: @@ -166,12 +157,6 @@ servers: hostgroups: layer3-infrastructure # }}} # {{{ servers - # {{{ gw-1und1 - powell: - address: 87.106.64.223 - parents: gw-1und1 - hostgroups: computers, service, jessie - # }}} # {{{ gw-1und1-sec schumann: address: 212.227.126.54 @@ -472,9 +457,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, autofs, nfs-client, systemd-timesyncd, apache2-hosts sor: address: 5.153.231.38 parents: ganeti-bytemark @@ -534,13 +520,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 @@ -565,31 +551,31 @@ servers: mirror-csail: address: 128.31.0.62 parents: ganeti-csail - hostgroups: computers, service, hassrvfs, kvmdomains, jessie, apache2-hosts, rsyncd-hosts, xinetd-hosts, apache-https + hostgroups: computers, service, hassrvfs, kvmdomains, jessie, apache2-hosts, rsyncd-hosts, xinetd-hosts, apache-https, systemd-timesyncd x86-csail-01: address: 128.31.0.50 parents: ganeti-csail - hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie, systemd-timesyncd x86-csail-02: address: 128.31.0.68 parents: ganeti-csail - hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie, systemd-timesyncd httpredir-csail-01: address: 128.31.0.66 parents: ganeti-csail - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, systemd-timesyncd soriano: address: 128.31.0.67 parents: ganeti-csail - hostgroups: computers, service, kvmdomains, hassrvfs, jessie, apache2-hosts, apache-https + hostgroups: computers, service, kvmdomains, hassrvfs, jessie, apache2-hosts, apache-https, systemd-timesyncd pkgmirror-csail: address: 128.31.0.51 parents: ganeti-csail - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, no-bacula, apache-https, hassrvfs + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, no-bacula, apache-https, hassrvfs, systemd-timesyncd usper: address: 128.31.0.69 parents: ganeti-csail - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, uploadqueue, xinetd-hosts, queued + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, uploadqueue, xinetd-hosts, queued, systemd-timesyncd # }}} # {{{ gw-dgi storace: @@ -616,62 +602,58 @@ 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, 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.20.7 + address: 149.20.4.13 parents: gw-isc hostgroups: computers, service, apache2-hosts, apache-https, dl360, hpnewraid, hassrvfs, xinetd-hosts, jessie, security_mirror mirror-isc2: - address: 149.20.20.19 + address: 149.20.4.14 parents: mirror-isc hostgroups: secondary-IPs mirror-isc3: - address: 149.20.20.22 + address: 149.20.4.15 parents: mirror-isc hostgroups: secondary-IPs mirror-isc-syncproxy: - address: 149.20.20.21 + address: 149.20.4.16 parents: mirror-isc hostgroups: secondary-IPs # }}} @@ -722,14 +704,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 @@ -779,7 +761,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 @@ -803,19 +785,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 @@ -972,19 +954,19 @@ servers: ubc-enc2bl01: address: 209.87.16.1 parents: ubc-gateway - hostgroups: computers, bl460, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid ubc-enc2bl02: address: 209.87.16.2 parents: ubc-gateway - hostgroups: computers, bl460, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid ubc-enc2bl09: address: 209.87.16.9 parents: ubc-gateway - hostgroups: computers, bl460, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid ubc-enc2bl10: address: 209.87.16.10 parents: ubc-gateway - hostgroups: computers, bl460, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid rachmaninoff: address: 209.87.16.20 parents: ubc-gateway @@ -1228,6 +1210,9 @@ hostgroups: bl460: alias: HP BL460 blades private: 1 + bl460g8: + alias: HP BL460 Gen8 blades + private: 1 bm-bl: alias: HP blades at bytemark private: 1 @@ -1243,9 +1228,6 @@ hostgroups: aacraid: alias: Hosts with Adaptec AACraid private: 1 - megaraid: - alias: Hosts with LSI Logic MegaRAID - private: 1 wheezy: alias: Hosts running wheezy @@ -1351,9 +1333,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 @@ -1466,15 +1445,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 @@ -1556,6 +1530,16 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 95 90 /srv/morgue.debian.org" hosts: lw03 + - + name: disk usage on /srv/QNAP-big/ + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 90 80 /srv/QNAP-big" + hosts: storace + - + name: disk usage on /srv/QNAP-tiny + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 90 80 /srv/QNAP-tiny" + hosts: storace # }}} # {{{ ### system # {{{ setup @@ -1864,6 +1848,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" @@ -2075,8 +2065,8 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" check_interval: 120 - hostgroups: dl380, dl360, bl460, dl180 - excludehosts: schein, busoni + hostgroups: dl380, dl360, bl460, bl460g8, dl180 + excludehosts: busoni excludehostgroups: hpnewraid - name: HW - hpacucli status @@ -2089,7 +2079,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 @@ -2108,13 +2098,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" @@ -2125,11 +2115,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" @@ -2141,24 +2126,12 @@ services: check_interval: 120 hosts: mirror-anu ### - - - name: RAID - 3ware - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-3ware" - hosts: powell - ### - name: RAID - aacraid servicegroups: raid 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