Increase periods and decrease cache, fix permissions

This commit is contained in:
Alex 2020-06-05 14:58:45 +02:00
parent 34446e5a56
commit 695d1a5b91
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 10 additions and 7 deletions

View File

@ -1,6 +1,8 @@
---
- hosts: monitoring
vars:
file:
- { path: "/etc/telegraf/telegraf.conf", owner: "telegraf", group: "root", mode: "700", state: file }
apt:
sign_keys:
- "https://packages.grafana.com/gpg.key"
@ -42,12 +44,12 @@
region: "eu-central-1",
access_key: "{{ vault_telegraf.aws.access_key }}",
secret_key: "{{ vault_telegraf.aws.secret_key }}",
period: "24h",
interval: "6h",
period: "48h",
interval: "12h",
namespace: "AWS/S3",
ratelimit: 50,
statistic_include: ["average"],
cache_ttl: "12h"
cache_ttl: "1h"
}
- {
region: "eu-west-1",
@ -58,18 +60,18 @@
namespace: "AWS/SES",
ratelimit: 15,
statistic_include: ["average"],
cache_ttl: "12h"
cache_ttl: "1h"
}
- {
region: "us-east-1",
access_key: "{{ vault_telegraf.aws.access_key }}",
secret_key: "{{ vault_telegraf.aws.secret_key }}",
period: "12h",
period: "24h",
interval: "6h",
namespace: "AWS/Billing",
ratelimit: 15,
statistic_include: ["average"],
cache_ttl: "6h"
cache_ttl: "1h"
}
grafana:
listen:
@ -105,4 +107,5 @@
- apt
- grafana
- telegraf
- file
- systemd

@ -1 +1 @@
Subproject commit b1b681d8a0e373a70d4d92a4103b38ce4b5131d7
Subproject commit 4fc8822849cb753d95dfbceb086f00c0103a4f21