Skip to content
Snippets Groups Projects
Commit 8a61349f authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

replace sourcing of hartcodedconfig file in /etc

parent 45458961
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ IDC_svcathost__cachefile="${dir_data}/services_on_host__at-director.txt" ...@@ -51,7 +51,7 @@ IDC_svcathost__cachefile="${dir_data}/services_on_host__at-director.txt"
# helper to make http base setup for host actions # helper to make http base setup for host actions
function _initHttp(){ function _initHttp(){
# see inc_functions # see inc_functions
_initHttpWithConfigfile "/etc/icinga2-passive-client/api-director.cfg" _initHttpWithConfigfile "${dir_cfg}/api-director.cfg"
if [ $cfg_debug = true ]; then if [ $cfg_debug = true ]; then
http.setDebug 1 http.setDebug 1
fi fi
......
...@@ -51,7 +51,7 @@ typeset -i _rc_all=0 ...@@ -51,7 +51,7 @@ typeset -i _rc_all=0
# helper to make http base setup for host actions # helper to make http base setup for host actions
function _initHttp(){ function _initHttp(){
# see inc_functions # see inc_functions
_initHttpWithConfigfile "/etc/icinga2-passive-client/api-icinga2.cfg" _initHttpWithConfigfile "${dir_cfg}/api-icinga2.cfg"
if [ $debug -ne 0 ]; then if [ $debug -ne 0 ]; then
http.setDebug 1 http.setDebug 1
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment