node-red-contrib-tcp-ping

0.0.3 • Public • Published

node-red-contrib-tcp-ping

This node is based on the tcpie nodejs library:

What it does:

Sends a TCP ping to a ip adresse and port and outputs the results. It is great to test multiple servers running on a device. For example when you have Plex and some Dashboards and so on running on different ports on your Raspberry PI and want to see if they are still running and responding.

How it works:

Text Notification

Hook up an Inject-Node to the Input channel and send a trigger to test your tcp adress. Configure the tcp ping node with all the necessary fields. It should output the results in the msg.payload.

host string : the destination host name or IP address. Required. port number : the destination port. Default: 22. opts object : options for count, interval and timeout. Defaults: Infinity, 1000, 3000.

To install:

Install node-red.

Install this package with "npm install node-red-contrib-tcp-ping --save" in ~./node-red or via the Palette Manager in node-red.

If everything was successfull you should see a new node in the network category in node-red after a restart.

Package Sidebar

Install

npm i node-red-contrib-tcp-ping

Weekly Downloads

33

Version

0.0.3

License

none

Unpacked Size

6.63 kB

Total Files

5

Last publish

Collaborators

  • nabbl