Are there any other examples of agents for adding data to graphite?

Asked by Charlie

What are some of the other ways people are getting data into graphite?

For example, right now I am just parsing log files and sending the data to graphite using perl:

my $message = $metric . " " . $value . " " . $timestamp . "\n";
my $sock=IO::Socket::INET->new(PeerAddr=>'graphite',PeerPort=>'2003',Proto=>'tcp');
$sock->send($message);

I would prefer to have agents running on my servers that send the data to graphite. Are there any other examples of this? Ideally it would be some native agents that could run on Solaris.

The new version is really great, very much improved. Nice work.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chrismd (chrismd) said :
#1

I think most Graphite users write custom scripts to send their data. There is no real standard client application or library yet. This is probably because everyone has some unique data to collect and the protocol is pretty simple. That said, not every user of graphite should have to be a programmer. I think the best solution would be to add support to existing monitoring tools that collect data to be able to send that data to graphite for storage and visualization. One such tool that may support this soon is OpenNMS. Another tool that already can do this is Munin, http://munin.projects.linpro.no/. A ruby script was contributed to graphite (look in the contrib/ subdir in trunk) to achieve this.

If anyone else has other applications that can talk to graphite, please let us know.

Can you help with this problem?

Provide an answer of your own, or ask Charlie for more information if necessary.

To post a message you must log in.