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    


non-whole numbers on graph

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
jofficer



Joined: 04 Feb 2008
Posts: 33

PostPosted: Tue Aug 26, 2008 8:41 am    Post subject: non-whole numbers on graph Reply with quote

I know this has been discussed before and I thought I had bookmarked a couple of the threads discussing this, but I cannot seem to find it now.

I've written a couple of custom scripts that report values 'right now'. At any rate, the issue is that the graphs end up reporting 3.5 or 2.7 or 1.6 or various decimal point numbers.

The scripts (for example) report mail queue, and number of items in a queue for internal processing (various custom data) but it's all whole numbers.

Sometimes these numbers report 0, sometime 1, sometimes 50, etc... but never decimal values.

Appreciate any response, even if it's just a pointer to another thread.

Thanks,
joey
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12295
Location: Muenster, Germany

PostPosted: Fri Aug 29, 2008 2:25 pm    Post subject: Reply with quote

This is a basic rrdtool question (I suppose it's top of the FAQ). RRDTool ALWAYS performs normalization of data, even for GAUGE. That is, it re-calculates ALL updates made off exact interval limits (e.g. when updating after 302 seconds instead of 300 secons exactly). No way to get rid of it
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group