louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60.16k stars 5.38k forks source link

Add support for TCPing as a monitor (for when hosting Docker images in services that block ICMP or networks that firewall ICMP packets from the general public) #5326

Open kristiandg opened 2 weeks ago

kristiandg commented 2 weeks ago

📑 I have found these related issues/pull requests

Doing a search in the forum for TCPING, I found no hits.

🏷️ Feature Request Type

New monitor, Change to existing monitor

🔖 Feature description

The ability for the PING module to additionally utilize TCPING (if selected/desired) than the native ICMP ping (maybe in the form of a checkbox within the existing PING monitor config).

✔️ Solution

By providing a checkbox within the PING monitor that allows utilizing TCPING instead of the native PING, this will allow docker images hosted in services like Azure, to have a ping function (as Azure, and presumably others, block ICMP packets out of Containers). This will also be helpful for deployments where the network infrastructure blocks ICMP traffic from clients.

❓ Alternatives

I am only aware of the utility TCPING, though there may be others. The goal is to just allow an alternative method to an ICMP Ping, for when ICMP is

📝 Additional Context

No response