iloire / watchmen

A simple node.js service monitor
MIT License
941 stars 195 forks source link

is it possible to ping ips thats not running any services? #54

Closed pavs closed 8 years ago

zarzen commented 8 years ago

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.

iloire commented 8 years ago

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!