Просмотр исходного кода

Fix monitoring config for apache/postgresql.

John Giannelos 8 лет назад
Родитель
Сommit
66cc560281

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_apache2 Просмотреть файл

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

+ 1
- 1
roles/monitoring/files/etc_monit_conf.d_pgsql Просмотреть файл

@@ -1,4 +1,4 @@
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 2
   group database
3 3
   start program = "systemctl start postgresql"
4 4
   stop program = "systemctl stop postgresql"

Загрузка…
Отмена
Сохранить