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

Write a Sensu Ansible Callback Plugin

Open jaredledvina opened this issue 6 years ago • 1 comments

@jspaleta mentioned this idea to me during the Summit, we should provide a support Ansible Callback plugin that can be used to report the results of the Ansible run to Sensu.

Datadog has a callback plugin that is pretty sweet here: https://github.com/DataDog/ansible-datadog-callback

Docs: https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html#callback-plugins

jaredledvina avatar Aug 24 '18 19:08 jaredledvina

hey,

So thinking of it like this:

  1. Initially we can write it to target the sensu-client/sensu-agent http port so it will work with both 1.x and 2.x.

  2. Then we can add specific api support to talk to the appropriate sensu 1.x/2.x api endpoints.

jspaleta avatar Sep 04 '18 18:09 jspaleta