sudo gem install riemann-cli # riemann-cli send --service=TestEvent --metric="31337" --state=warning --ttl=20 --description="This is a test event" --tags=riemann test # riemann-cli query --string='service = "TestEvent"' # riemann test /etc/riemann/riemann.config riemann-cli send --service=Mailtest --metric="3l337" --state=error -ttl=20 --description="Mail function test" --tags=riemann test www (let [client (tcp-client :host "dc_monitoring")] (by [:host :service] (forward client))) (let [client (tcp-client :host "dc_monitoring")] (by [:host :service] (where (state "error") (forward client)))) sudo gem install riemann-tools riemann-health -h -e -u 0.2 -r 0.5 -d 0.2 -s 0.3 -o l & (streams (where (service "postgres") graph))