Skip to content

Instantly share code, notes, and snippets.

View mrbanzai's full-sized avatar

Michael Porter mrbanzai

  • Lightning Source, LLC
  • Raleigh, NC
View GitHub Profile
@mrbanzai
mrbanzai / horrible.log
Created March 3, 2017 16:57
Logstash -> Elasticsearch error stampede
[2017-03-03T10:53:26,332][INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 429 (RemoteTransportException[[lvlogfs03-02][inet[/172.24.29.156:9300]][indices:data/write/bulk[s]]]; nested: EsRejectedExecutionException[rejected execution (queue capacity 50) on org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase$1@3e507efc]; )
[2017-03-03T10:53:26,333][INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 429 (RemoteTransportException[[lvlogfs03-02][inet[/172.24.29.156:9300]][indices:data/write/bulk[s]]]; nested: EsRejectedExecutionException[rejected execution (queue capacity 50) on org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase$1@6fe709c]; )
[2017-03-03T10:53:26,333][INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 429 (RemoteTransportException[[lvlogfs03-02][inet[/172.24.29.156:9300]][indices:data/write/bulk[s]]]; nested: E

Keybase proof

I hereby claim:

  • I am mrbanzai on github.
  • I am mrbanzai (https://keybase.io/mrbanzai) on keybase.
  • I have a public key ASDOfoRlJQ8ZpmXAJwvKhOFl8IYpaZWiBo_9CKC8YcYbKAo

To claim this, I am signing this object:

@mrbanzai
mrbanzai / example.yaml
Created January 30, 2014 21:31
Hiera lookup module for Ansible
---
- name: Load NRPE variables from Hiera
connection: local
hiera: path=lib/hiera/bin/hiera key="{{ item.value }}" fact="{{ item.key }}" source=hiera.yaml
args:
context:
environment: "{{ environment }}"
sitecode_lc: "{{ sitecode_lc }}"
with_dictionary:
nrpe_server_port: "nrpe_server_port"
@mrbanzai
mrbanzai / hiera.py
Last active September 2, 2015 06:43
NRPE configuration file using Hiera lookups with Ansible
from ansible import utils, errors
import os
import subprocess
import json
import sys
class LookupModule(object):
def __init__(self, basedir=None, **kwargs):
self.basedir = basedir
@mrbanzai
mrbanzai / Gemfile.lock
Last active December 18, 2015 21:58
Spree admin / Jirafe issue
GIT
remote: git://github.com/Skookum/spree_fishbowl.git
revision: 047f5c415b263077cfa56aee259da5cd5b293bde
specs:
spree_fishbowl (1.3.2)
fishbowl (>= 0.1.0)
spree_core (~> 1.3.2)
GIT
remote: git://github.com/mrbanzai/fishbowl.git
@mrbanzai
mrbanzai / hack.sh
Last active December 11, 2015 22:29 — forked from DAddYE/hack.sh
#!/bin/sh
##
# This is a script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# Run in interactive mode with:
# $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)"
#
# or run it without prompt questions:
@mrbanzai
mrbanzai / Agenda.md
Last active December 10, 2015 22:59
Comporium Training Agenda
  1. Introduction to the environment
    1. PHP 5.3 / 5.4
      1. Required modules
      2. Configuration settings (php.ini)
      3. Composer
      4. Behat / Mink / Sahi
    2. Makefile
      1. Local server
      2. Testing (work-in-progress)
  2. Deployment