Diagram
Host - (Public IP 20.20.20.20) (Private IP 10.10.10.10)
[ Docker
{
InfluxDB, (1.1.1.1)
Grafanna (1.1.1.2)
}
]
Adding influx data source as 1.1.1.2 does not work it says undefined network.
Adding influx data source as 20.20.20.20 does not work it says undefined network
Adding influx data source as 10.10.10.10 works
So my data source ip is 10.10.10.10
The Problem is when I test my alert
In the query it says “get http://20.20.20.20…” and I am getting timeout since the host doest have a route to 20.20.20.20 since its just a natted IP from the firewall.
Why cant grafana query with my influxdb locally? I did an ICMP ping to make sure the connectivity is ok and it is working well.
Is it possible for me to chage the ip for query alerts?