I am using the inputs.http_response module to watch the status of some URL's. Actually, only one URL, because when I add more, it stops monitoring (and, indeed, bails out at telegraf startup noting a config error).
Here are two examples I've tried:
[[inputs.http_response]]
address = "https://www.example.com/index.html"
response_timeout = "5s"
method = "GET"
follow_redirects = false
[[inputs.http_response]]
address = "https://blog.example.com/index.html"
response_timeout = "5s"
method = "GET"
follow_redirects = false
and also
[[inputs.http_response]]
address = ["https://www.example.com/index.html", "https://blog.example.com/index.html"]
response_timeout = "5s"
method = "GET"
follow_redirects = false
and the same without the brackets.
Any suggestions how to monitor more than one URL?