- Create Pushover account
- Create a new Application in the Pushover site.
- You should now have a token and user id. You will need this for the webhook
- Go to the Datadog webhooks integration
- Enter Pushover for the name.
- Under URL enter `https://api.pushover.net/1/messages.json?token=YOURPUSHOVERAPPTOKEN&user=YOURPUSHOVERUSERID
- Under Custom Payload, enter
{"title":"$EVENT_TITLE","message":"$EVENT_MSG"}
- Check both Use Custom Payload and Encode as form
- Create a monitor that notifies @webhook-pushover
- Boom, you are done
#!/bin/bash | |
# | |
# Author: masa | |
# Date: 2014-11-11 | |
# | |
# A script for automatically creating (from a template), starting, stopping and running | |
# a command on multiple Minecraft server instances. | |
# The goal is to quickly generate a huge Minecraft world in a multiprocessor environment. | |
# The script is currently built around running 16 separate instances at once, | |
# and the world it will generate is 50k x 50k blocks (about, a little more since it is 100 x 100 region files). |
/* | |
Setup: | |
npm install ws | |
Usage: | |
Create an API key in Rancher and start up with: | |
node socket.js address.of.rancher:8080 access_key secret_key project_id | |
*/ | |
var WebSocket = require('ws'); |
# Build environment. I use vagrant ubuntu/trusty64 | |
sudo apt-get install build-essential git-core | |
sudo git clone https://github.com/raspberrypi/tools.git /opt/tools | |
export CCPREFIX="/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-" | |
# Get ffmpeg and x264 repos | |
git clone git://source.ffmpeg.org/ffmpeg.git |
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon | |
maxconn 2048 |
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon | |
maxconn 2048 |
const redisClient = redis.createClient(REDIS_URL); | |
const listeners = Object.create(null); | |
function addListener(channel, listener) { | |
if (!listeners[channel]) { | |
listeners[channel] = []; | |
redisClient.subscribe(channel); | |
} | |
listeners[channel].push(listener); |
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
Getting rke and Rancher setup to run kubernetes on arm is interesting. There is no official support yet via rancher, although there is interest and some work done towards those efforts. This is my attempt at getting a cluster of 3 Pis (2 3Bs and 1 3B+) provisioned and registered to a rancher 2 server.
I've successfully completed this both with Hypriot OS 1.9.0 and the arm64 builds https://github.com/DieterReuter/image-builder-rpi64 Both times I used the same basic cloud-init setup