I setup sensu for some monitoring years ago and it’s been left to rot a little so i’m just starting to look at re-doing it.
Obviously sensu-go has come along in the meantime, which looks good, so i’ve got an install of that to tests with.
I wonder what people are doing with regards to automation and configuration management of sensu checks/config?
What I used to do with the old sensu is all my checks were added by ansible when provisioning hosts. As I provisioned a host, ansible would go to the sensu server and add the appropriate checks (like ping checks for the host, checks on the ports for the applicable services, website checks for web servers, resolving tests for nameservers etc. It did this by dropping the appropriate JSON files in to /etc/sensu/conf.d on the sensu box.
Looking at the new documentation for Sensu Go, the documentation all resolves around the sensuctl command - which is brilliant as a user interface, but not for automation.
I expected to see both interfaces documentation, but the docs don’t seem to give any JSON examples anymore.
Am I missing something? - how are people automating their checks, handlers etc with Sensu Go?