I think it's possible. because nodejs can invoke the local command. so you can write an ping-service, to call linux command or windows command ping, and handle the output message.
Under Linux environment, you can do var execute = require('child_process').execSync, and use this execute object to execute linux command.
You are supposed to easily create a watchmen ping module that uses something like https://github.com/stephenwvickers/node-net-ping. If you do, feel free to ping me so I can list it in the public contributions!
I think it's possible. because nodejs can invoke the local command. so you can write an ping-service, to call linux command or windows command
ping
, and handle the output message. Under Linux environment, you can dovar execute = require('child_process').execSync
, and use thisexecute
object to execute linux command.