Graphite does two things:
- Store numeric time-series data
- Render graphs of this data on demand
What Graphite does not do is collect data for you, however there are some tools out there that know
#Create a new issue in Jira from the Python XMLRPC interface. You'll have to | |
#provide the server and user credentials and match up your own fields | |
import sys | |
from xmlrpclib import Server | |
user = "username" | |
passwd = "passwd" | |
serverurl = "https://server.example.com/rpc/xmlrpc" | |
projectname = "demoproject" |
#!/usr/bin/python | |
#Author: Juned Memon | |
#Base for this script was created by: Andrew McDonald [email protected] http://mcdee.com.au and Jelle Bekker | |
# Example: config file | |
#[client] | |
#host = localhost | |
#user = root | |
#password = root-pass |
Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no |
[main] | |
storeconfigs = true | |
storeconfigs_backend = puppetdb | |
reports = store,puppetdb | |
pluginsync = true |
Graphite does two things:
What Graphite does not do is collect data for you, however there are some tools out there that know
This gist will drive you through creating a Docker 1.12 Swarm cluster (with Swarm mode) on AWS infrastructure.
You need a few things already prepared in order to get started. You need at least Docker 1.12 set up. I was using the stable version of Docker for mac for preparing this guide.
$ docker --version
Docker version 1.12.0, build 8eab29e
You also need Docker machine installed.
HOWTO: Use the Postfix Chef Cookbook to have your EC2 server relay all mail through AWS SES. | |
node.default['postfix']['mailtype'] = "master" | |
node.override['postfix']['main']['relayhost'] = "[email-smtp.us-west-2.amazonaws.com]:25" | |
node.default['postfix']['main']['smtp_sasl_auth_enable'] = "yes" | |
node.default['postfix']['main']['smtp_sasl_password_maps'] = "hash:/etc/postfix/sasl_passwd" | |
node.default['postfix']['main']['smtp_sasl_security_options'] = "noanonymous" | |
node.default['postfix']['main']['smtpd_use_tls'] = "yes" | |
node.default['postfix']['main']['mynetworks'] = "42.42.42.0/24, 127.0.0.1/32" | |
node.default['postfix']['main']['mydomain'] = "solongandthanksforallthefi.sh" |
curl -i -u "my_user_name:my_password" -X PUT -d '' 'https://api.github.com/repos/my_gh_userid/my_repo/collaborators/my_collaborator_id' |
#!/bin/bash | |
# A simple script to backup an organization's GitHub repositories. | |
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos | |
# returned by GitHub one page at a time, as described at https://gist.github.com/darktim/5582423 | |
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files | |
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up | |
# (if you're backing up a user's repos instead, this should be your GitHub username) | |
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API) |