mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 20:07:23 -04:00
Merge branch 'issue1487' into develop
This commit is contained in:
3
NEWS
3
NEWS
@@ -12,7 +12,8 @@ Enhancements and new features:
|
||||
* Add authprovider for cassandra export (thanks to @EmilienMottet) #1395
|
||||
* Curses's browser server list sorting added (thanks to @limfreee) #1396
|
||||
* ElasticSearch: add date to index, unbreak object push (thanks to @genevera) # 1438
|
||||
* Performance issue with large folder #1491
|
||||
* Performance issue with large folder #1491
|
||||
* Can't connect to influxdb with https enabled #1497
|
||||
|
||||
Bugs corrected:
|
||||
|
||||
|
||||
@@ -341,6 +341,7 @@ style=DarkStyle
|
||||
# https://influxdb.com/
|
||||
host=localhost
|
||||
port=8086
|
||||
protocol=http
|
||||
user=root
|
||||
password=root
|
||||
db=glances
|
||||
|
||||
@@ -12,6 +12,7 @@ following:
|
||||
[influxdb]
|
||||
host=localhost
|
||||
port=8086
|
||||
protocol=http
|
||||
user=root
|
||||
password=root
|
||||
db=glances
|
||||
@@ -27,6 +28,8 @@ Glances generates a lot of columns, e.g., if you have many running
|
||||
Docker containers, so you should use the ``tsm1`` engine in the InfluxDB
|
||||
configuration file (no limit on columns number).
|
||||
|
||||
Note: if you want to use SSL, please set 'protocol=https'.
|
||||
|
||||
Grafana
|
||||
-------
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.\" Man page generated from reStructuredText.
|
||||
.
|
||||
.TH "GLANCES" "1" "Jun 12, 2019" "3.1.1b0" "Glances"
|
||||
.TH "GLANCES" "1" "Jul 03, 2019" "3.1.1b0" "Glances"
|
||||
.SH NAME
|
||||
glances \- An eye on your system
|
||||
.
|
||||
|
||||
@@ -41,6 +41,7 @@ class Export(GlancesExport):
|
||||
self.db = None
|
||||
|
||||
# Optionals configuration keys
|
||||
self.protocole = 'http'
|
||||
self.prefix = None
|
||||
self.tags = None
|
||||
|
||||
@@ -49,7 +50,9 @@ class Export(GlancesExport):
|
||||
mandatories=['host', 'port',
|
||||
'user', 'password',
|
||||
'db'],
|
||||
options=['prefix', 'tags'])
|
||||
options=['protocol',
|
||||
'prefix',
|
||||
'tags'])
|
||||
if not self.export_enable:
|
||||
sys.exit(2)
|
||||
|
||||
@@ -64,6 +67,8 @@ class Export(GlancesExport):
|
||||
try:
|
||||
db = InfluxDBClient(host=self.host,
|
||||
port=self.port,
|
||||
ssl=(self.protocol.lower() == 'https'),
|
||||
verify_ssl=False,
|
||||
username=self.user,
|
||||
password=self.password,
|
||||
database=self.db)
|
||||
|
||||
Reference in New Issue
Block a user