Xymon Mailing List Archive search

Xymon metric data into Graphite?

4 messages in this thread

list Craig Cook · Sat, 05 Jan 2013 14:47:50 -0700 ·
I see that there is a xymond_rrd "--processor=/path/to/script" option.

In theory, could that be used to send all metric data to graphite?

If so, is there also an option to disable Xymon RRD graphs?

If I had to, I could probably create some sort or RAM disk for RRD graphs and have them contain 1 metric each, but would be nice to just disable RRD.

I found people have created monitoring of Graphite files and send results to Xymon, but I want to store Xymon metric data in Graphite.

Thanks

Craig
list Jeremy Laidman · Mon, 7 Jan 2013 11:43:50 +1100 ·
You could avoid using xymond_rrd altogether and substitute your own
processor.  For example, Japheth's  script sends to a SQL database:

http://lists.xymon.com/pipermail/xymon/attachments/20090306/ea445ad8/attachment.obj

[mentioned on The List, see:
http://lists.xymon.com/archive/2009-March/023782.html]
quoted from Craig Cook


On 6 January 2013 08:47, <user-618593604956@xymon.invalid> wrote:
**I see that there is a xymond_rrd "--processor=/path/to/script" option.

In theory, could that be used to send all metric data to graphite?

If so, is there also an option to disable Xymon RRD graphs?

If I had to, I could probably create some sort or RAM disk for RRD graphs
and have them contain 1 metric each, but would be nice to just disable RRD.

I found people have created monitoring of Graphite files and send results
to Xymon, but I want to store Xymon metric data in Graphite.

Thanks

Craig

list Japheth Cleaver · Mon, 7 Jan 2013 11:22:58 -0800 (PST) ·
quoted from Jeremy Laidman
I see that there is a xymond_rrd "--processor=/path/to/script" option.
In theory, could that be used to send all metric data to graphite?
If so, is there also an option to disable Xymon RRD graphs?
If I had to, I could probably create some sort or RAM disk for RRD graphs
and have them contain 1 metric each, but would be nice to just disable RRD.
I found people have created monitoring of Graphite files and send results
to Xymon, but I want to store Xymon metric data in Graphite.

Thanks
Craig

That's exactly what you'd want to do; a while back I was running an RRD
processor pipe into an OpenTSDB instance running locally (the processor
fixup script did some trivial, and cheap, rewriting) the same way.

In terms of preventing xymond_rrd from doing the actual writing of rrd
files (even though you're using it for raw data parsing still), I agree
that that's annoying.

I've only done cursory testing on it, but the attached patch adds a
---no-rrd option to xymond_rrd, which should do what you want.


Regards,
-jc
Attachments (1)
list Craig Cook · Tue, 08 Jan 2013 17:58:47 -0700 ·
quoted from Japheth Cleaver
>I've only done cursory testing on it, but the attached patch adds a
>--no-rrd option to xymond_rrd, which should do what you want.

That looks useful.

Did this get (or can it be) submitted as an official patch request?

Thanks

Craig