#postgres81-hosts:
# alias: hosts running postgres81
# private: 1
- postgres84-hosts:
- alias: hosts running postgres84
- private: 1
postgres91-hosts:
alias: hosts running postgres91
private: 1
name: unwanted process - postgresql
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres"
hostgroups: computers
- excludehostgroups: postgres84-hosts, postgres91-hosts, deadslow
+ excludehostgroups: postgres91-hosts, deadslow
-
name: unwanted process - postgresql 9.0
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'"
name: process - postgresql91 - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.1/bin/postgres'"
hostgroups: postgres91-hosts
- -
- name: process - postgresql84 - 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: postgresql backups
nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg"