more telegraf visibilty

This commit is contained in:
Ingolf Wagner 2023-03-12 10:01:18 +01:00
parent ac28c9679e
commit fa3f787348
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 4 additions and 0 deletions

View file

@ -20,6 +20,8 @@ in
}; };
# https://github.com/influxdata/telegraf/tree/master/plugins/inputs < all them plugins # https://github.com/influxdata/telegraf/tree/master/plugins/inputs < all them plugins
inputs = { inputs = {
cpu = {};
diskio = {};
x509_cert = [{ x509_cert = [{
sources = (map (url: "${url.url}:443") urls); sources = (map (url: "${url.url}:443") urls);
interval = "30m"; # agent.interval = "10s" is default interval = "30m"; # agent.interval = "10s" is default

View file

@ -8,6 +8,8 @@
}; };
# https://github.com/influxdata/telegraf/tree/master/plugins/inputs < all them plugins # https://github.com/influxdata/telegraf/tree/master/plugins/inputs < all them plugins
inputs = { inputs = {
cpu = {};
diskio = {};
processes = { }; processes = { };
systemd_units = { }; systemd_units = { };
nginx.urls = [ "http://localhost/nginx_status" ]; nginx.urls = [ "http://localhost/nginx_status" ];