tartini runs apache and mysql
tartini:
address: 82.94.249.158
parents: gw-telegraaf
tartini:
address: 82.94.249.158
parents: gw-telegraaf
- hostgroups: computers, sw-raid
+ hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts
piatti:
address: 193.167.161.225
piatti:
address: 193.167.161.225
postgres81-hosts:
alias: hosts running postgres81
private: 1
postgres81-hosts:
alias: hosts running postgres81
private: 1
+ mysql-hosts:
+ alias: hosts running mysql
+ private: 1
highload:
alias: "hosts on which high load is normal"
highload:
alias: "hosts on which high load is normal"
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
hostgroups: postgres81-hosts
depends: process - postresql81 - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'"
hostgroups: postgres81-hosts
depends: process - postresql81 - master
+ ####
+ -
+ name: process - mysql - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'"
+ hostgroups: mysql-hosts
+ -
+ name: process - mysql - workers
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld"
+ hostgroups: mysql-hosts
+ depends: process - mysql - master