Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 25, 2015
  1. @danielbeardsley

    mysql-slave-stats.sh: always includes zeros

    danielbeardsley authored
    I forgot that pipe-to-graphite doesn't take arguments after the command
    sow we can't use the --include-zeros. Let's just make it the default
    cause it only adds a few metrics and missing values is annoying.
Commits on Apr 18, 2014
  1. @danielbeardsley

    Merge disown-instead-of-nohup (#6) into master

    danielbeardsley authored
    nohup: use disown instead
    
    Now the backgrounded process isn't even *in* the process tree of the
    shell, meaning `wait(1)` and friends won't block on it.
Commits on Jan 16, 2014
  1. @danielbeardsley

    nohup: use disown instead

    danielbeardsley authored
    Now the backgrounded process isn't even *in* the process tree of the shell,
    meaning `wait(1)` and friends won't block on it.
Commits on Sep 17, 2013
  1. @danielbeardsley

    Merge mysql-slave-status (#4) into master

    danielbeardsley authored
    Add example script for recording MySQL slave stats.
    
    Most of these aren't particularly interesting.  The ones I'm interested
    in are `slave_{io,sql}_running` and `seconds_behind_master`.
    
    I'm not sure if we want to use the same namespace here (`mysql`) as in
    the normal `mysql-stats.sh` script.
Commits on Sep 13, 2013
  1. @xiongchiamiov

    Add example script for recording MySQL slave stats.

    xiongchiamiov authored
    Most of these aren't particularly interesting.  The ones I'm interested
    in are `slave_{io,sql}_running` and `seconds_behind_master`.
    
    I`m not sure if we want to use the same namespace here (`mysql`) as in
    the normal `mysql-stats.sh` script.
Commits on Aug 26, 2013
  1. @danielbeardsley
  2. @danielbeardsley

    Add ping-time script

    danielbeardsley authored
    Include source dest and prefix in stat names
Commits on Dec 20, 2012
  1. @danielbeardsley

    Merge allow-piping (#1) into master

    danielbeardsley authored
    Allow piping data directly to the script with '-'
    
    i.e. if `some-command` generates data like:
    
        thingA 4325
        thingB 243
    
    Then you can send that directly to graphite with
    
        some-command | ./pipe-to-graphite.sh -
  2. @danielbeardsley
  3. @danielbeardsley

    Merge branch 'master' into allow-piping

    danielbeardsley authored
    Needed some updates to the HELP text.
  4. @danielbeardsley

    Merge pull request #2 from SEJeff/master

    danielbeardsley authored
    Shell cleanups
    
    These were mostly obvious to me after quickly taking a glance at the code. Nice script, very clever :)
    
    The lines like this:
    ```bash
    GRAPHITE_SERVER=${GRAPHITE_SERVER:=localhost}
    ```
    
    Allow you to do something akin to:
    ```bash
    GRAPHITE_SERVER=carbon.host ./pipe-to-graphite.sh ...
    ```
Commits on Dec 19, 2012
  1. @SEJeff

    pipe-to-graphite.sh: various shell cleanups

    SEJeff authored
        - Use a proper here document instead of many echo lines
        - Allow sending variables via the calling shell *or* graphite.conf
        - Don't attempt to execute an command that was never specified
        - For testing $?, the shell guarantees it is numeric so use the
          proper shell numeric comparison, -ne/-eq/-gt, etc
Commits on Dec 8, 2012
  1. @danielbeardsley
  2. @danielbeardsley

    Add License (zlib)

    danielbeardsley authored
Commits on Nov 9, 2012
  1. @danielbeardsley
  2. @danielbeardsley
Commits on Sep 17, 2012
  1. @danielbeardsley
Commits on Aug 22, 2012
  1. @danielbeardsley

    Swtich to TCP from UDP.

    danielbeardsley authored
    Graphite was getting many half-stats beginning of the line was missing).
    It was weird and this fixed it.
Commits on Aug 21, 2012
  1. @danielbeardsley
  2. @danielbeardsley
  3. @danielbeardsley

    Set a timeout on netcat commands

    danielbeardsley authored
    Netcat will occasionally wait forever, even if stdin is closed.
  4. @danielbeardsley

    Send via UDP instead of TCP

    danielbeardsley authored
    To ensure the command still completes instead of timing out on
    failed TCP connections.
Commits on Aug 15, 2012
  1. @danielbeardsley
Commits on Aug 10, 2012
  1. @danielbeardsley

    Add memcache-stats-extended.sh

    danielbeardsley authored
    Which includes stats for every slab
Commits on Aug 6, 2012
  1. @danielbeardsley

    Mysql-stats: fix bug in order of sed commands

    danielbeardsley authored
    Prepending must happen after the _ replacement
  2. @danielbeardsley
  3. @danielbeardsley

    Fix some README typos

    danielbeardsley authored
  4. @danielbeardsley

    Add memcache-stats.sh adapter

    danielbeardsley authored
    To record useful memcache info.
  5. @danielbeardsley

    Add README

    danielbeardsley authored
  6. @danielbeardsley

    Refactor and comment

    danielbeardsley authored
    Swap the if statements so usage help is on top
  7. @danielbeardsley

    First commit

    danielbeardsley authored
Something went wrong with that request. Please try again.