Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add TCP ports to monitor #211

Open
kool2zero opened this issue Jan 21, 2025 · 4 comments
Open

Feature: Add TCP ports to monitor #211

kool2zero opened this issue Jan 21, 2025 · 4 comments

Comments

@kool2zero
Copy link

Is your feature request related to a problem? Please describe.
Currently, we are able to ping a host, but an app might be served on a specific port and not necessarily over HTTP.

Describe the solution you'd like
Adding Port monitor would be an additional check to see if the application is up.

Describe alternatives you've considered
Creating an http request node-red flow to check the port and then use the API in Kener to validate.

@rajnandan1
Copy link
Owner

Can you please describe what specifically you want to monitor. Please give an example. I am not able to understand.

@kool2zero
Copy link
Author

Hi,
Let's say I have an application that listens for connections on a specific port (let's say 3000). I want to be able to check that port 3000 is open an accepting connections.

In PowerShell, I would do something like this:

$tcpConnection = Test-NetConnection -ComputerName $ComputerName -Port $Port
            if ($tcpConnection.TcpTestSucceeded) {
                Write-Output "Port $Port is open on $ComputerName."
                return
            } else {
                Write-Output "Port $Port is not open on $ComputerName. "
            }

@Yavzkesta
Copy link

I would also like a feature like this. Since I have several services on different ports, I want to be able to monitor an IP:port combination.

ex:
nc -zvn X.X.X.X 8080
(UNKNOWN) [X.X.X.X] 8080 (http-alt) open

nc -zvn X.X.X.X 8081
(UNKNOWN) [X.X.X.X] 8081 (tproxy) : Connection refused

@rajnandan1
Copy link
Owner

rajnandan1 commented Feb 3, 2025

It will be release as part of 3.0.9. ETA would be 7th Feb 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants