GPRINT error - returns zero value when set to Exact Numbers
Moderators: Developers, Moderators
Re: GPRINT error - returns zero value when set to Exact Numb
Just checked it again
output: vid_use1:7
output: vid_use1:7
Re: GPRINT error - returns zero value when set to Exact Numb
Any ideas?
output: vid_use1:10
output: vid_use1:10
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: GPRINT error - returns zero value when set to Exact Numb
"Exact numbers" only rounds the number to return an integer. So what did you expect?
R.
R.
Re: GPRINT error - returns zero value when set to Exact Numb
So what setting should I be using to output the values as they come from my script?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: GPRINT error - returns zero value when set to Exact Numb
RRDTooll always stores a rate. So, assuming that poller interval is 300 sec, you will have to multiply the data with 300 to receive the "normalized" value for that very interval.
I say "normalized", because rrdtool ALWAYS performs a normalization to exact 300 sec boundaries! See e.g. http://www.vandenbogaerdt.nl for better explanations
R.
I say "normalized", because rrdtool ALWAYS performs a normalization to exact 300 sec boundaries! See e.g. http://www.vandenbogaerdt.nl for better explanations
R.
Re: GPRINT error - returns zero value when set to Exact Numb
gandalf,
This is still causing issues for us.
I created a cdef function to multiply the data by 300, as your last post suggests (if I've understood that right)
But still... our graph's GPRINT shows as 0, when the script is outputting larger numbers.
Interestingly.. the MAX GPRINT does now work, but the LAST and AVG still show as zero.
Any more ideas?
Thanks
This is still causing issues for us.
I created a cdef function to multiply the data by 300, as your last post suggests (if I've understood that right)
But still... our graph's GPRINT shows as 0, when the script is outputting larger numbers.
Interestingly.. the MAX GPRINT does now work, but the LAST and AVG still show as zero.
Any more ideas?
Thanks
Re: GPRINT error - returns zero value when set to Exact Numb
Interestingly... this server is one part of a pair of servers running the same base build.
I quickly tested configuring my script and graph template etc on that box - and it works. With No CDEF function and the GPRINT type set to exact numbers.
I quickly tested configuring my script and graph template etc on that box - and it works. With No CDEF function and the GPRINT type set to exact numbers.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: GPRINT error - returns zero value when set to Exact Numb
Please post a screenshot of the "failing" graph and the rrdtool graph command seen when hitting the wrench
R.
R.
Re: GPRINT error - returns zero value when set to Exact Numb
Gandalf.
Don't worry
We have now decided not to pursue / use Cacti any longer.
Don't worry
We have now decided not to pursue / use Cacti any longer.
Who is online
Users browsing this forum: No registered users and 0 guests