diff --git a/monitoring/telegraf/telegraf.conf b/monitoring/telegraf/telegraf.conf index fb2db2c..1afa29f 100644 --- a/monitoring/telegraf/telegraf.conf +++ b/monitoring/telegraf/telegraf.conf @@ -339,59 +339,42 @@ interfaces = ["enx001e0636be71"] # Ping given url(s) and return statistics [[inputs.ping]] - ## Hosts to send ping packets to. + ## List of urls to ping urls = [ "fritz-box.fzirker.lan", "wlan-ap.fzirker.lan", "drax.fzirker.lan", "florianzirker.de", "t-online.de", - "8.8.8.8", # dns of google - "4.2.2.2", # dns of level3 + "8.8.8.8", + "4.2.2.2", "example.com" ] - interval = "60s" + ## Number of pings to send per collection (ping -c ) + # count = 1 - ## Method used for sending pings, can be either "exec" or "native". When set - ## to "exec" the systems ping command will be executed. When set to "native" - ## the plugin will send pings directly. - ## - ## While the default is "exec" for backwards compatibility, new deployments - ## are encouraged to use the "native" method for improved compatibility and - ## performance. - method = "native" + ## Interval, in s, at which to ping. 0 == default (ping -i ) + ## Not available in Windows. + ping_interval = 60.0 - ## Number of ping packets to send per interval. Corresponds to the "-c" - ## option of the ping command. - count = 4 - - ## Time to wait between sending ping packets in seconds. Operates like the - ## "-i" option of the ping command. - ping_interval = 1.0 - - ## If set, the time to wait for a ping response in seconds. Operates like - ## the "-W" option of the ping command. + ## Per-ping timeout, in s. 0 == no timeout (ping -W ) # timeout = 1.0 - ## If set, the total ping deadline, in seconds. Operates like the -w option - ## of the ping command. + ## Total-ping deadline, in s. 0 == no deadline (ping -w ) # deadline = 10 - ## Interface or source address to send ping from. Operates like the -I or -S - ## option of the ping command. + ## Interface or source address to send ping from (ping -I ) + ## on Darwin and Freebsd only source address possible: (ping -S ) # interface = "" - ## Specify the ping executable binary. + ## Specify the ping executable binary, default is "ping" # binary = "ping" - ## Arguments for ping command. When arguments is not empty, the command from - ## the binary option will be used and other options (ping_interval, timeout, - ## etc) will be ignored. + ## Arguments for ping command + ## when arguments is not empty, other options (ping_interval, timeout, etc) will be ignored # arguments = ["-c", "3"] - ## Use only IPv6 addresses when resolving a hostname. - # ipv6 = false # # Monitor process cpu and memory usage @@ -543,10 +526,10 @@ interfaces = ["enx001e0636be71"] # # Reads metrics from a SSL certificate -[[inputs.x509_cert]] +#[[inputs.x509_cert]] ## List certificate sources #sources = ["/etc/ssl/certs/ssl-cert-snakeoil.pem", "tcp://example.org:443"] - sources = ["https://florianzirker.de:443", "https://cloud.florianzirker.de:443", "https://wallabag.florianzirker.de:443", "https://gitea.florianzirker.de:443", "https://meet.florianzirker.de:443", "https://www.feuerwehr-kapsweyer.de:443"] + #sources = ["https://florianzirker.de:443", "https://cloud.florianzirker.de:443", "https://wallabag.florianzirker.de:443", "https://gitea.florianzirker.de:443", "https://meet.florianzirker.de:443", "https://www.feuerwehr-kapsweyer.de:443"] ## Timeout for SSL connection # timeout = "5s"