Skip to content
Commits on Mar 25, 2015
  1. @danielbeardsley

    mysql-slave-stats.sh: always includes zeros

    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.
    danielbeardsley committed Mar 24, 2015
Commits on Apr 18, 2014
  1. @danielbeardsley

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

    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.
    danielbeardsley committed Apr 17, 2014
Commits on Jan 16, 2014
  1. @danielbeardsley

    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.
    danielbeardsley committed Jan 16, 2014
Commits on Sep 17, 2013
  1. @danielbeardsley

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

    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.
    danielbeardsley committed Sep 17, 2013
Commits on Sep 13, 2013
  1. @xiongchiamiov

    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.
    xiongchiamiov committed Sep 13, 2013
Commits on Aug 26, 2013
  1. @danielbeardsley
  2. @danielbeardsley

    Add ping-time script

    Include source dest and prefix in stat names
    danielbeardsley committed Aug 26, 2013
Commits on Dec 20, 2012
  1. @danielbeardsley

    Merge allow-piping (#1) into master

    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 -
    danielbeardsley committed Dec 20, 2012
  2. @danielbeardsley
  3. @danielbeardsley

    Merge branch 'master' into allow-piping

    Needed some updates to the HELP text.
    danielbeardsley committed Dec 20, 2012
  4. @danielbeardsley

    Merge pull request #2 from SEJeff/master

    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 ...
    ```
    danielbeardsley committed Dec 20, 2012
Commits on Dec 19, 2012
  1. @SEJeff

    pipe-to-graphite.sh: various shell cleanups

        - 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
    SEJeff committed Dec 18, 2012
Commits on Dec 8, 2012
  1. @danielbeardsley
  2. @danielbeardsley

    Add License (zlib)

    danielbeardsley committed Dec 7, 2012
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.

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

    Set a timeout on netcat commands

    Netcat will occasionally wait forever, even if stdin is closed.
    danielbeardsley committed Aug 21, 2012
  4. @danielbeardsley

    Send via UDP instead of TCP

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

    Add memcache-stats-extended.sh

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

    Mysql-stats: fix bug in order of sed commands

    Prepending must happen after the _ replacement
    danielbeardsley committed Aug 6, 2012
  2. @danielbeardsley
  3. @danielbeardsley

    Fix some README typos

    danielbeardsley committed Aug 5, 2012
  4. @danielbeardsley

    Add memcache-stats.sh adapter

    To record useful memcache info.
    danielbeardsley committed Aug 5, 2012
  5. @danielbeardsley

    Add README

    danielbeardsley committed Aug 5, 2012
  6. @danielbeardsley

    Refactor and comment

    Swap the if statements so usage help is on top
    danielbeardsley committed Aug 5, 2012
  7. @danielbeardsley

    First commit

    danielbeardsley committed Aug 5, 2012
Something went wrong with that request. Please try again.