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
<cfcomponent output="false" accessors="true"> | |
<cfproperty name="fileRoot"> | |
<cffunction name="init" access="public" output="false"> | |
<cfargument name="fileRoot" required="true" /> | |
<cfscript> | |
setFileRoot(arguments.fileRoot); | |
//initialize the directory where we store all the files | |
initializefileRoot(); | |
return this; | |
</cfscript> |
package org.jasig.cas.adaptors.jdbc; | |
import org.jasig.cas.authentication.principal.UsernamePasswordCredentials; | |
import org.springframework.security.crypto.bcrypt.BCrypt; | |
import org.springframework.beans.factory.InitializingBean; | |
import org.jasig.cas.adaptors.jdbc.AbstractJdbcUsernamePasswordAuthenticationHandler; | |
public class BCryptSearchModeSearchDatabaseAuthenticationHandler extends | |
AbstractJdbcUsernamePasswordAuthenticationHandler implements InitializingBean { |
VENDOR="/tmp/vendor"; | |
NGINX_TITLE='Nginx/OpenResty' | |
NGINX_NAME='ngx_openresty' | |
NGINX_TAG='v1.2.4.7' | |
NGINX_URL='git://github.com/agentzh/ngx_openresty.git' | |
NGINX_PATH="$VENDOR/$NGINX_NAME-$NGINX_TAG" | |
OPENRESTY_VERSION="1.2.6.6" |
#! /usr/bin/env sh | |
PCRE_VERSION="8.21" | |
cd /tmp | |
wget "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE_VERSION.tar.gz" | |
tar -xzvf "pcre-$PCRE_VERSION.tar.gz" | |
cd "pcre-$PCRE_VERSION" | |
./configure --enable-jit | |
make -j2 |
<!------------------------------------------------------------------------------ | |
|| Component : passwordCheck.cfc | |
|| Author : Jason Luttrell | |
|| Description : Functionality to test for password strength. | |
|| Public Methods : init() | |
|| : initialize component | |
|| isPasswordValid() | |
|| : returns boolean indicating whether or not the | |
|| password meets the minimum requirements. | |
|| getErrors() |
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 8.x | |
#more :http://sukharevd.net/wildfly-8-installation.html | |
#author :Dmitriy Sukharev | |
#date :20140601 | |
#usage :/bin/bash wildfly-install.sh | |
WILDFLY_VERSION=8.1.0.Final | |
WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION |
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
user www-data; | |
worker_processes 1; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
sendfile on; |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: carbon-cache | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: carbon-cache init script | |
# Description: An init script for Graphite's carbon-cache daemon. | |
### END INIT INFO |
Graphite does two things:
What Graphite does not do is collect data for you, however there are some tools out there that know