On Windows --export-statsd terminates immediately and does not export. #1067

pull/1073/head
nicolargo 2017-03-27 16:59:12 +02:00
parent ae4abc3c07
commit 6ef3976358
3 changed files with 17 additions and 6 deletions

7
NEWS
View File

@ -19,6 +19,13 @@ Bugs corrected:
* Sensor values don't refresh since psutil backend (issue #1061)
* glances-version.db Permission denied (issue #1066)
Version 2.8.9
=============
Bugs corrected:
* On Windows --export-statsd terminates immediately and does not export (issue #1067)
Version 2.8.8
=============

View File

@ -83,9 +83,9 @@ def start(config, args):
# Load mode
global mode
if core.is_standalone() and not WINDOWS:
if core.is_standalone():
from glances.standalone import GlancesStandalone as GlancesMode
elif core.is_client() and not WINDOWS:
elif core.is_client():
if core.is_client_browser():
from glances.client_browser import GlancesClientBrowser as GlancesMode
else:

View File

@ -369,13 +369,17 @@ Examples of use:
# Export is only available in standalone or client mode (issue #614)
export_tag = (
args.export_csv or
args.export_elasticsearch or
args.export_statsd or
args.export_influxdb or
args.export_cassandra or
args.export_couchdb or
args.export_elasticsearch or
args.export_influxdb or
args.export_kafka or
args.export_opentsdb or
args.export_prometheus or
args.export_rabbitmq or
args.export_couchdb
args.export_riemann or
args.export_statsd or
args.export_zeromq
)
if WINDOWS and export_tag:
# On Windows, export is possible but only in quiet mode