sensu-cli icon indicating copy to clipboard operation
sensu-cli copied to clipboard

Useful helpers for sensu-cli

Open yacn opened this issue 12 years ago • 2 comments

sensu-cli makes interacting with the Sensu API simple and fairly painless, unless you want to apply some action to multiple results. I've got a script I threw together that I've been using to help automate some of the actions surrounding this. I figure they may be of use to others.

https://gist.github.com/yacn/6453047

It's pretty hacky and could definitely be cleaned up and refined, but I figured I may as well get it out there so others could benefit.

yacn avatar Sep 05 '13 17:09 yacn

Thanks,

I'll take a look at this when I get a chance to see if making it native functionality is beneficial.

agent462 avatar Sep 05 '13 17:09 agent462

Thanks for taking a look, appreciate it. I just updated the gist, it's slightly more complicated now but now you can refer to columns by their title instead of their position in the array.

yacn avatar Sep 05 '13 17:09 yacn