Skip to content

Instantly share code, notes, and snippets.

View williamsjj's full-sized avatar

Jason J. W. Williams williamsjj

View GitHub Profile
[[graphite]]
bind_address = ":2003"
consistency-level = "one"
database = "dtar_monitoring"
enabled = true
tags = ["graphite"]
[2016-01-25 22:39:13,197] WARN [ReplicaFetcherThread-0-100713], Error in fetch Name: FetchRequest; Version: 0; CorrelationId: 43975; ClientId: ReplicaFetcherThread-0-100713; ReplicaId: 100636; MaxWait: 500 ms; MinBytes: 1 bytes; RequestInfo: [test_topic_a,95] -> PartitionFetchInfo(0,1048576),[test_topic_a,227] -> PartitionFetchInfo(0,1048576),[test_topic_a,218] -> PartitionFetchInfo(0,1048576),[test_topic_a,122] -> PartitionFetchInfo(0,1048576),[test_topic_a,224] -> PartitionFetchInfo(0,1048576),[test_topic_a,188] -> PartitionFetchInfo(0,1048576),[test_topic_a,26] -> PartitionFetchInfo(0,1048576),[test_topic_a,131] -> PartitionFetchInfo(0,1048576),[test_topic_a,80] -> PartitionFetchInfo(0,1048576),[test_topic_a,155] -> PartitionFetchInfo(0,1048576),[test_topic_a,170] -> PartitionFetchInfo(0,1048576),[test_topic_a,107] -> PartitionFetchInfo(0,1048576),[test_topic_a,86] -> PartitionFetchInfo(0,1048576),[test_topic_a,185] -> PartitionFetchInfo(0,1048576),[test_topic_a,47] -> PartitionFetchInfo(0,1048576),[test_t
node.set[:zookeeper][:version] = "3.4.6"
node.set['exhibitor']['cli']['port'] = 8700
node.set['exhibitor']['cli']['configtype'] = "s3"
node.set['exhibitor']['s3']['access-key-id'] = '<key-id>'
node.set['exhibitor']['s3']['access-secret-key'] = '<secret-key>'
node.set['exhibitor']['cli']['s3config'] = '<bucket>:<path_to_conf_file>'
node.set['exhibitor']['cli']['s3region'] = '<region>'
# /usr/local/kafka/kafka_2.11-0.8.2.1/bin/kafka-topics.sh --create --zookeeper localhost:2181 --partitions 128 --replication 3 --topic test_topic_a
backend test_app_instances
mode http
balance roundrobin
option httplog
option redispatch
...
# Persistently map clients to backends by x-app-authorization header
stick store-request hdr(x-app-authorization) table test_app_api
backend test_app_instances
mode http
balance roundrobin
option httplog
option redispatch
...
# Persistently map clients to backends by src-ip
stick on src table test_app_api
HTTP/1.1 200 OK
x-amz-id-2: mDBNQh8m3gGzLYUl9qJX+Ehqe+5AWmFkhCDjOTyIRPqcsHvejNaNeq4xQ4jz56IPZ9CdiP55ecU=
x-amz-request-id: BEB2959FE0AE7776
Date: Thu, 08 Jan 2015 22:15:53 GMT
Last-Modified: Thu, 27 Nov 2014 02:03:29 GMT
ETag: "530780a17af4e8fb66b50ee85c9e19f0"
Accept-Ranges: bytes
Content-Type:
Content-Length: 23730
Server: ATS
HTTP/1.1 200 OK
Content-Type: application/x-javascript
Content-Length: 23730
Connection: keep-alive
Date: Tue, 30 Dec 2014 05:28:24 GMT
Cache-Control: max-age=86400
Last-Modified: Wed, 24 Sep 2014 16:06:36 GMT
ETag: "530780a17af4e8fb66b50ee85c9e19f0"
Accept-Ranges: bytes
Server: AmazonS3
#include <math.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include "lua.h"
#include "lauxlib.h"
#include "../../../src/solarisfixes.h"
Start: Thu Oct 9 13:14:00 2014
HOST: Phantome-2.local Loss% Snt Last Avg Best Wrst StDev
1.|-- 192.168.1.1 90.0% 10 3.1 3.1 3.1 3.1 0.0
2.|-- 204.93.49.9 80.0% 10 14.4 10.7 6.9 14.4 5.3
3.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
4.|-- ae2-50g.ar1.lax2.us.as443 90.0% 10 5.5 5.5 5.5 5.5 0.0
5.|-- ae0-50g.cr1.lax2.us.as443 0.0% 10 2.1 2.7 1.4 6.9 2.0
6.|-- ae6-214.lax20.ip4.gtt.net 0.0% 10 1.4 1.7 1.4 1.9 0.0
7.|-- xe-2-0-1.nyc20.ip4.gtt.ne 0.0% 10 79.6 84.0 74.3 92.2 6.0
8.|-- peer1-gw.ip4.gtt.net 0.0% 10 74.3 77.1 74.0 101.6 8.6