All Apps and Add-ons

Looking for a TCP port connectivity tester

narwhal
Splunk Employee
Splunk Employee

I need to test a given UF or HWF box for connectivity to several other systems and ports. That is, I have an app that fails if it can't talk to several boxes on several ports so I would like to test for that access every so often. So, I'm looking for a scripted input or modular input that would give me the equivalent of telnetting to a remote port. I found TA-connectivity in SplunkBase, and, while it works for successful connections, it doesn't do very well at outputing useful failure data (DNS resolution failure, connection refused, connection timeout). More precisely, it doesn't output failures at all from what I can create in my lab.

I'm trying to avoid creating/recreating the wheel here. Anyone have a port pinger/tester I could hack on?

My goal would be a tool like TA-connectivty that took a config file (csv?) and "telnet-like" connected to it to see if the other side was reachable. "timestamp, host=www.foo.com, port=22, status=success, reason=blob_o_text"

Tags (1)
0 Karma

woodcock
Esteemed Legend
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...