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 sigurdur at raforninn.is | www.raforninn.is <http://www.raforninn.is/> Office: +(354) 552 2070 Mobile: +(354) 867 3573
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
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 - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
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 <charles.goyard at orange-ftgroup.com> 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 - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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 - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
participants (4)
-
charles.goyard@orange-ftgroup.com
-
me2unix@gmail.com
-
sigurdur@raforninn.is
-
tomg@mcclatchyinteractive.com