Skip to content

Commit

Permalink
Bring defaults inline with documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Feb 24, 2018
1 parent 9b14206 commit a1676c6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
26 changes: 18 additions & 8 deletions .env.example
Expand Up @@ -80,18 +80,28 @@ MAIL_HOST=localhost
MAIL_PORT=25
MAIL_ENCRYPTION=""


#######################################################################################
### Graphing - see https://ixp-manager.readthedocs.org/en/latest/features/grapher.html
### Graphing - see http://docs.ixpmanager.org/features/grapher/

GRAPHER_BACKENDS="dummy"

#GRAPHER_BACKEND_MRTG_WORKDIR="/tmp"
#GRAPHER_BACKEND_MRTG_LOGDIR="http://stats.example.com/mrtg"
#GRAPHER_BACKEND_SFLOW_ENABLED=true
#GRAPHER_BACKEND_SFLOW_ROOT="http://sflow.example.com/sflow"
#GRAPHER_CACHE_ENABLED=true
# GRAPHER_CACHE_ENABLED=true

# For backwards compatibility, the default is 'log' but 'rrd' is more modern:
# GRAPHER_BACKEND_MRTG_DBTYPE="rrd"

# The defaults for these are '/tmp' to require you to change them to something
# more sensible such as:
# GRAPHER_BACKEND_MRTG_WORKDIR="/srv/mrtg"
# GRAPHER_BACKEND_MRTG_LOGDIR="/srv/mrtg"

# GRAPHER_BACKEND_SFLOW_ENABLED=false
# GRAPHER_BACKEND_SFLOW_ROOT="http://sflow-server.example.com/grapher-sflow"

# GRAPHER_BACKEND_SMOKEPING_ENABLED=false
# GRAPHER_SMOKEPING_URL="http://smokeping-server.example.com/smokeping"

# Smokeping - see: http://docs.ixpmanager.org/features/skinning/
#GRAPHER_SMOKEPING_URL="http://www.example.com/smokeping"


#######################################################################################
Expand Down
2 changes: 1 addition & 1 deletion config/grapher.php
Expand Up @@ -68,7 +68,7 @@
'show_graphs_on_index_page' => env( 'GRAPHER_BACKEND_SFLOW_SHOW_ON_INDEX', false ),

// where to find the MRTG rrd files
'root' => env( 'GRAPHER_BACKEND_SFLOW_ROOT', 'http://www.example.com/' ),
'root' => env( 'GRAPHER_BACKEND_SFLOW_ROOT', 'http://sflow-server.example.com/grapher-sflow' ),
]

],
Expand Down

0 comments on commit a1676c6

Please sign in to comment.