#postgres81-hosts:
# alias: hosts running postgres81
# private: 1
- postgres83-hosts:
- alias: hosts running postgres83
- private: 1
postgres84-hosts:
alias: hosts running postgres84
private: 1
name: unwanted process - postresql
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres"
hostgroups: computers
- excludehostgroups: postgres90-hosts, postgres84-hosts, postgres83-hosts
+ excludehostgroups: postgres90-hosts, postgres84-hosts
-
name: process - postresql90 - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.0/bin/postgres'"
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'"
hostgroups: postgres84-hosts
- -
- name: process - postresql83 - master
- nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres'"
- hostgroups: postgres83-hosts
#-
# name: process - postresql83 - master udd
# nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'"