pg96 on melartin
authorPeter Palfrader <peter@palfrader.org>
Tue, 21 Feb 2017 10:39:18 +0000 (11:39 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 21 Feb 2017 10:39:18 +0000 (11:39 +0100)
config/nagios-master.cfg

index 67ccfc3..406677c 100644 (file)
@@ -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"