Skip to content

Instantly share code, notes, and snippets.

@flores
Created February 27, 2013 01:12
Show Gist options
  • Save flores/5044011 to your computer and use it in GitHub Desktop.
Save flores/5044011 to your computer and use it in GitHub Desktop.
rootcause.dumbaas.com
var express = require('express');
var app = express();
app.get('/', function(req, res){
var rootcause = [
"dns servers",
"ops team",
"developers",
"quality assurance team",
"noc",
"network",
"Carlo",
"computer machines",
"monitoring",
"whiskey supply",
"BGP announcements",
"backend services",
"humans",
"availability zone",
"cloud",
"software",
"power systems"
];
res.send('Hello! Yesterday we experienced an issue with our ' + rootcause[Math.floor(Math.random()*rootcause.length)] + ' which led to a problem with dumbaas.com Of course, our monitoring systems noticed it immediately and our crack team restored services as quickly as possible. We are sorry for the inconvenience.');
});
console.log("let's go!");
app.listen(5050);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment