I hereby claim:
- I am sebbrandt87 on github.
- I am sebbrandt (https://keybase.io/sebbrandt) on keybase.
- I have a public key ASAwWvfPL03BQWj5g5f_fJwLRuWFHFEFcLzNTEyZGLaI3Qo
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# USG and EdgeRouter route-test script for failover | |
# | |
# uses ping to check latency and packet loss. | |
# returns zero when within thresholds and non zero (1) when above thresholds | |
# uses ping, traceroute, and logger | |
# | |
# by https://github.com/popmonkey | |
# |
#!/bin/bash | |
name=$RANDOM | |
url='http://localhost:9093/api/v1/alerts' | |
echo "firing up alert $name" | |
# change url o | |
curl -XPOST $url -d "[{ | |
\"status\": \"firing\", |
#!/bin/bash | |
name=$RANDOM | |
url='http://localhost:9093/api/v1/alerts' | |
echo "firing up alert $name" | |
# change url o | |
curl -XPOST $url -d "[{ | |
\"status\": \"firing\", |
I hereby claim:
To claim this, I am signing this object:
for i in ./pages/install-include/*-inputs*; do ( | |
CURDIR=${PWD} | |
echo "${PWD}"/${i}; | |
cd ${HOME}/src/github.com/dcos-terraform/terraform-$(basename ${i} | sed -E "s/-.*//")-dcos/ | |
IFS=$'\n' FILES=($(egrep -H -r '^(variable \")' *.tf | cut -d: -f1 | uniq | gsed 's/:.*//')); | |
for j in $FILES; do | |
VARFILES="${VARFILES} ${HOME}/src/github.com/dcos-terraform/terraform-$(basename ${i} | sed -E "s/-.*//")-dcos/${j}" | |
done; | |
cd ${CURDIR}; | |
echo "Here is a list of all the variables that are currently supported on the Universal Installer and available for you to customize your cluster." > ${i} |
global: | |
scrape_interval: 15s | |
evaluation_interval: 15s | |
scrape_timeout: 10s | |
# Attach these labels to any time series or alerts when communicating with | |
# external systems (federation, remote storage, Alertmanager). | |
external_labels: | |
monitor: 'cloudkeeper-prometheus' |
apiVersion: 1 | |
datasources: | |
- name: cloudkeeper | |
type: prometheus | |
access: proxy | |
url: http://cloudkeeperprometheus.marathon.l4lb.thisdcos.directory:9090 | |
isDefault: true |
:8080 { | |
status 200 / | |
} | |
:8000 { | |
prometheus 0.0.0.0:9180 | |
realip { | |
from 44.128.0.0/20 | |
} |
#!/usr/bin/env bash | |
set -o errexit | |
set -o xtrace | |
rsync -aP \ | |
--exclude 'war' \ | |
--exclude 'jenkins.war' \ | |
--exclude '*.tmp' \ | |
--exclude '*.bak' \ | |
--exclude '.ssh' \ |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: si-test-foobar | |
namespace: siws | |
spec: | |
ports: | |
- port: 80 | |
protocol: TCP |