sensu client socket
agent462 opened this issue · 4 comments
agent462 commented
from @joemiller:
what do you think about extending it beyond just the rest api and providing interfaces to other things like the sensu client socket? eg: sensu event create NAME STATUS OUTPUT (options) would be equiv to: echo '{"name": "some_check", "status": 2, "output": "check output"}' | nc 127.0.0.1 3030
jjuarez commented
+1 definitely
agent462 commented
I wrote a majority of the code to do this today. I should have this out soon.
agent462 commented
Haven't pushed a release yet but initial version of sensu-cli socket create
and sensu-cli socket raw
are in master.
agent462 commented
released and in rubygems https://github.com/agent462/sensu-cli/releases/tag/v0.7.0