You can execute Squadcast Runbooks as one of the Squadcast Actions and resolve your incidents quickly and bring down your MTTR significantly.
This feature has been deprecated for public access and is currently available in private beta
In order to execute Squadcast Runbooks as part of Squadcast actions, you need to perform the Squadcast Runbooks integration as described below.
Follow the below steps to get your Squadcast Runbooks API key.
Go to Sidebar → Integrations and click on the Integrate button under Squadcast Runbooks.
Copy the Integration API key from the display box by clicking the copy button. This will activate the Runbooks tab in the sidebar, if you are not able to see the Runbooks tab, please reload your page.
- Download the Squadcast Agent for your OS platform
- Set it up as a service in the following format by supplying your API key in the system where you want to execute your Squadcast Runbooks.
squadcast-agent -key YOUR-API-KEY-HERE
You can configure as many agents in as many systems as you want using the same API key. Each agent will be identified using their unique hostname.
Now your Squadcast Runbooks Integration is good to go. You can setup Squadcast Runbooks and execute them as part of Squadcast Actions.
Follow the below steps to create Runbooks.
- Go to the Runbooks tab from the sidebar and click on Add New Runbook button.
- Enter a Name and Description for the runbook and click on the Create New button.
- In the next page, you can add code snippets which needs to be executed as well as textual description and steps. You can add a name for the Snippet, define the description and add code snippets.
The Runbook Snippets description supports markdown and you can use it to describe the runbook clearly.
Currently, Squadcast Runbooks supports the below languages...
- Shell script
- Lua script
- Python3 script
- NodeJS script
- Ansible configuration
You can choose to use a single snippet or add as many as you want based on need and click on Save Runbook button.
Go to the Incident for which you want to execute the Squadcast Runbook.
Click on the More Actions button and click on Squadcast Runbooks and select the Run action.
Then Select an Agent of the system on which you want to execute the Runbook, then select the Runbook which you want to execute and choose the snippets which you want to execute in order and click the Run button.
The Runbook will start running on your system and you can go to the Runbook execution page by following the link in the dialog box or by clicking the link on the Incident timeline.
Here you can watch the Squadcast Runbooks being executed and the logs being streamed live.
You can also watch the logs of old runs for that particular runbook.
All these Squadcast Runbooks executions are captured in the Incident Timeline as part of Actions and can be referenced anytime.
Start creating Squadcast Runbooks for all your routine tasks and make your life easier.
Updated 9 months ago