CBot.Modules
An collection of open source modules written for SreBot against the CBot framework.
Incident Module
Adds ability to manage incidents and keeps track of status including postmortem links.
Example Command(s)
@bot new incident The web server is offline
Configuration
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;
}
Cloudflare Module
Allows purging of Cloudflare cache for a given zone or a particular cache tag within a zone.
Example Command(s)
@bot purge cloudflare zone ashleypoole.co.uk
Configuration
"Cloudflare": {
"AuthEmail": "YOUR_EMAIL_ADDRESS",
"AuthKey": "YOUR_CLOUDFLARE_AUTH_KEY",
"ApiUrl": "https://api.cloudflare.com/client/v4"
}
NewRelic Module
Pulls application status from NewRelic.
Example Command(s)
@bot unhealthy newrelic applications account
Configuration
"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/"
}