Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
monag
monasca-ansible
Commits
5f3a6333
Commit
5f3a6333
authored
Mar 22, 2017
by
Flávio Ramalho
Browse files
Updated influxdb version to 1.1.0
parent
5506af14
Changes
4
Hide whitespace changes
Inline
Side-by-side
roles/os_monasca/defaults/main.yml
View file @
5f3a6333
...
...
@@ -54,7 +54,7 @@ os_mon_agent_password: "password"
mysql_root_pass
:
"
password"
## InfluxDB
influxdb_version
:
"
0.9.5
"
influxdb_version
:
"
1.1.0
"
## Kafka
base_kafka_version
:
"
0.8.1.1"
...
...
roles/os_monasca/tasks/install_influxdb.yml
View file @
5f3a6333
...
...
@@ -15,7 +15,7 @@
-
name
:
Download influxdb
get_url
:
url
:
"
http://
s3.amazonaws
.com/influxdb/influxdb_{{
influxdb_version
}}_amd64.deb"
url
:
"
http
s
://
dl.influxdata
.com/influxdb/
releases/
influxdb_{{
influxdb_version
}}_amd64.deb"
dest
:
"
/root/influxdb_{{
influxdb_version
}}_amd64.deb"
mode
:
0440
tags
:
...
...
roles/os_monasca/templates/influxdb/influxdb.conf.j2
View file @
5f3a6333
# {{ ansible_managed }}
### Welcome to the InfluxDB configuration file.
# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
...
...
@@ -126,13 +124,14 @@ reporting-disabled = false
purge-interval = "1h"
###
### [cluster]
### In v1.0.0 [cluster] was replaced with [coordinator]
### [coordinator]
###
### Controls non-Raft cluster behavior, which generally includes how data is
### shared across shards.
###
[c
luste
r]
[c
oordinato
r]
shard-writer-timeout = "10s" # The time within which a shard must respond to write.
write-timeout = "5s" # The time within which a write operation must complete on the cluster.
...
...
@@ -245,12 +244,13 @@ reporting-disabled = false
# ignore-unnamed = true
###
### [collectd]
### In v1.0.0 support for config option [collectd] was replaced with [[collectd]]
### [[collectd]]
###
### Controls the listener for collectd data.
###
[collectd]
[
[collectd]
]
enabled = false
# bind-address = ""
# database = ""
...
...
@@ -266,12 +266,13 @@ reporting-disabled = false
# read-buffer = 0 # UDP Read buffer size, 0 means OS default. UDP listener will fail if set above OS max.
###
### [opentsdb]
### In v1.0.0 support for config option [opentsdb] was replaced with [[opentsdb]]
### [[opentsdb]]
###
### Controls the listener for OpenTSDB data.
###
[opentsdb]
[
[opentsdb]
]
enabled = false
# bind-address = ":4242"
# database = "opentsdb"
...
...
roles/os_monasca/templates/monasca-thresh/thresh-config.yml.j2
View file @
5f3a6333
...
...
@@ -109,7 +109,7 @@ sporadicMetricNamespaces:
- foo
database:
driverClass: com.mysql.jdbc.
Driver
driverClass:
"
com.mysql.jdbc.
jdbc2.optional.MysqlDataSource"
url: "jdbc:mysql://{{ ansible_default_ipv4.address }}/mon?useSSL=true"
user: "thresh"
password: "password"
...
...
@@ -119,12 +119,28 @@ database:
maxWaitForConnection: 1s
# the SQL query to run when validating a connection's liveness
validationQuery: "/*
MyService
Health Check */ SELECT 1"
validationQuery: "/*
mysql
Health Check */ SELECT 1"
# the minimum number of connections to keep open
minSize: 8
# the maximum number of connections to keep open
maxSize: 41
# flag indicates if Hibernate support enabled
hibernateSupport: false
maxSize: 41
# hibernate provider class
providerClass: com.zaxxer.hikari.hibernate.HikariConnectionProvider
# database name
databaseName: mon
# server name/address
serverName: {{ ansible_default_ipv4.address }}
# server port number
portNumber: 3306
# hibernate auto configuretion parameter
autoConfig: validate
Flávio Ramalho
@flaviosr
mentioned in commit
1a38a8ba
·
Mar 22, 2017
mentioned in commit
1a38a8ba
mentioned in commit 1a38a8ba60fcbf2e0a46476531af4c582cc6eb87
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment