Переглянути джерело

Fix monitoring config for apache/postgresql.

John Giannelos 8 роки тому
джерело
коміт
66cc560281

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_apache2 Переглянути файл

1
-check process apache2 with pidfile /var/run/apache2.pid
1
+check process apache2 with pidfile /var/run/apache2/apache2.pid
2
   group www
2
   group www
3
   start program = "systemctl start apache2"
3
   start program = "systemctl start apache2"
4
   stop program = "systemctl stop apache2"
4
   stop program = "systemctl stop apache2"

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_pgsql Переглянути файл

1
-check process postgres with pidfile /var/run/postgresql/9.1-main.pid
1
+check process postgres with pidfile /var/run/postgresql/9.4-main.pid
2
   group database
2
   group database
3
   start program = "systemctl start postgresql"
3
   start program = "systemctl start postgresql"
4
   stop program = "systemctl stop postgresql"
4
   stop program = "systemctl stop postgresql"

Завантаження…
Відмінити
Зберегти