diff --git a/telegraf/telegraf_net.conf b/telegraf/telegraf_net.conf index 25a8e84..8c22c0d 100644 --- a/telegraf/telegraf_net.conf +++ b/telegraf/telegraf_net.conf @@ -153,110 +153,3 @@ # ## # # address = "127.0.0.1:7634" # # devices = ["sda", "*"] - - -# HTTP/HTTPS request given an address a method and a timeout -[[inputs.http_response]] - ## Deprecated in 1.12, use 'urls' - ## Server address (default http://localhost) - # address = "http://localhost" - - ## List of urls to query. - urls = [ - "https://florianzirker.de", - "https://cloud.florianzirker.de/login", - "https://wallabag.florianzirker.de/login", - "https://gitea.florianzirker.de/api/v1/version/", - "https://meet.florianzirker.de/", - #"https://www.feuerwehr-kapsweyer.de", - "https://ping.feuerwehr-kapsweyer.de", - "http://ping.feuerwehr-kapsweyer.de", - "http://portainer.lan", - "http://gpxviewer.lan", - "http://traefik.lan/dashboard/", - "http://heimdall.lan", - "http://monitoring.lan/login", - #"http://solarmaxpi.zirker.lan" - ] - interval = "60s" - - ## Set http_proxy (telegraf uses the system wide proxy settings if it's is not set) - # http_proxy = "http://localhost:8888" - - ## Set response_timeout (default 5 seconds) - response_timeout = "10s" - - ## HTTP Request Method - method = "GET" - - ## Whether to follow redirects from the server (defaults to false) - follow_redirects = false - - ## Optional HTTP Request Body - # body = ''' - # {'fake':'data'} - # ''' - - ## Optional substring or regex match in body of the response - # response_string_match = "\"service_status\": \"up\"" - # response_string_match = "ok" - # response_string_match = "\".*_status\".?:.?\"up\"" - - ## Optional TLS Config - # tls_ca = "/etc/telegraf/ca.pem" - # tls_cert = "/etc/telegraf/cert.pem" - # tls_key = "/etc/telegraf/key.pem" - ## Use TLS but skip chain & host verification - # insecure_skip_verify = false - - ## HTTP Request Headers (all values must be strings) - # [inputs.http_response.headers] - # Host = "github.com" - - ## Interface to use when dialing an address - # interface = "eth0" - -# # Collect statistics about itself -# [[inputs.internal]] -# ## If true, collect telegraf memory stats. -# # collect_memstats = true - - -# Ping given url(s) and return statistics -[[inputs.ping]] - ## List of urls to ping - urls = [ - "fritz-box.lan", - "wlan-ap.lan", - "drax.lan", - "florianzirker.de", - "t-online.de", - "8.8.8.8", - "4.2.2.2", - "9.9.9.9", - "example.com" - ] - - ## Number of pings to send per collection (ping -c ) - # count = 1 - - ## Interval, in s, at which to ping. 0 == default (ping -i ) - ## Not available in Windows. - ping_interval = 60.0 - - ## Per-ping timeout, in s. 0 == no timeout (ping -W ) - # timeout = 1.0 - - ## Total-ping deadline, in s. 0 == no deadline (ping -w ) - # deadline = 10 - - ## 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, default is "ping" - # binary = "ping" - - ## Arguments for ping command - ## when arguments is not empty, other options (ping_interval, timeout, etc) will be ignored - # arguments = ["-c", "3"] \ No newline at end of file