Skip to content

Instantly share code, notes, and snippets.

import os
import socket
import sys
from threading import Thread
from Queue import PriorityQueue
from datetime import datetime
import pwd
from decimal import Decimal
import time
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from pssh.clients.miko.single import SSHClient as MikoClient
from pssh.utils import load_private_key
import os
import sys
{
"__inputs": [
{
"name": "DS_LOCAL",
"label": "local",
"description": "",
"type": "datasource",
"pluginId": "graphite",
"pluginName": "Graphite"
}
from pssh.pssh_client import ParallelSSHClient
from pssh.pssh2_client import ParallelSSHClient as ParallelSSH2Client
from pssh.utils import load_private_key
from gevent import monkey, sleep, threadpool, spawn, joinall
import os
import socket
import sys
from threading import Thread
@pkittenis
pkittenis / monitoring_service_docker.png
Last active October 6, 2017 10:40
InfluxGraph docker compose
monitoring_service_docker.png
@pkittenis
pkittenis / LICENSE
Last active August 23, 2017 15:18
Graphite test client
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
@pkittenis
pkittenis / cpu_usage.png
Last active February 9, 2017 17:15
InfluxGraph graphs
cpu_usage.png
@pkittenis
pkittenis / carbon-c-relay
Last active August 29, 2015 14:05
Carbon-c-relay
#!/bin/bash
#
# Init script for carbon-c-relay
#
# chkconfig: 345 80 20
# description: Carbon-c-relay is an alternative graphite relay \
# as a replacement for the built in carbon-relay. It provides \
# vastly better performance compared to the built in relay \
# in a multi-threaded process.
# processname: carbon-c-relayd"