Public Repository

Last pushed: 8 months ago
Short Description
monitor infrastructure and trigger alerts if stuff is not ok
Full Description

Run redalert server within a container. (redalert info: https://github.com/jonog/redalert)

Step 1: Setup a config.json file, e.g.:

{
   "checks":[
      {
         "name":"Google",
         "type": "web-ping",
         "config": {
            "address":"http://google.com"
         },
         "send_alerts": ["stderr"],
         "backoff": {
            "type": "constant",
            "interval": 10
         },
         "assertions": [
             {
                 "comparison": "==",
                 "identifier": "status_code",
                 "source": "metadata",
                 "target": "200"
             }
         ]
      }
   ],
   "notifications": []
}

Step 2: Run the container, mounting the config file:
docker run -d -P -v /path/to/config.json:/config.json jonog/redalert:latest

Docker Pull Command
Owner
jonog