This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.unshift File.join(File.dirname(__FILE__),'..','lib') | |
require 'Dashing/Jenkins' | |
require 'rubygems' | |
require 'net/https' | |
require 'json' | |
require 'open-uri' | |
module APIG | |
SEVERITY_TO_STATUS = { | |
1 => {'status' => 'critical', 'message' => 'Severity 1 issue. Look into it asap!'}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.unshift File.join(File.dirname(__FILE__),'..','lib') | |
require 'net/https' | |
require 'json' | |
require 'open-uri' | |
module APIG | |
SEVERITY_TO_STATUS = { | |
1 => {'status' => 'critical', 'message' => 'Severity 1 issue. Look into it asap!'}, | |
2 => {'status' => 'warning', 'message' => 'Severity 2 issue.'}, | |
3 => {'status' => 'warning', 'message' => 'Severity 3 issue.'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Network fabric for containers | |
Documentation=https://github.com/coreos/flannel | |
Before=docker.service | |
After=network-online.target | |
[Service] | |
Type=notify | |
Restart=always | |
RestartSec=5 |