I hereby claim:
- I am johann8384 on github.
- I am johann8384 (https://keybase.io/johann8384) on keybase.
- I have a public key whose fingerprint is 7D01 CA7D E74A C4C1 FAD1 0962 C473 9842 59A3 80B4
To claim this, I am signing this object:
class role::hadoop::node { | |
include ::eluna::misc | |
include ::java::jdk | |
include ::java::mysql | |
::nagios::client::add_to_hostgroup { 'opentsdb_client': } | |
::ssh::allow_group { ['ops', 'dwh-admins']: } | |
::sudo::add_access { "dwh-admins sudo access": | |
user => '%dwh-admins', |
input { | |
tcp { | |
type => "syslog" | |
host => "127.0.0.1" | |
port => 3514 | |
} | |
tcp { | |
type => "eventlog" | |
host => "10.1.1.2" | |
port => 3515 |
tarting Nmap 6.40 ( http://nmap.org ) at 2013-11-15 09:36 GMT | |
Nmap scan report for monitorama.eu (141.101.116.49) | |
Host is up (0.012s latency). | |
Other addresses for monitorama.eu (not scanned): 141.101.117.49 | |
PORT STATE SERVICE | |
20/tcp filtered ftp-data | |
21/tcp filtered ftp | |
22/tcp filtered ssh | |
23/tcp filtered telnet | |
25/tcp filtered smtp |
#!/bin/bash | |
#Script to test puppet files have valid syntax. | |
#Intended for use with hudson/jenkins. | |
set -e | |
set -u | |
fail=0 | |
#TODO: Run these in parallel - we have 4 cores. | |
#TODO: Control the environment (through the config dir?). |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"cloudwatch:DeleteAlarms", | |
"cloudwatch:DescribeAlarmHistory", | |
"cloudwatch:DescribeAlarms", | |
"cloudwatch:DescribeAlarmsForMetric", |
import com.google.common.collect.ImmutableMap; | |
import com.github.sps.metrics.OpenTsdbReporter; | |
import com.github.sps.metrics.opentsdb.OpenTsdbTelnet; | |
import com.turn.metrics.system.OperatingSystemMetricSet; | |
import com.turn.metrics.system.FileSystemMetricSet; | |
import com.turn.metrics.system.RuntimeMetricSet; | |
import static java.util.concurrent.TimeUnit.*; | |
static final MetricRegistry metrics = new MetricRegistry(); |
Connected to localhost. | |
Escape character is '^]'. | |
auth basic rxw6bvPjVoKPc2TFBwbv 0iDpwDv4DNXFCXHlki9oObDmrTpuL7h6e5DHv24p | |
AUTH_SUCCESS. | |
exit | |
Connection closed by foreign host. | |
2016-03-18 03:04:11,480 INFO [OpenTSDB I/O Worker #1] AuthenticationChannelHandler: Setting up AuthenticationChannelHandler | |
2016-03-18 03:04:11,483 DEBUG [OpenTSDB I/O Worker #1] AuthenticationChannelHandler: Passing auth command to Authentication Plugin | |
2016-03-18 03:04:11,483 DEBUG [OpenTSDB I/O Worker #1] AuthenticationChannelHandler: Validating Basic Credentials |
I hereby claim:
To claim this, I am signing this object:
/* | |
* Set Meters for Important Events | |
*/ | |
Metrics.markMeter(Metrics.name("requests", "ended")); | |
/* | |
* Counters are simple, you can inc/dec them. | |
*/ | |
Metrics.incCounter(Metrics.name("metricstats", tenantId, "valid")); |
static { | |
// Collect jvm and system metrics by default | |
Metrics.registerMetricSet("jvm.gc", new GarbageCollectorMetricSet()); | |
Metrics.registerMetricSet("jvm.memory", new MemoryUsageGaugeSet()); | |
Metrics.registerMetricSet("jvm.threads", new ThreadStatesGaugeSet()); | |
Metrics.registerMetricSet("jvm.runtime", new RuntimeMetricSet()); | |
Metrics.registerMetricSet("jvm.os", new OperatingSystemMetricSet()); | |
Metrics.registerMetricSet("jvm.filesystem", new FileSystemMetricSet()); | |
Metrics.registerAll("jvm.buffers", new BufferPoolMetricSet(ManagementFactory.getPlatformMBeanServer()), Metrics.getMetricRegistry()); |