Broken values with integer graphing
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Tue Jan 30, 2007 1:51 am
Broken values with integer graphing
Am having issues graphing some integer values with cacti. I used the random2.pl example provided in this site- google random2.pl- to graph but i keep getting value that are not always ranging from 0-9. I sometimes get values such as 1.2, 6.7 etc. The same problem exists with other perl scripts I have developed to graph some integer values. Kindly assist.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
This was asked very often on the rrdtool-users mailing list. Please be aware of the fact, that rrdtool always stores rates, even with GAUGEs. And it will take care of time jitter when updating on non-uniform intervals.
In other words: if you make sure, that updates will occur at exactly 300 sec intervals, rrdtool (and therefor cacti) will report whole numbers
Reinhard
In other words: if you make sure, that updates will occur at exactly 300 sec intervals, rrdtool (and therefor cacti) will report whole numbers
Reinhard
- kjmattakat
- Posts: 15
- Joined: Fri Oct 12, 2007 3:03 pm
why then do the Current/Avg/Max values show up as whole numbers? is there a way to graph only whole numbers? I am using "exact numbers" on the graph item.gandalf wrote:This was asked very often on the rrdtool-users mailing list. Please be aware of the fact, that rrdtool always stores rates, even with GAUGEs. And it will take care of time jitter when updating on non-uniform intervals.
In other words: if you make sure, that updates will occur at exactly 300 sec intervals, rrdtool (and therefor cacti) will report whole numbers
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest