From 4030d940d036742e3cf2ff2fa3fdba9ed7a378d3 Mon Sep 17 00:00:00 2001 From: seti Date: Tue, 23 Feb 2016 20:51:18 +0100 Subject: [PATCH] Update Version to CE: 0.16.1.7533 --- README.md | 4 ++-- init.sh | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b134000..d49eb48 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Observium is an autodiscovering network monitoring platform supporting a wide ra Version === -- Observium CE: 0.15.6.6430 with bugfix from 28/06/2015 +- Observium CE: 0.16.1.7533 --- Plugin support (new) @@ -107,4 +107,4 @@ Credits - Observium Community is an open source project and is copyright Observium Limited - This docker image is built upon the baseimage made by phusion -- Thx to https://github.com/laf/ for the weathermap plugin +- Thx to https://github.com/laf/ for the weathermap plugin diff --git a/init.sh b/init.sh index ca972e1..f80867e 100644 --- a/init.sh +++ b/init.sh @@ -60,8 +60,8 @@ if [ -n "${MYSQL_PORT_3306_TCP_ADDR}" ]; then # support for linked sameersbn/mysql image DB_USER=${DB_USER:-${MYSQL_ENV_DB_USER}} DB_PASS=${DB_PASS:-${MYSQL_ENV_DB_PASS}} - DB_NAME=${DB_NAME:-${MYSQL_ENV_DB_NAME}} - + DB_NAME=${DB_NAME:-${MYSQL_ENV_DB_NAME}} + # support for linked orchardup/mysql and enturylink/mysql image # also supports official mysql image DB_USER=${DB_USER:-${MYSQL_ENV_MYSQL_USER}} @@ -101,7 +101,8 @@ sed -i "/\$config\['log_dir'\].*;/d" /data/config/config.php echo "\$config['rrd_dir'] = \"/data/rrd\";" >> /data/config/config.php echo "\$config['log_file'] = \"/data/logs/observium.log\";" >> /data/config/config.php echo "\$config['log_dir'] = \"/data/logs\";" >> /data/config/config.php - +sed -i "/\$config\['db_extension'\] = 'mysqli';/d" /data/config/config.php +echo "\$config['db_extension'] = 'mysqli';" >> /data/config/config.php # checking for supported plugins #weathermap if [ -d /data/plugins/weathermap ]; then @@ -144,4 +145,4 @@ if [ -z "${COUNT}" -o ${COUNT} -eq 0 ]; then fi echo "/opt/observium/discovery.php -u" | at -M now + 1 minute -echo "/opt/observium/discovery.php -h all" | at -M now + 2 minute \ No newline at end of file +echo "/opt/observium/discovery.php -h all" | at -M now + 2 minute