Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
devops-workshop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Holt
devops-workshop
Compare revisions
d7f15e559e167f4d524a570f6aff5481489e7036 to master
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
alexholt/devops-workshop
Select target project
No results found
master
Select Git revision
Branches
master
Swap
Target
maikebre/devops-workshop
Select target project
mortennn/devops-workshop
alexholt/devops-workshop
rokasb/devops-workshop
fredrjul/devops-workshop
oyvihen/devops-workshop
martieje/devops-workshop
erlendrr/devops-workshop
akramber/devops-workshop
eddasv/devops-workshop
arvidjk/devops-workshop
sigurask/devops-workshop
nikolaiz/devops-workshop
wilhelbj/devops-workshop
pettelau/devops-workshop
eirsteir/devops-workshop
eskilgj/devops-workshop
stiande/devops-workshop
devops-workshop-test/devops-workshop
leonaro/devops-workshop
jonmkr/devops-workshop
idagh/devops-workshop
alekhal/devops-workshop
frodpede/devops-workshop
oahjellj/devops-workshop
freand/devops-workshop
devops-g10/devops-workshop
eivisha/devops-workshop
karolisw/devops-workshop
andetel/devops-workshop
erleronn/devops-workshop
ianpe/devops-workshop
fridtjbs/devops-workshop
jonathkd/devops-workshop
williagt/devops-workshop
augustsn/devops-workshop
helenwi/devops-workshop
maikebre/devops-workshop
magnusrf/devops-workshop
casperp/devops-workshop
simenshj/devops-workshop
emilhkl/devops-workshop
alexapr/devops-workshop
wiktorpm/devops-workshop
luannt/devops-workshop
robinru/devops-workshop
sebashes/devops-workshop
snorrsj/devops-workshop
gardaf/devops-workshop
jorgetei/devops-workshop
mmstene/devops-workshop
siveral/devops-workshop
mariskau/devops-workshop
veb/devops-workshop
jakobfk/devops-workshop
surya/devops-workshop
nicolahb/devops-workshop-32
amrevill/devops-workshop-group-17
vsbugge/devops-workshop-g-33
oscarss/devops-workshop-gr-25
nwlie/devops-workshop-gruppe-43
eriskjel/devops-workshop-22
jakob/devops-workshop-g40
leonehe/devops-prosjekt-g-37
martdam/devops-workshop-2022-g-34
sojohans/devops-workshop
magnulal/devops-workshop-group-28
lealr/devops-workshop-g-20
callumg/devops-workshop-gruppe-29
heinerlo/devops-workshop-group-17
lehoff/devops-workshop-group-18
alinahm/devops-workshop-group-10
andesei/devops-workshop-group-12
sigridwv/devops-workshop
filipbv/devops-workshop
amtvedt/devops-workshop
magngje/devops-workshop
henninss/devops-workshop
emillaa/devops-workshop-team-10
stials/devops-workshop
kjellit/devops-workshop
systemutvikling1/devops-workshop-gruppe-6
larstalian/devops-workshop-solo
martiiv/dev-ops-test-martin
servank/devops-workshop
emilkle/devops-workshop
85 results
d7f15e559e167f4d524a570f6aff5481489e7036
Select Git revision
Branches
master
Tags
Doing
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Using new version of Influx
· 434ffabc
Alexander Holt
authored
3 years ago
434ffabc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker-compose-logging.yaml
+9
-4
9 additions, 4 deletions
docker-compose-logging.yaml
glances.conf
+21
-0
21 additions, 0 deletions
glances.conf
runLogging
+1
-2
1 addition, 2 deletions
runLogging
with
31 additions
and
6 deletions
docker-compose-logging.yaml
View file @
434ffabc
...
...
@@ -7,12 +7,17 @@ services:
restart
:
always
ports
:
-
3000:3000
influxdb
:
image
:
influxdb
:1.7
image
:
influxdb
restart
:
always
environment
:
INFLUXDB_DB
:
glances
-
DOCKER_INFLUXDB_INIT_MODE=setup
-
DOCKER_INFLUXDB_INIT_USERNAME=admin
-
DOCKER_INFLUXDB_INIT_PASSWORD=adminadmin
-
DOCKER_INFLUXDB_INIT_ORG=ntnu
-
DOCKER_INFLUXDB_INIT_BUCKET=glances
-
DOCKER_INFLUXDB_INIT_RETENTION=1w
-
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=randomTokenValue
ports
:
-
8086:8086
This diff is collapsed.
Click to expand it.
glances.conf
View file @
434ffabc
...
...
@@ -353,6 +353,27 @@ prefix=localhost
# You can also use dynamic values
#tags=system:`uname -s`
[
influxdb2
]
# NOTE: localhost will NOT work here!
host
=
INSERT_IP_TO_VM_HERE
port
=
8086
protocol
=
http
org
=
ntnu
bucket
=
glances
token
=
randomTokenValue
# Prefix will be added for all measurement name
# Ex: prefix=foo
# => foo.cpu
# => foo.mem
# You can also use dynamic values
#prefix=foo
# Followings tags will be added for all measurements
# You can also use dynamic values.
# Note: hostname is always added as a tag
#tags=foo:bar,spam:eggs,domain:`domainname`
[
cassandra
]
# Configuration for the --export cassandra option
# Also works for the ScyllaDB
...
...
This diff is collapsed.
Click to expand it.
runLogging
View file @
434ffabc
...
...
@@ -7,6 +7,5 @@ fi
clear
echo
"Starting logsystem..."
sudo
-u
$SUDO_USER
touch
~/warnings.txt
# Run as normal user, so the file is created in the right home directory
glances
-C
glances.conf
--export
influxdb
-q
&
glances
-C
glances.conf
--export
influxdb2
-q
&
echo
"Done."
This diff is collapsed.
Click to expand it.