Skip to content

Instantly share code, notes, and snippets.

View shredder12's full-sized avatar

Shashank Sahni shredder12

  • ThousandEyes Inc.
  • San Francisco, CA
View GitHub Profile
actions:
- module: up
- module: cmd
cmd: 'service telegraf restart'
@shredder12
shredder12 / influxdb.log
Created March 4, 2016 04:11
stack trace of influxdb 0.9.6
SIGQUIT: quit
PC=0x4422b1
goroutine 0 [idle]:
runtime.futex(0x102a7d8, 0x0, 0x0, 0x0, 0x0, 0x1029a80, 0x1, 0x40fb1f, 0x40fd3e, 0x102a7d8, ...)
/usr/local/go/src/runtime/sys_linux_amd64.s:277 +0x21
runtime.futexsleep(0x102a7d8, 0x0, 0xffffffffffffffff)
/usr/local/go/src/runtime/os_linux.c:49 +0x47
runtime.notesleep(0x102a7d8)
/usr/local/go/src/runtime/lock_futex.go:145 +0xae
from suds.transport.http import HttpTransport as SudsHttpTransport
class WellBehavedHttpTransport(SudsHttpTransport):
"""HttpTransport which properly obeys the ``*_proxy`` environment variables."""
def u2handlers(self):
"""Return a list of specific handlers to add.
The urllib2 logic regarding ``build_opener(*handlers)`` is:
Name: logstash
Version: 1.1.0
Release: 1%{?dist}
Summary: logstash is a tool for managing events and logs
Group: System/Logging
License: ASL 2.0
URL: http://logstash.net/
Source0: http://semicomplete.com/files/logstash/logstash-%{version}-monolithic.jar
Source1: logstash
# Create Key
openssl genrsa -des3 -out logstash.key 1024
sudo openssl genrsa -des3 -out logstash.key 1024
# Create CSR
openssl req -new -key logstash.key -out logstash.csr
sudo openssl req -new -key logstash.key -out logstash.csr
# Remove password from key
sudo openssl rsa -in logstash.key.org -out logstash.key
# Create certificate
sudo openssl x509 -req -days 365 -in logstash.csr -signkey server.key -out logstash.crt
#! /bin/sh
### BEGIN INIT INFO
# Provides: logstash
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: S 0 1 6
# Short-Description: Logstash
# Description: Starts Logstash as a daemon.
# Author: [email protected]
[global]
fsid = fac3931e-2284-4d9b-9a35-0400119dbb40
mon_initial_members = ceph91
mon_host = 172.17.12.11
auth_supported = cephx
osd_journal_size = 1024
filestore_xattr_use_omap = true