X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=7ed8143e92c6ac477e1a148dfcaa6474b520efb2;hb=79165a67146744cead76674d58a21b10e0cb40f3;hp=6b3862fc0ac3600c873bf994b990a8f33590cae6;hpb=d40a327ee20360ae13326b896e5fc226c4e71ebe;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 6b3862f..7ed8143 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -271,7 +271,7 @@ servers: fasolo: address: 138.16.160.17 parents: gw-brown - hostgroups: computers, service, apache2-hosts, apache-https, dl380, hpnewraid, rsyncd-systemd-hosts, jessie, hassrvfs, postgres94-hosts + hostgroups: computers, service, apache2-hosts, apache-https, dl380, rsyncd-systemd-hosts, jessie, hassrvfs, postgres94-hosts # }}} # {{{ gw-bytemark bm-bl1: @@ -380,7 +380,7 @@ servers: backuphost: address: 5.153.231.12 parents: ganeti-bytemark - hostgroups: computers, hassrvfs, kvmdomains, jessie, systemd-timesyncd + hostgroups: computers, hassrvfs, kvmdomains, stretch, systemd-timesyncd philp: address: 5.153.231.13 parents: ganeti-bytemark @@ -430,7 +430,7 @@ servers: olin: address: 5.153.231.26 parents: ganeti-bytemark - hostgroups: computers, kvmdomains, jessie, systemd-timesyncd + hostgroups: computers, kvmdomains, stretch, systemd-timesyncd barriere: address: 5.153.231.27 parents: ganeti-bytemark @@ -503,7 +503,7 @@ servers: casulana: address: 5.153.231.41 parents: gw-bytemark - hostgroups: computers, service, stretch, hpnewraid, hassrvfs, dl380 + hostgroups: computers, service, stretch, hassrvfs, dl380 # }}} # {{{ gw-c3sl santoro: @@ -516,7 +516,7 @@ servers: mirror-anu: address: 150.203.164.39 parents: gw-cecsit - hostgroups: computers, service, apache2-hosts, dl360, hpnewraid, hassrvfs, stretch, apache-https + hostgroups: computers, service, apache2-hosts, dl360, hassrvfs, stretch, apache-https mirror-anu2: address: 150.203.164.60 parents: mirror-anu @@ -666,7 +666,7 @@ servers: mirror-isc: address: 149.20.4.13 parents: gw-isc - hostgroups: computers, service, apache2-hosts, apache-https, dl360, hpnewraid, hassrvfs, xinetd-hosts, jessie, security_mirror + hostgroups: computers, service, apache2-hosts, apache-https, dl360, hassrvfs, xinetd-hosts, jessie, security_mirror mirror-isc2: address: 149.20.4.14 parents: mirror-isc @@ -873,7 +873,7 @@ servers: sallinen: address: 193.62.202.26 parents: gw-sanger - hostgroups: computers, service, stretch, dl380, hpnewraid, nfs-client, autofs + hostgroups: computers, service, stretch, dl380, nfs-client, autofs sibelius: address: 193.62.202.28 parents: gw-sanger @@ -893,7 +893,7 @@ servers: villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, rsyncd-systemd-hosts, dl360, hassrvfs, jessie, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-systemd-hosts, dl360, hassrvfs, stretch, security_mirror # }}} # {{{ gw-sil eberlin: @@ -979,19 +979,19 @@ servers: ubc-enc2bl01: address: 209.87.16.1 parents: ubc-gateway - hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts ubc-enc2bl02: address: 209.87.16.2 parents: ubc-gateway - hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts ubc-enc2bl09: address: 209.87.16.9 parents: ubc-gateway - hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts ubc-enc2bl10: address: 209.87.16.10 parents: ubc-gateway - hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid + hostgroups: computers, bl460g8, service, jessie, multipath-hosts rachmaninoff: address: 209.87.16.20 @@ -1084,6 +1084,10 @@ servers: address: 209.87.16.43 parents: ubc-gateway hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https, nfs-client, autofs, systemd-timesyncd + godard: + address: 209.87.16.44 + parents: ubc-gateway + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, apache2-hosts, apache-https, systemd-timesyncd, postfix-hosts, postgres96-hosts # }}} # {{{ gw-umn #saens: @@ -1093,7 +1097,7 @@ servers: mirror-umn: address: 128.101.240.212 parents: gw-umn - hostgroups: computers, service, apache2-hosts, apache-https, dl360, hpnewraid, hassrvfs, jessie, security_mirror + hostgroups: computers, service, apache2-hosts, apache-https, dl360, hassrvfs, jessie, security_mirror mirror-umn2: address: 128.101.240.215 parents: mirror-umn @@ -1155,7 +1159,7 @@ servers: antheil: address: 144.32.168.76 parents: gw-ynic - hostgroups: computers, hasbootfs, hassrvfs, armhf, jessie, buildd + hostgroups: computers, hasbootfs, hassrvfs, armhf, stretch, buildd #antheil: # address: 217.140.96.60 # parents: gw-arm @@ -1225,9 +1229,6 @@ hostgroups: general: alias: general purpose developer accessible machines - hpnewraid: - alias: new (2015+) machines where we need hpssacli instead of hpacucli - private: 1 dl380: alias: HP DL380 hosts private: 1 @@ -2121,13 +2122,11 @@ services: excludehostgroups: sw-raid ### - - name: HW - hpacucli status + name: HW - HP raid status servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" + nrpe: "if [ -e /var/cache/dsa/nagios/dsa-check-hpssacli ] ; then /usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/dsa-check-hpssacli ; else /usr/lib/nagios/plugins/dsa-check-hpacucli; fi" check_interval: 120 hostgroups: dl380, dl360, bl460, bl460g8, dl180 - excludehosts: busoni - excludehostgroups: hpnewraid - name: HW - hpacucli status servicegroups: raid @@ -2140,12 +2139,6 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-battery" check_interval: 120 hosts: busoni - - - name: HW - hpssacli status - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-hpssacli" - check_interval: 120 - hostgroups: hpnewraid ### # - # name: HW - edac status @@ -2367,16 +2360,39 @@ services: name: process - postfix - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'" hostgroups: postfix-hosts + excludehostgroups: stretch + - + name: process - postfix - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/sbin/master'" + hostgroups: postfix-hosts + excludehostgroups: jessie + - name: process - postfix - qmgr nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'" hostgroups: postfix-hosts depends: process - postfix - master + excludehostgroups: stretch + - + name: process - postfix - qmgr + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t unix -u'" + hostgroups: postfix-hosts + depends: process - postfix - master + excludehostgroups: jessie + - name: process - postfix - pickup nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'" hostgroups: postfix-hosts depends: process - postfix - master + excludehostgroups: stretch + - + name: process - postfix - pickup + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t unix -u -c'" + hostgroups: postfix-hosts + depends: process - postfix - master + excludehostgroups: jessie + - name: process - postfix - anvil nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'" @@ -2406,7 +2422,7 @@ services: - name: network service local - smtps cert - nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 465 -S -C 14 -t 45" + nrpe: "/usr/lib/nagios/plugins/check_smtp -H localhost -S -D 14" hostgroups: postfix-hosts depends: process - postfix - master check_interval: 120