raintank-collector icon indicating copy to clipboard operation
raintank-collector copied to clipboard

vague errors when go-ping does not exist

Open Dieterbe opened this issue 9 years ago • 2 comments

was getting this in dev stack:

[2015-06-25 22:27:38.852] [INFO] PID:23 - starting up go-ping server
[2015-06-25 22:27:38.855] [INFO] PID:23 - launching worker process.
[2015-06-25 22:27:38.857] [INFO] PID:23 - launching worker process.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)

i noticed go-ping binary did not exist, but this error should be clearer

Dieterbe avatar Jun 25 '15 22:06 Dieterbe

I had pulled go-ping out of the repo so that you can just build it locally, incidentally. We'll either need to add that build step, or have the dev stack use the package.

ctdk avatar Jun 25 '15 22:06 ctdk

(that said the collector errors are really vague indeed)

ctdk avatar Jun 25 '15 22:06 ctdk