[hobbit] Custom graphs again
Charles Goyard
charles.goyard at orange-ftgroup.com
Thu Mar 29 17:07:01 CEST 2007
Stewart wrote :
> So, I have a bit of a situation.
>
> in that vein, it would be nice if I can get the data stored in a
> separate RRD file for each interface (the same way that there is a
> separate RRD file for each partition on a disk test) so that I can use
> the file @RRDFN@ and @RRDPARAM@ stuff to work, but I'm unsure how to do
> that.
>
> little help?
Hi,
I posted a patch some time ago that Henrik ignored, but it permits one
to do that very thing.
I provide it again in case Henrik notices this time :)
------------ (Date: Thu, 28 Dec 2006 19:07:07 +0100 ) ----
Hi all,
here is a patch that provides two new features to the NCV graph backend.
It answers to a request I did on August 2nd (subject: "Dynamic or Split
NCV").
- split-ncv : Lets you store an ever-changing set of data on a status
column basis. Say, you want to keep track of who is accessing a
database. It works by creating a rrd file per ncv line instead of
packing a lot of DS in a single rrd file. I use it to keep track of
tomcat session number per context, harddrive temperature, database
connexions, and a whole bunch of other things, such a the repartition
of
loaded classes on a jvm (useful to find memory leaks).
- trackmax : it lets you keep track of the maximum value of a dataset,
along with the average. It's useful when the maximum is somehow as
significant than the average over time. (say, to track a hard-limited
ressource, such as telephone lines). I use it to keep track of the
maximum number of busy X25 lines on a specific application. It only
works for NCV at the time, but I may add it to other tests.
The patch includes the documentation for all this. It applies on today's
snapshot and on october' all-in-one. It does not work with the plain
release because of a nasty bug in do_ncv.c.
Well, here's the patch. Consider it beta, but yet it works on my
production server. I strongly hope it will be included in the
mainstream hobbit (I don't like maintaining local patches :)).
--
Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31
online multimedia / ingénierie
********************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. CVF decline toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et d'avertir l'expediteur.
*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. CVF shall not be liable for the message if altered, changed or
falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split-ncv2.patch
Type: text/x-diff
Size: 12416 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070329/12c0bd15/attachment.patch>
More information about the Xymon
mailing list