X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-nagios.git;a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=3cbcad851c9872335d82b54cb12c622d96bdf094;hp=cd38076895a788ef9dc44433e045c2c375a87c6c;hb=8deb3b867e05cc6e2fc4e6570fbcd5f94d1edc81;hpb=b3923761df2779305961f11dc4e953dc31624f00 diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index cd38076..3cbcad8 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -988,7 +988,7 @@ servers: buxtehude: address: 209.87.16.39 parents: ganeti2-ubc - hostgroups: computers, service, kvmdomains, buster, hassrvfs, apache2-hosts, heavy-exim, postgres96-hosts, hasvarlogfs, apache-https, spamd, nfs-server, systemd-timesyncd + hostgroups: computers, service, kvmdomains, buster, hassrvfs, apache2-hosts, heavy-exim, postgres11-hosts, hasvarlogfs, apache-https, spamd, nfs-server, systemd-timesyncd piu-slave-ubc-01: address: 209.87.16.42 parents: ganeti2-ubc @@ -1259,6 +1259,9 @@ hostgroups: xinetd-hosts: alias: hosts providing services via xinetd private: 1 + postgres11-hosts: + alias: hosts running postgres11 + private: 1 postgres96-hosts: alias: hosts running postgres96 private: 1 @@ -2487,11 +2490,15 @@ services: name: unwanted process - postgresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres96-hosts + excludehostgroups: postgres96-hosts, postgres11-hosts - name: unwanted process - postgresql 9.0 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'" hostgroups: computers + - + name: process - postgresql11 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/11/bin/postgres'" + hostgroups: postgres11-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'"