RRD data points - still struggling with RRD and graph distortion
list Mike Wood
Hi All, I'm still struggling with RRD, and how Xymon / Hobbit uses it to graph. I've modified /hobbitd/do_rrd.c where each RRD has 2304 datapoints (and make / make install / restart hobbit). I've also used rrdtool resize vmstat.rrd 1 GROW 1728 (then copy the resize.rrd file back over vmstat.rrd) to match the datpoints. However, my graphs don't show up correctly. They get truncated like in the attached .jpg files. Can anyone help an RRD thick-head get me over the hump? Thanks! Mike Wood UNIX System Administrator Kinetic Concepts Inc. 5751 NW Parkway San Antonio, TX, 78249 -----Original Message----- From: Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] Sent: Monday, November 10, 2008 4:15 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] FW: RRD data points - need help with graph distortion On Monday 10 November 2008, Wood, Mike wrote:
Looks like my graphs didn't come through on the E-mail. Trying different attachment type... From: Wood, Mike [mailto:user-ca9fdeef37c9@xymon.invalid] Sent: Monday, November 10, 2008 9:06 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] FW: RRD data points - need help with graph distortion Hi All, I asked this question last week, but maybe I wasn't clear enough as to what I was asking... - Management wants to avoid graph distortion on my 60 day CPU Util graph if possible. I think that more datapoints would address the problem. The first graph looks good (30 day graph). The 2nd one distorts what is really going on (60 day graph - same server). Is there any way to make the 2nd graph more granular? Thanks for looking! -
I have a perl script to update all the rrd files: - it uses rrdtool resize <rrd file> GROW to add extra datapoints so the rrd has 5760 data points / rra (per default it has 756 data points) - it adds also MAX and MIN rra's, this is more tricky because I export the rrd to xml, change the xml info and revert back to an rrd file. Unfortunatly, I can not share this script. But with use RRDs ; use File::Find (); you can get info about the file and find them ;) Stef ***************************************************************************** "CONFIDENTIALITY NOTICE: This transmission (including any accompanying attachments) is confidential, is intended only for the individual or entity named above, and is likely to contain privileged, proprietary and confidential information that is exempt from disclosure requests under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, use of or reliance upon any of the information contained in this transmission is strictly prohibited. Any inadvertent or unauthorized disclosure shall not compromise or waive the confidentiality of this transmission or any applicable attorney-client privilege. If you have received this transmission in error, please immediately notify us at user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ****************************************************************************** ***************************************************************************** "CONFIDENTIALITY NOTICE: This transmission (including any accompanying attachments) is confidential, is intended only for the individual or entity named above, and is likely to contain privileged, proprietary and confidential information that is exempt from disclosure requests under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, use of or reliance upon any of the information contained in this transmission is strictly prohibited. Any inadvertent or unauthorized disclosure shall not compromise or waive the confidentiality of this transmission or any applicable attorney-client privilege. If you have received this transmission in error, please immediately notify us at user-c978de0668a4@xymon.invalid." Kinetic Concepts, Inc. ******************************************************************************
Attachments (2)
attachment.jpg
attachment-0001.jpg