Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Update Version to CE: 0.16.1.7533
Browse files Browse the repository at this point in the history
  • Loading branch information
setiseta committed Feb 23, 2016
1 parent a7a040a commit 4030d94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
9 changes: 5 additions & 4 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
echo "/opt/observium/discovery.php -h all" | at -M now + 2 minute

0 comments on commit 4030d94

Please sign in to comment.