Преглед на файлове

Merge pull request #541 from johngian/fix-monitoring

Fix monitoring config for apache/postgresql.
Sven Neuhaus преди 8 години
родител
ревизия
7af11cf4d4
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1
    1
      roles/monitoring/files/etc_monit_conf.d_apache2
  2. 1
    1
      roles/monitoring/files/etc_monit_conf.d_pgsql

+ 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"

Loading…
Отказ
Запис