Hey - I have been able to get a simple https check running and sending alerts to a Slack channel. I just installed Senso Go packages:
sensu-go-agent.x86_64 5.18.0-9470 @sensu_stable
sensu-go-backend.x86_64 5.18.0-9470 @sensu_stable
sensu-go-cli.x86_64 5.18.0-9470 @sensu_stable
I am using the sensu-plugins-http asset and check-http.rb in the check command.
I was looking to add some extra output to what is being sent now, what is the best way to achieve that?
I’ve tried using a hook, and I can see the output of the hook command via sensuctl looking at event info for the check and entity it runs on.
But that output is not making it to what is being sent to Slack. I am just looking at this point to have it display the URL that was tested and failed, but would like to also know in general how to do this so that I could add different output to different checks and see it in the alerts that get sent to Slack.