Data in the RRD not correct

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
vishalsuri
Posts: 1
Joined: Mon Mar 18, 2002 7:00 pm

Post by vishalsuri »

Hi all,

I have a perl script that spits out the download time of a website. I'm using this script to update my RRD file that has ABSOLUTE as the data source type and LAST as the CF. I've also created a new Data input source for this perl script to run and it seems to give good results when i run it from the "cron printout" window. However, when I dump the RRD into a file the data seems to be incorrect (always in milliseconds) which shouldn't be the case for most websites.

Has anybody else run into this? Any help would be greatly appreciated.

Thanks,
Vishal
vishal@tsproviders.net
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Make sure 'Update' is checked under 'cacti Settings', then tail the 'rrd.log' file and make sure cacti is feeding the correct values to the .rrd file via the 'update' function. This way you can tell if cacti or rrdtool is at fault here.

You may actually find that it is just how cacti stores numbers, which is different to how many think sometimes.

In any case, your problem can most likely be solved using a CDEF (math function) in cacti. That would allow you to multiply your data by 1000 for example.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests