xychart-beta
title "CPU Usage - vector - omega-apse2-mgmt"
x-axis "Days" 0 --> 14
This file contains hidden or 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
| #!/bin/bash -e | |
| CONTAINTER_NAME=${1} | |
| # If we are not provided a name to use, then use the name of | |
| # the current directory | |
| if [[ -z ${CONTAINTER_NAME} ]];then | |
| CONTAINER_NAME=${PWD##*/} | |
| fi | |
| CONTAINER_VERSION=${2} |
This file contains hidden or 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
| # RUN ME, I am the worker! | |
| # $ pip install fabric celery-with-redis | |
| # $ celery -A tasks worker -E --loglevel=debug | |
| from celery import Celery | |
| from time import sleep | |
| from fabric.api import env, run, execute | |
| import sys | |
| celery = Celery('tasks', broker='redis://', backend='redis://') |
This file contains hidden or 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
| echo "deb http://au.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list | |
| echo "deb-src http://au.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list | |
| apt-get install wget | |
| wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb | |
| dpkg -i puppetlabs-release-precise.deb | |
| apt-get update | |
| apt-get install puppetmaster |
This file contains hidden or 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
| #!/bin/bash | |
| ################################################################################ | |
| # Quick script to get graphite up and going on a freshly installed ubuntu server | |
| # Don't use this in production, this for purely for testing and play boxes. | |
| # Written by: Daniel@danielscottlawrence.com | |
| ################################################################################ | |
| GRAPHITE_URL="https://github.com/graphite-project/graphite-web/zipball/master" | |
| GRAPHITE_ZIP="graphite-web-latest.zip" |