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
output { | |
if "metric" not in [tags] { | |
elasticsearch { | |
hosts => ['elasticsearch-101', 'elasticsearch-102', 'elasticsearch-103', 'elasticsearch-104'] | |
user => "logstash" | |
password => "**********************" | |
cacert => "/usr/local/share/ca-certificates/ca.crt" | |
ssl => true | |
} | |
} |
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
# | |
# this file is managed by salt - manual changes will be overwritten | |
# | |
upstream elasticsearch { | |
server 127.0.0.1:9200; | |
keepalive 64; | |
} | |
# 8433 is wide open for logstash | |
server { |
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
roles: | |
- graphite | |
- postgres | |
hosts: | |
- ns-101.soma.plos.org | |
secrets: | |
postgres: | |
root: "asdf1234" |
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
# Maintainer: Arthur Zamarin <arthurzam@gmail.com> | |
pkgname=eclipse-pydev | |
pkgver=3.9.0 | |
pkgrel=1 | |
pkgdesc="Python IDE for Eclipse" | |
url="http://pydev.org/" | |
arch=('any') | |
license=('EPL') | |
depends=('java-environment>=7' 'eclipse>=3.8') |
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
#!/usr/bin/python | |
import multiprocessing, os, re, sys, time | |
cgroup_dir = '/sys/fs/cgroup' | |
node_rgx = u'[a-z]*[0-9]{2}' | |
interval = 1 | |
def main(): | |
cpus = multiprocessing.cpu_count() |
NewerOlder