Skip to content

Instantly share code, notes, and snippets.

@heinrichvk
heinrichvk / atsd_last
Created June 22, 2015 12:53
atsd_last
atsd_last("nurswgvml007", "nmon.cpu.idle%", "id")
@heinrichvk
heinrichvk / getProperty
Created June 23, 2015 07:52
getProperty
<#assign ebs_volumes = getProperty("${entity}", "aws_ec2.blockdevicemapping", "ebs.volumeid") >
@heinrichvk
heinrichvk / configuration_example.js
Last active August 29, 2015 14:23
configuration example
{
atsd: {
host: "192.168.1.233",
port: 8082,
protocol: "udp",
patterns: [
{
pattern: "alfa\\..*\\.charlie\\..*$",
atsd_pattern: "<entity>.<>.<tag:test>.<metric>"
}
@heinrichvk
heinrichvk / graphite.conf example 4
Last active August 29, 2015 14:24
graphite.conf example 4
[collectd-disk]
pattern = collectd\..*\.disk-.*\..*
atsd-pattern = <metric>.<entity>.<tag:id>.<metrics>
@heinrichvk
heinrichvk / graphite.conf example 5
Last active August 29, 2015 14:24
graphite.conf example 5
[collectd-interface]
pattern = collectd\..*\.interface-.*\..*
atsd-pattern = <metric>.<entity>.<tag:id>.<metrics>
@heinrichvk
heinrichvk / graphite.conf example 6
Last active August 29, 2015 14:24
graphite.conf example 6
[collectd-df]
pattern = collectd\..*\.df-.*\..*
atsd-pattern = <metric>.<entity>.<tag:id>.<metrics>
@heinrichvk
heinrichvk / hbase-stie.xml
Created July 17, 2015 13:28
Add hbase.replication property to configuration tag in the hbase-site.xml file.
<property>
<name>hbase.replication</name>
<value>true</value>
</property>
@heinrichvk
heinrichvk / graphite.conf example 7
Created July 24, 2015 14:42
graphite.conf example 7
[collectd-df]
pattern = collectd\..*\.df-.*\..*
atsd-pattern = <metric>.<entity>.<df-><tag:id>.<metrics>
@heinrichvk
heinrichvk / graphite.conf example 8
Created July 24, 2015 14:48
graphite.conf example 8
[collectd-df]
pattern = collectd\..*\.df-.*\..*
atsd-pattern = <metric>.df.<entity>.<df-><tag:id>.<metrics>
@heinrichvk
heinrichvk / atsd_write_plugin_conf
Last active November 25, 2015 08:40
ATSD Write Plugin Conf
#LoadPlugin write_atsd
#...
#<Plugin write_atsd>
# <Node "atsd">
# Host "atsd_server"
# Port 8081
# Protocol "tcp"
# ShortHostname true
# <Cache "cpu">
# Interval 95