sensu-ansible
sensu-ansible copied to clipboard
Write a Sensu Ansible Callback Plugin
@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
hey,
So thinking of it like this:
-
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.
-
Then we can add specific api support to talk to the appropriate sensu 1.x/2.x api endpoints.