Open jaredledvina opened 6 years ago
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 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