Hi,
Just started using cacti and already created my first perl data input script that parses serial port input from some sensors.
Managed to graph the values i'm getting, but have a question.
I'd like to use autoscale without limits so that I can get more precise graphing data.
Here's what happens, the Y-axis values aren't showing decimals:
http://gw.gbit6.net:8002/stats/graph.ph ... rra_id=all
How come?
Also, how to show units
Decimals on Y-axis
Moderators: Developers, Moderators
Re: Decimals on Y-axis
Googling a bit brought me to this: http://forums.cacti.net/viewtopic.php?t=21086
Apparently the --alt-y-grid should solve my issue.
There was even a patch back then and supposedly this option was added in cacti subsequently.
I believe it was added as feature in 0.8.7c (svn r4451)?
Now on the 0.8.8a cacti release I can't find that option?
There's no reference to --alt-y-grid in lib/rrd.php at all?
Apparently the --alt-y-grid should solve my issue.
There was even a patch back then and supposedly this option was added in cacti subsequently.
I believe it was added as feature in 0.8.7c (svn r4451)?
Now on the 0.8.8a cacti release I can't find that option?
There's no reference to --alt-y-grid in lib/rrd.php at all?
Re: Decimals on Y-axis
Found some solid info here: http://forums.cacti.net/about31970.html ... alt-y-grid
Apparently the feature didn't make it to 0.8.7c as supposed to...
Here's the SVN revision that implements this: http://svn.cacti.net/viewvc?view=rev&revision=4451
Questions for the more experienced folks here,
what would be the best way to patch my 0.8.8a files with above mentioned changes from the SVN?
I could do it manually but..whats the SVN way?
Thanks
Apparently the feature didn't make it to 0.8.7c as supposed to...
Here's the SVN revision that implements this: http://svn.cacti.net/viewvc?view=rev&revision=4451
Questions for the more experienced folks here,
what would be the best way to patch my 0.8.8a files with above mentioned changes from the SVN?
I could do it manually but..whats the SVN way?
Thanks
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Decimals on Y-axis
Please see docs at 1st link of my sig. There's a small chapter with examples how to fiddle with y-axis
HTH
R.
HTH
R.
Re: Decimals on Y-axis
Um i did manage to get the wanted result by using the --alt-y-grid.
The thing is... why isn't --alt-y-grid option included in the latest cacti release?
The thing is... why isn't --alt-y-grid option included in the latest cacti release?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Decimals on Y-axis
Because 0.8.9 is not yet ready for production. Current SVN code already has support for --alt-y-grid.
In case you want to participate, see http://forums.cacti.net/viewtopic.php?f=11&t=48530
R.
In case you want to participate, see http://forums.cacti.net/viewtopic.php?f=11&t=48530
R.
Who is online
Users browsing this forum: No registered users and 0 guests