Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Problems graphing large numbers

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
davidwmjones



Joined: 05 Jul 2006
Posts: 3

PostPosted: Fri Dec 22, 2006 8:30 am    Post subject: Problems graphing large numbers Reply with quote

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



cacti graph config2.gif
 Description:
Cacti graph config 2
 Filesize:  22.05 KB
 Viewed:  2683 Time(s)

cacti graph config2.gif



cacti graph config1.gif
 Description:
Cacti graph config 1
 Filesize:  35.55 KB
 Viewed:  2683 Time(s)

cacti graph config1.gif



cacti log.gif
 Description:
Cacti log
 Filesize:  69.41 KB
 Viewed:  2683 Time(s)

cacti log.gif


Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 6795
Location: WA, USA

PostPosted: Fri Dec 22, 2006 11:59 am    Post subject: Re: Problems graphing large numbers Reply with quote

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

PostPosted: Fri Dec 22, 2006 12:10 pm    Post subject: Reply with quote

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

PostPosted: Wed Jan 03, 2007 10:02 am    Post subject: Thanks, it's now working Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group