Idea about added RRD options
list Sigurður Guðbrandsson
Hi Henrik (and anyone else who likes to code during their workhours ;-) I am trying to put up a custom graph based on an altered version of Dell System Check script (most changes I have made are to be found on the Shire). The graph is based on temperatures on 1-4 cpu's and 1-4 memory modules. The problem is that I can't know how many modules of cpu or ram I am going to put in a graph per server. The NCV module only generates one RRD file, so I can't use the @RRDIDX@ or @RRDPARAM@ variables for displaying everything correctly. I haven't tried to put every possible module in hobbitgraphs.cfg but I think that would not work or be very confusing when reading the graph solely. So my idea is to put a variable @RRDNAME@ variable that parses the names of the DS and thus displays only the DS's in the RRD file. This e-mail may be confusing, but this is the only way that I find myself understandable. :) With regards, Sigurður Guðbrandsson Raförninn ehf. Suðurhlíð 35 105 Reykjavik | Iceland user-f6f2e0690a1f@xymon.invalid | www.raforninn.is <http://www.raforninn.is/> Office: +(XXX) XXX XXXX Mobile: +(XXX) XXX XXXX
list Tom Georgoulias
▸
Sigurður Guðbrandsson wrote:
The graph is based on temperatures on 1-4 cpu's and 1-4 memory modules. The problem is that I can't know how many modules of cpu or ram I am going to put in a graph per server. The NCV module only generates one RRD file, so I can't use the @RRDIDX@ or @RRDPARAM@ variables for displaying everything correctly.
The split NCV patch might help get around this limitation. It will create a rrd file for each module in your test, instead of dumping all of the modules into a single rrd for the entire test. Split NCV is supposed to be included in the 4.3 release, but there is a patch for 4.2 that Charles Goyard posted to the list sometime back. If you cannot find it in the archive, I can send it to you. Tom
list Charles Goyard
Hi,
▸
Sigurður Guðbrandsson wrote :Hi Henrik (and anyone else who likes to code during their workhours ;-) I am trying to put up a custom graph based on an altered version of Dell System Check script (most changes I have made are to be found on the Shire). The graph is based on temperatures on 1-4 cpu's and 1-4 memory modules. The problem is that I can't know how many modules of cpu or ram I am going to put in a graph per server.
Actually, there are two ways of doing so : - get a recent snapshot of hobbit, there's a "splitncv" feature included. - send a "data" message formatted something like "cpu1.rrd:GAUGE:34" (search the archives for the exact format, it's from memory). This feature is in some patch too, not in 4.2.0. Regards. -- Charles Goyard - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
list Charles Goyard
▸
Tom Georgoulias wrote :
The split NCV patch might help get around this limitation. It will create a rrd file for each module in your test, instead of dumping all of the modules into a single rrd for the entire test. Split NCV is supposed to be included in the 4.3 release, but there is a patch for 4.2 that Charles Goyard posted to the list sometime back. If you cannot find it in the archive, I can send it to you.
Beware that the patch I sent has a memory leak, Henrik corrected it when he included the feature into hobbit.
▸
Regards,
--
Charles Goyard - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31
Orange Business Services - online multimedia // ingénierie
list Hezki Englander
Hi, I used your patch and it works really great. Can you advise about solving the memory leak you mentioned, I don't want to download a new version (snapshot) of hobbit because of other changes I did to the code. Thanks ! Hezki
▸
On 9/20/07, Charles Goyard <user-a6cdca7046e2@xymon.invalid> wrote:Tom Georgoulias wrote :The split NCV patch might help get around this limitation. It will create a rrd file for each module in your test, instead of dumping all of the modules into a single rrd for the entire test. Split NCV is supposed to be included in the 4.3 release, but there is a patch for 4.2 that Charles Goyard posted to the list sometime back. If you cannot find it in the archive, I can send it to you.Beware that the patch I sent has a memory leak, Henrik corrected it when he included the feature into hobbit. Regards, -- Charles Goyard - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie