unwanted process - postresql check
authorPeter Palfrader <peter@palfrader.org>
Sat, 25 Sep 2010 18:12:13 +0000 (20:12 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 25 Sep 2010 18:12:13 +0000 (20:12 +0200)
config/nagios-master.cfg

index 5e25ddc..b6c7734 100644 (file)
@@ -2063,6 +2063,11 @@ services:
   #  hostgroups: postgres81-hosts
   #  depends: process - postresql81 - master
  ####
+  -
+    name: unwanted process - postresql
+    nrpe: "check_procs -w 0 -C postgres"
+    hostgroups: computers
+    excludehostgroups: postgres84-hosts, postgres83-hosts
   -
     name: process - postresql84 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"