Sensu Go
Get alerts from Sensu Go into Squadcast
Last updated
Get alerts from Sensu Go into Squadcast
Last updated
Follow the steps below to configure a service so as to push related alert data from Sensu Go onto Squadcast.
Squadcast will then process this information to create incidents for this service as per your preferences.
Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
2. Select Sensu Go. Copy the displayed Webhook URL to configure it within Sensu Go. Finish by clicking Add Alert Source -> Done.
Important:
When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
If you're using sensuctl 5.13 with Sensu Backend 5.13 or later, you can use the following command to add the asset:
Installation from source
Download the latest version of the sensu-squadcast-handler from releases, or create an executable script by cloning the sensu-squadcast-handler repository. From the local path of the sensu-squadcast-handler repository run the following command:
Important
For the command mentioned below to work, you would need Go Programming Language installed beforehand.
Create a squadcast-handler.yaml
file like the following :-
Make sure to replace <Squadcast Alert Source Url>
with the webhook url you copied from Squadcast.
Then run the following command :-
While creating checks for your client systems make sure to add squadcast
as a handler. An example check using the squadcast handler is shown below :-
Now whenever an event is triggered in Sensu Go , an incident will be created automatically in Squadcast. Also when an event is resolved in Sensu Go the corresponding incident gets auto-resolved in Squadcast.