Knewton/check-graph — pull request #2 by dysinger (2014-07-17 04:12:52+00:00)
Title: 2183 check graph report the series that triggered alert

This change makes it so the CRITICAL output line has the data on it as it comes from graphite

im@humuhumunukunukuapuaa:~/src/hs/check-graph% ./.cabal-sandbox/bin/check_graph http://metrics.production.knewton.net:8080 'Platform2.Biggie.bivins.*.jvm.memory.heap.percentUsed' '<=' '0.20' '5'
CRITICAL: {"datapoints":[[0.61,1405569960],[0.63,1405570020],[0.65,1405570080],[0.62,1405570140],[null,1405570200]],"target":"Platform2.Biggie.bivins.i-2774e80b.jvm.memory.heap.percentUsed"} {"datapoints":[[0.4,1405569960],[0.42,1405570020],[0.39,1405570080],[0.41,1405570140],[null,1405570200]],"target":"Platform2.Biggie.bivins.i-341d481f.jvm.memory.heap.percentUsed"}