Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone please guide me about how to write scripts for statsD & see the metric in Graphite.
I am getting the graphs for the default scripts run by statsd to graphite i.e Cpu usage etc
but i dont know how to write my own script to monitor some service in graphite.
& can u guide me about what statsd client & server do?? Is this how we write new scripts to implement new services??

share|improve this question

You can first try to play by sending metrics with a command line like : echo -n "mymetric:1|c" | nc -u statsdhost 8125

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.