Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.22 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.22 KB

Ticked

Collect stuff over UDP, show graphs.

Getting Started

  1. grab node. http://nodejs.org/

     NODE_VERSION=v0.10.29
     curl -O http://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}.tar.gz
     tar zxvf node-${NODE_VERSION}.tar.gz
     cd node-${NODE_VERSION}
     ./configure --prefix=${HOME}/opt/node-${NODE_VERSION}
     make -j8
     make install
     cd ..
    

    Of course, you want this to be the version you use.

     (cd ${HOME}/opt && rm -f node && ln -s node-${NODE_VERSION} node)
    
  2. node path

     NODE_HOME=${HOME}/opt/node
     export PATH=$PATH:${NODE_HOME}/bin
    
  3. install dependencies (be sure to be inside this directory)

     # Inside the ticked directory; installing locally
     npm install
    
  4. start the ticked server.

     node ticked.js
    
  5. send some data.

     ./sender.py
    
  6. point a browser at the server. http://localhost:8080

Sending Data

UDP data is accepted. The message format is colon ':' separated. You can test from the command-line like:

# on mac
echo "toplevel:groovy" | nc -u -w 0 localhost 8025

# on linux
echo "toplevel:groovy" | nc -u -q 0 localhost 8025

Limitations

It sucks.