Skip to content

Instantly share code, notes, and snippets.

View theeye-io's full-sized avatar

TheEye.io theeye-io

View GitHub Profile
@theeye-io
theeye-io / F5_addAndEnableHost.sh
Last active December 1, 2016 20:17
Bash / Expect script for add And enable a node into an old F5 LoadBalancer's pool.
#!/bin/bash
which expect > /dev/null
if [ "$?" -eq "1" ];then echo FAILURE
else
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ];then echo FAILURE Some var is undefined set PASS $1 POOL $2 ipAndPort $3;exit;fi
PASS=$1
POOL=$2
ipAndPort=$3
tempFile=/tmp/resultado
#Variable
@dmajorel
dmajorel / nginx-kibana.conf
Created August 7, 2016 22:58
Nginx configuration for Kibana-ElasticSearch read-only/read-write access
upstream elasticsearch_upstream {
server 127.0.0.1:9200;
keepalive 15;
}
upstream kibana_upstream {
server 127.0.0.1:5601;
}
# Kibana, public access, RO operations