Hello community!
Apologies if I post to a wrong forum branch, or my question is in the FAQ - I could not find anything similar yet.
I’m new to Telegraf and Prometheus world, just started with my first design and implementation.
My task is to install and configure Telegraf on ca.20 Windows servers in so-called “Secure Zone”., expose the metrics from each to each server’s http port, get them pulled by Telegraf running on machine in the “Border Zone”, and expose the combined stream on http port of that border machine for collection by Prometheus running “somewhere out there”, behind the border.
Is that possible at all?
Reasonable, or there is a better solution?
Should I use inputs.http plugin on the “Central Telegraf”?
I see hostnames in each machine’s stream. Will Prometheus be able to attribute the metrics to specific source, basing on these hostnames?
So far, this “Central Telegraf” is exposing only it’s own metrics, even though I’ve added few URLs to [[inputs.http]], checked that all URLs are reachable from Central, passed the syntax --test, and restarted the Windows service
Still see only local metrics on TCP 9273
One more thing… I heard about some kind of auto-discovery.
Would it be possible, instead of hardcoding all input URLs, just specify the subnet/mask, and let Telegraf discover all listening 9273 ports on it?
Thank you
Andrei