This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actions: | |
- module: up | |
- module: cmd | |
cmd: 'service telegraf restart' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |