|
|
| Author |
Message |
davidwmjones
Joined: 05 Jul 2006 Posts: 3
|
Posted: Fri Dec 22, 2006 8:30 am Post subject: Problems graphing large numbers |
|
|
Hello
I'm trying to setup my own Data Queries, and this is working to a point.
I'm following the instruction relating to 'Simplest Method of going from Script to Graph (Walkthrough)'.
I can create graphs using the perl function to generate a random number between 1 and 10. I can also create graphs if I modify the funtion to return a value between 1 and 100.
However if I modify the function to return a vaule between 1 and 10,000 I get no data in the graphs.
The funtion returns a value OK, and this even appears in the CACTI logs.
I've attachded the CACTI log file and graph configuration screen dumps.
It the random4 function that I'm trying to graph. Interestingly there sometimes appears a dot on the bottom of the graph, which then disappears. (this is in green).
Does anyone have any ideas where I could be going wrong? Manyt thanks in advance.
I'm using
Windows Server 2003
Cacti v0.8.6i
MySQL 5.0.24
Apache 2.0.59
PHP 5.1.6
RRDTool 1.2.15
ActivePerl 5.8.8.819
| Description: |
|
| Filesize: |
22.05 KB |
| Viewed: |
2683 Time(s) |

|
| Description: |
|
| Filesize: |
35.55 KB |
| Viewed: |
2683 Time(s) |

|
| Description: |
|
| Filesize: |
69.41 KB |
| Viewed: |
2683 Time(s) |

|
|
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6795 Location: WA, USA
|
Posted: Fri Dec 22, 2006 11:59 am Post subject: Re: Problems graphing large numbers |
|
|
Moving to the script forum
| davidwmjones wrote: | | However if I modify the function to return a vaule between 1 and 10,000 I get no data in the graphs. |
Most likely the data template max value is too small. After increasing that, you'll need to either run rrdtool tune or delete the rrd file so its re-created.
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Fri Dec 22, 2006 12:10 pm Post subject: |
|
|
While I second BSOD2600's statements, I request reading my "NaN Debugging" Howto, linked in my signature to debug this
Reinhard
|
|
| Back to top |
|
 |
davidwmjones
Joined: 05 Jul 2006 Posts: 3
|
Posted: Wed Jan 03, 2007 10:02 am Post subject: Thanks, it's now working |
|
|
The problem was with the size limit of the RRD files. I've deleted and re-created them with higher maximum values and it now appears to be working OK.
Thanks again
|
|
| Back to top |
|
 |
|