Xymon Mailing List Archive search

Monitoring multiple values

list David Welker
Tue, 19 Aug 2014 11:22:15 -0400
Message-Id: <CAAOtyH+JHpxOTE6-FE2U+mX36YJkdoOpm=user-2059bd74ba1b@xymon.invalid>

This sounded like a great idea, so I got the status showing up via the
extra-scripts option, but the info on the data message is a little vague.
 According to the example, I just echo the DS statements, then the dataset
name on a line by itself, followed by the data for one dataset on a line by
itself, which doesn't seem to do anything in the way of creating any of the
multiple rrds I need, nor does it address the time consideration for
multple values (I need to insert 5 values a minute apart  from 5 mins.
before putting them into the rrd - I know this can be done with the rrdtool
update command, but can it be done here somehow?)  Anybody have an example
of a multi-dataset case being run via the extra-scripts option of the
xymond_rrd they'd be willing to share?

Thanks!
David


On Fri, Aug 15, 2014 at 10:09 AM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
wrote:
You could do that server-side.  Look at the man page for xymond_rrd. The
--extra-script option allows you to pipe incoming data through a script to
process. You could take the report time and subtract 1 min, 2 min, etc,
then emit rrd updates as required.  The client would still send all 5
values at the same time, but they'd be recorded as if received over the
preceding 5 minute block.

Ralph Mitchell
On Aug 15, 2014 9:55 AM, "David Welker" <user-04cf53598626@xymon.invalid> wrote:
I've been looking, but haven't seen anything in the documentation, on the
website, or in the mailing list that addresses this:

I need to monitor 5 values that are received all at the same time.  I'd
like to insert the values at one minute intervals getting a consolidated
data point (CDP) every 5 minutes that I can graph.

For example, I ping a host via client script, 5 times, returning all of
the data at one time.  I want to put all 5 values in the database (rrd),
but spaced apart every minute so I get a decent CDP. I could probably do
this if this was on the server (could I?), but the script HAS to be on the
client in this case.  Is this even doable?

Thanks, in advance, for any suggestions!

David