This commit is contained in:
@@ -63,7 +63,7 @@ fi
|
|||||||
|
|
||||||
if [ ! -z "$ICINGA2_INFLUXDB_HOST" ]; then
|
if [ ! -z "$ICINGA2_INFLUXDB_HOST" ]; then
|
||||||
echo set new influxdb host
|
echo set new influxdb host
|
||||||
sed -i "s|\(//\)*host = \".*\"|host = \"$ICINGA2_INFLUXDB_PASS\"|g" $ICINGA2_FILE_INFLUXDB_CONF
|
sed -i "s|\(//\)*host = \".*\"|host = \"$ICINGA2_INFLUXDB_HOST\"|g" $ICINGA2_FILE_INFLUXDB_CONF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$ICINGA2_INFLUXDB_PORT" ]; then
|
if [ ! -z "$ICINGA2_INFLUXDB_PORT" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user