An collection of open source modules written for SreBot against the CBot framework.
Adds ability to manage incidents and keeps track of status including postmortem links.
@bot new incident The web server is offline
Example bot configuration:
"IncidentManagement": {
"IncidentNotificationChannel": "incidents",
"PostmortemTemplateLink": "http://mywebsite/postmortem-template",
"Warrooms": "incident-warroom0,incident-warroom1,incident-warroom2",
"AzureConnectionString": "DefaultEndpointsProtocol=https;AccountName=YOUR_ACCOUNT_NAME;AccountKey=YOUR_ACCOUNT_KEY;
}
Allows purging of Cloudflare cache for a given zone or a particular cache tag within a zone.
@bot purge cloudflare zone ashleypoole.co.uk
"Cloudflare": {
"AuthEmail": "YOUR_EMAIL_ADDRESS",
"AuthKey": "YOUR_CLOUDFLARE_AUTH_KEY",
"ApiUrl": "https://api.cloudflare.com/client/v4"
}
Pulls application status from NewRelic.
@bot unhealthy newrelic applications account
"NewRelic": {
"Accounts": "account1-id,account1-apikey,account1-name,account1-is-default|account2-id,account2-apikey,account2-name,account2-is-default",
"ApiUrl": "https://api.newrelic.com/v2/",
"ApplicationsAccountBaseUrl": "https://rpm.newrelic.com/accounts/{accountId}/applications/"
}