aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-10-22 23:01:57 +0200
committerKristian Lyngstol <kly@kly.no>2016-10-22 23:01:57 +0200
commit0f26dbca2a8ba416cb38002a9463cf80f27487c3 (patch)
tree6b4dc2874a855db47dcf9ad62ffce97b06660c06 /build
parent57c27b76fbb7dcc7477a573585f1366364bccdd6 (diff)
More PoC-style graphite integration + grafana
The grafana-bit is ok, but needs to be configured by hand (once). Also tweaks graphite to write new stuff faster. I suspect I will need a better way to handle the graphite/carbon insertion for both ping and snmp, but maybe UDP would solve it... Running tests tonight to get some data regardless.
Diffstat (limited to 'build')
-rw-r--r--build/carbon.conf2
-rw-r--r--build/test/gondul-grafana-test.Dockerfile2
2 files changed, 3 insertions, 1 deletions
diff --git a/build/carbon.conf b/build/carbon.conf
index e93ca58..f11df9a 100644
--- a/build/carbon.conf
+++ b/build/carbon.conf
@@ -58,7 +58,7 @@ MAX_UPDATES_PER_SECOND = 500
# database files to all get created and thus longer until the data becomes usable.
# Setting this value high (like "inf" for infinity) will cause graphite to create
# the files quickly but at the risk of slowing I/O down considerably for a while.
-MAX_CREATES_PER_MINUTE = 50
+MAX_CREATES_PER_MINUTE = 500
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003
diff --git a/build/test/gondul-grafana-test.Dockerfile b/build/test/gondul-grafana-test.Dockerfile
new file mode 100644
index 0000000..b7b442b
--- /dev/null
+++ b/build/test/gondul-grafana-test.Dockerfile
@@ -0,0 +1,2 @@
+FROM grafana/grafana
+