Группа :: Мониторинг
Пакет: observium-ce
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: observium-ce-20.9-alt-config.patch
Скачать
Скачать
diff --git a/observium/poller-wrapper.py b/observium/poller-wrapper.py
index 00b8cdb..5a88cff 100755
--- a/observium/poller-wrapper.py
+++ b/observium/poller-wrapper.py
@@ -257,7 +257,7 @@ processname = scriptname + ' ' + process
"""
ob_install_dir = os.path.dirname(os.path.realpath(__file__))
-config_file = ob_install_dir + '/config.php'
+config_file = '/etc/observium-ce/config.php'
def get_config_data():
config_cmd = ['/usr/bin/env', 'php', '%s/config_to_json.php' % ob_install_dir]