X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=23668ecffb6afb2152ce85b472a2ac4c9d00a23b;hb=c2a878235a4f582630f546692dae6025c28dc0de;hp=94289db64e5fee58393842c7391e872782e35a93;hpb=bb00d9ada8fb6ae82d935f9f86d34b46d8f7b8d9;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 94289db..23668ec 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -178,11 +178,11 @@ servers: samosa: address: 192.25.206.57 parents: spohr - hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client, postgres84-hosts + hostgroups: computers, service, dl380, lenny, hassrvfs, hasbootfs, acpid-hosts, ulogd-hosts, nfs-client, postgres84-hosts, bind9-hosts raff: address: 192.25.206.59 parents: spohr - hostgroups: computers, no-udev, service, dl380, apache2-hosts, bind9-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, hasvarfs, hasusrfs + hostgroups: computers, no-udev, service, dl380, apache2-hosts, rsyncd-hosts, heavy-exim, ulogd-hosts, nfs-client, lenny, hasvarfs, hasusrfs, hasorgfs merkel: address: 192.25.206.16 parents: spohr @@ -206,7 +206,7 @@ servers: penalosa: address: 192.25.206.68 parents: spohr - hostgroups: computers, buildd, hasbootfs, lenny + hostgroups: computers, buildd, hasbootfs, lenny, single-cpu contacts: dannf mundy: address: 192.25.206.62 @@ -234,7 +234,7 @@ servers: sperger: address: 82.195.75.34 parents: gw-man-da2 - hostgroups: computers, porterbox, sw-raid, hasbootfs, lenny + hostgroups: computers, porterbox, sw-raid, hasbootfs, lenny, hasorgfs contacts: bzed agricola: address: 82.195.75.86 @@ -263,23 +263,23 @@ servers: handel: address: 82.195.75.104 parents: unger - hostgroups: computers, service, acpid-hosts, lenny, hasbootfs + hostgroups: computers, service, lenny, hasbootfs, kvmdomains geo1: address: 82.195.75.105 parents: unger - hostgroups: computers, service, acpid-hosts, lenny, hasbootfs, bind9-hosts + hostgroups: computers, service, lenny, hasbootfs, bind9-hosts, kvmdomains draghi: address: 82.195.75.106 parents: unger - hostgroups: computers, service, acpid-hosts, lenny, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, ulogd-hosts + hostgroups: computers, service, lenny, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, ulogd-hosts, kvmdomains kaufmann: address: 82.195.75.107 parents: unger - hostgroups: computers, service, lenny, hasbootfs, apache2-hosts, single-cpu, rsyncd-hosts + hostgroups: computers, service, lenny, hasbootfs, apache2-hosts, single-cpu, rsyncd-hosts, kvmdomains byrd: address: 82.195.75.101 parents: unger - hostgroups: computers, service, lenny, hasbootfs, hassrvfs, postgres84-hosts, heavy-exim + hostgroups: computers, service, lenny, hasbootfs, hassrvfs, postgres84-hosts, heavy-exim, kvmdomains master: address: 70.103.162.29 @@ -319,7 +319,7 @@ servers: busoni: address: 140.211.15.34 parents: gw-osuosl - hostgroups: computers, service, lenny, dl360, hassrvfs, acpid-hosts + hostgroups: computers, service, lenny, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim zee: address: 140.211.166.16 parents: gw-osuosl @@ -328,11 +328,11 @@ servers: villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs, hasorgfs lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs, hasorgfs gluck: address: 150.203.164.38 parents: gw-anu @@ -341,11 +341,11 @@ servers: steffani: address: 128.31.0.36 parents: gw-mit-csail - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts, hasbootfs, lenny - mahler: - address: 128.31.0.46 - parents: gw-mit-csail - hostgroups: computers, single-cpu, lenny, porterbox + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, sw-raid, bind9-hosts, acpid-hosts, hasbootfs, lenny, hasorgfs + #mahler: + # address: 128.31.0.46 + # parents: gw-mit-csail + # hostgroups: computers, single-cpu, lenny, porterbox, hasorgfs rore: address: 128.31.0.49 parents: gw-mit-csail @@ -353,11 +353,11 @@ servers: senfl: address: 128.31.0.51 parents: gw-mit-csail - hostgroups: computers, service, lenny, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts, rsyncd-hosts - carver: - address: 128.31.0.50 - parents: gw-mit-csail - hostgroups: computers, service, lenny, dl380, acpid-hosts, hassrvfs, ulogd-hosts + hostgroups: computers, service, lenny, dl360, acpid-hosts, hassrvfs, ulogd-hosts, apache2-hosts, rsyncd-hosts, bind9-hosts + #carver: + # address: 128.31.0.50 + # parents: gw-mit-csail + # hostgroups: computers, service, lenny, dl380, acpid-hosts, hassrvfs, ulogd-hosts klecker: address: 194.109.137.218 @@ -367,7 +367,7 @@ servers: saens: address: 128.101.240.212 parents: gw-umn.edu - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, lenny, hasvarfs, hasusrfs, hasorgfs argento: address: 93.94.130.160 @@ -378,13 +378,13 @@ servers: widor: address: 93.94.130.161 parents: gw-dg-i.net - hostgroups: computers, apache2-hosts, sw-raid, lenny, acpid-hosts + hostgroups: computers, apache2-hosts, sw-raid, lenny, acpid-hosts, hasorgfs, heavy-exim contacts: bzed pergolesi: address: 62.104.23.252 parents: gw-freenet - hostgroups: computers, porterbox, sw-raid, lenny, hasusrfs + hostgroups: computers, porterbox, sw-raid, lenny, hasusrfs, hasorgfs albeniz: address: 193.62.202.27 @@ -398,6 +398,11 @@ servers: # SMP kernel doesn't run stable hostgroups: computers, buildd, sw-raid, single-cpu, hasbootfs, lenny contacts: tjrc1 + sibelius: + address: 193.62.202.28 + parents: gw-sanger + hostgroups: computers, lenny, acpid-hosts + contacts: tjrc1 smetana: address: 193.62.202.29 parents: gw-sanger @@ -432,15 +437,15 @@ servers: chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, service, apache2-hosts, ulogd-hosts, lenny, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue + hostgroups: computers, service, apache2-hosts, ulogd-hosts, lenny, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim geo3: address: 195.20.242.125 parents: schumann - hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts + hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts, kvmdomains soler: address: 195.20.242.126 parents: schumann - hostgroups: computers, service, lenny, hasbootfs, hassrvfs + hostgroups: computers, service, lenny, hasbootfs, hassrvfs, kvmdomains caballero: address: 193.201.200.200 @@ -450,7 +455,7 @@ servers: pescetti: address: 217.114.76.85 parents: gw-nmmn - hostgroups: computers, porterbox, single-cpu, smart, lenny + hostgroups: computers, porterbox, single-cpu, smart, lenny, hasorgfs kassia: address: 130.89.149.224 @@ -483,12 +488,12 @@ servers: spontini: address: 137.82.84.65 parents: gw-ubc - hostgroups: computers, buildd, hasbootfs, lenny + hostgroups: computers, buildd, hasbootfs, lenny, hasorgfs contacts: lfilipoz ravel: address: 206.12.19.5 parents: gw-ubcnew - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts, hasbootfs, lenny, nfs-server, rsyncd-hosts, bind9-hosts, uploadqueue + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, ftpd-hosts, hasbootfs, lenny, nfs-server, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim dijkstra: address: 206.12.19.218 parents: gw-ubcnew @@ -500,50 +505,50 @@ servers: wolkenstein: address: 206.12.19.116 parents: dijkstra - hostgroups: computers, lenny, hasbootfs, hassrvfs + hostgroups: computers, lenny, hasbootfs, hassrvfs, kvmdomains brahms: address: 206.12.19.115 parents: dijkstra - hostgroups: computers, lenny, buildd, hasbootfs, hassrvfs + hostgroups: computers, lenny, buildd, hasbootfs, hassrvfs, kvmdomains geo2: address: 206.12.19.113 parents: dijkstra - hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts + hostgroups: computers, service, lenny, hasbootfs, single-cpu, bind9-hosts, kvmdomains duarte: address: 206.12.19.114 parents: dijkstra - hostgroups: computers, lenny, hasbootfs, hassrvfs, single-cpu + hostgroups: computers, lenny, hasbootfs, hassrvfs, apache2-hosts, kvmdomains valente: address: 206.12.19.112 parents: dijkstra - hostgroups: computers, lenny, hasbootfs, single-cpu, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts + hostgroups: computers, lenny, hasbootfs, single-cpu, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim bellini: address: 137.82.84.79 parents: gw-ubc hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim morricone: - address: 137.82.84.81 - parents: gw-ubc - hostgroups: computers, lenny, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts + address: 206.12.19.9 + parents: gw-ubcnew + hostgroups: computers, lenny, hasbootfs, hassrvfs, aacraid, postgres83-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim stabile: address: 137.82.84.72 parents: gw-ubc - hostgroups: computers, lenny, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts + hostgroups: computers, lenny, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts cimarosa: address: 137.82.84.80 parents: gw-ubc - hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs, nfs-client + hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs, nfs-client, heavy-exim paganini: - address: 137.82.84.82 - parents: gw-ubc + address: 206.12.19.10 + parents: gw-ubcnew hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs respighi: address: 137.82.84.83 parents: gw-ubc hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs vivaldi: - address: 137.82.84.84 - parents: gw-ubc + address: 206.12.19.12 + parents: gw-ubcnew hostgroups: computers, lenny, hasbootfs, aacraid, hassrvfs # MSA 2000 (2012i) giustini: @@ -557,11 +562,11 @@ servers: lebrun: address: 193.198.184.10 parents: gw-carnet - hostgroups: computers, buildd, sw-raid, lenny + hostgroups: computers, buildd, sw-raid, lenny, hasorgfs schroeder: address: 193.198.184.11 parents: gw-carnet - hostgroups: computers, buildd, sw-raid, hasbootfs, lenny + hostgroups: computers, buildd, sw-raid, hasbootfs, lenny, hasorgfs tartini: address: 82.94.249.158 @@ -571,7 +576,7 @@ servers: piatti: address: 193.167.161.225 parents: gw-helsinki - hostgroups: computers, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, lenny, hasbootfs, incomingmailrelayed2025 + hostgroups: computers, dl385, ulogd-hosts, acpid-hosts, apache2-hosts, lenny, hasbootfs, incomingmailrelayed2025, hasorgfs contacts: holger rem: @@ -601,7 +606,7 @@ servers: schein: address: 149.20.20.6 parents: gw-isc - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, lenny, dl360, bind9-hosts + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, acpid-hosts, lenny, dl360, bind9-hosts, hasorgfs praetorius: address: 130.239.18.121 @@ -686,6 +691,10 @@ hostgroups: alias: hosts not running samhain properly private: 1 + kvmdomains: + alias: Hosts that are KVM domains + private: 1 + postfix-hosts: alias: hosts running postfix instead of exim private: 1 @@ -765,6 +774,9 @@ hostgroups: hassrvfs: alias: hosts with a /srv filesystem private: 1 + hasorgfs: + alias: hosts with a /org filesystem + private: 1 hashomefs: alias: hosts with a /home filesystem private: 1 @@ -841,12 +853,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers - excludehosts: ries, klecker + excludehosts: ries, klecker, kassia - name: disk usage on / servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 93 96 /" - hosts: ries, klecker + nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /" + hosts: ries, klecker, kassia - name: disk usage on /boot servicegroups: diskspace @@ -861,7 +873,7 @@ services: name: disk usage on /org servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" - hosts: sperger, raff, lobos, villa, steffani, saens, pergolesi, spontini, ravel, mahler, schroeder, piatti, pescetti, widor, schein, lebrun + hostgroups: hasorgfs - name: disk usage on /org servicegroups: diskspace @@ -1485,6 +1497,23 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460 + ### + - + name: HW - hpasmcli status + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" + normal_check_interval: 120 + hostgroups: dl385, dl380, dl360, bl460 + excludehosts: villa, lobos, liszt, senfl, schein, rore + - + name: HW - hpasmcli status + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant" + normal_check_interval: 120 + hosts: villa, lobos, liszt + - + name: HW - hpasmcli status + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant" + normal_check_interval: 120 + hosts: senfl, schein, rore ### - name: RAID - areca @@ -1544,7 +1573,7 @@ services: name: unexpected process - acpid nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C acpid" hostgroups: computers - excludehostgroups: acpid-hosts + excludehostgroups: acpid-hosts, kvmdomains ### - @@ -1805,7 +1834,7 @@ services: - name: process - buildd servicegroups: buildd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u buildd -C buildd '/usr/bin/perl /usr/bin/buildd'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u buildd -C buildd -a '/usr/bin/buildd'" hostgroups: buildd contacts: luk @@ -1933,3 +1962,8 @@ services: remotecheck: "/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C public -P 2c -o connUnitStatus -n -c 3 -w 3" runfrom: dijkstra hosts: giustini + - + name: event log + remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=0 $HOSTADDRESS$ public" + runfrom: dijkstra + hosts: giustini