[rrd-users] Re: FW: Graph help Plz

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Apr 20 02:50:56 MEST 2001


Robert Davis wrote:

> I have been looking at RRDTool for about a week now.  I am running rrdtool
> and perl on a windows 2000 advanced server machine.   I have created a rrd
> database that I have similated data going into for  a day now.  I have
> written a script that similates data input into the database by a router
> with the fields of input bytes, and output bytes.  I have also wriiten a
> Perl/CGI script using the perl-shared module, and it creates the graph just
> fine, but there is no data on the graph. I have poured over the mail-list
> archives and have read everything I can find on RRDTool, but I can't seem to
> isolate the problem.  

Problem isolation:

Create another RRD from the command line, not from your perl script.

Use the generated time stamps and data to fill that RRD, again from
the command line not from your perl script. (using a batch file is OK)

Compare the two RRDs, they should be identical.  If not -> problem with
your perl script.

Now dump the content of the RRD using the "rrdtool dump" command.  View
the content of this database and look for entered data (not being NaN).

If there is no data entered, the parameters of your RRD could be wrong,
check those.  For instance, updates occuring more than <step> seconds
apart will cause the data to be ignored.

If there is data entered but it's not visible in the graph, you're plotting
the wrong time range.  The graph parameters will be wrong in that case.

HTH,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list