From: Peter Palfrader Date: Tue, 21 Feb 2017 10:39:18 +0000 (+0100) Subject: pg96 on melartin X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=fb73a80fee7a1feb5b1d0c87a6039098b471e72e;p=mirror%2Fdsa-nagios.git pg96 on melartin --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 67ccfc3..406677c 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -650,7 +650,7 @@ servers: melartin: address: 194.177.211.208 parents: ganeti-grnet - hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd + hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd, postgres96-hosts # }}} # {{{ gw-isc mirror-isc: @@ -1302,6 +1302,9 @@ hostgroups: postgres94-hosts: alias: hosts running postgres94 private: 1 + postgres96-hosts: + alias: hosts running postgres96 + private: 1 no-ulogd: alias: hosts not running ulogd private: 1 @@ -2499,7 +2502,7 @@ services: name: unwanted process - postgresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres91-hosts, postgres94-hosts + excludehostgroups: postgres91-hosts, postgres94-hosts, postgres96-hosts - name: unwanted process - postgresql 9.0 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'" @@ -2512,6 +2515,10 @@ services: name: process - postgresql94 - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.4/bin/postgres'" hostgroups: postgres94-hosts + - + name: process - postgresql96 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.6/bin/postgres'" + hostgroups: postgres96-hosts - name: postgresql backups nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg"