y-axis scale labels in auto-scale mode
Moderators: Developers, Moderators
y-axis scale labels in auto-scale mode
I'm using autoscale mode extensively but I'm finding it frustrating that the y-axis scaling will only display integers. If I have a value that changes by less than 1 unit across the range of the graph, I get the y-axis label repeated.
Note how the value 25 is repeated - I would guess from the 'Present Voltage' value that the lower label in the y-axis should be 24.9 not 25!
I'm running 0.8.7b under Linux.
Note how the value 25 is repeated - I would guess from the 'Present Voltage' value that the lower label in the y-axis should be 24.9 not 25!
I'm running 0.8.7b under Linux.
This issues was addressed in "feature#0000954: implement --alt-y-grid graph option", which should be in upcoming versions of Cacti... Although oddly, it says it was added to 0.8.7c, but not present. It IS present in the SVN though.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I've been trying to determine how to reference changes to bug refs but the SVN browser doesn't use TRAC so I can't see when the changeset was appied and to which modules.
Is there anyone who could indicate the relevant modules so I can make a minimal change to my Gentoo install pending a new version appearing in their stable tree.
Thanks
Is there anyone who could indicate the relevant modules so I can make a minimal change to my Gentoo install pending a new version appearing in their stable tree.
Thanks
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please see http://svn.cacti.net/viewvc?view=rev&revision=4451
Reinhard
Reinhard
Re: y-axis scale labels in auto-scale mode
I'm confused. I have a fully patched Cacti 0.8.7g installed on Ubuntu Linux 10.10 (current version).
Cacti feature#000954, in subversion revision 4451, which was checked in 2008-02-01 14:29:02 -0800,
is not included in my Cacti installation. (This feature adds an "--alt-y-grid" option for rrdtool, which
I have confirmed experimentally does correct a problem I'm having with duplicate integers on the Y axis.)
My evidence for this: I have not found the feature in the installed changelog for 0.8.7g,
the new fields that the revision defines in mysql table graph_templates_graph
( t_alt_y_grid and alt_y_grid) are absent, and the changes it makes to various php scripts are absent.
I checked the online Cacti svn repository for branches/0.8.7/cacti.sql :
http://svn.cacti.net/viewvc/cacti/branc ... w=annotate
but the changes are not reflected there either:
<snip>
1422 : gandalf 4329 t_scale_log_units char(2) default '0',
1423 : scale_log_units char(2) default NULL,
1424 : raxnet 695 t_auto_scale_rigid char(2) default '0',
1425 : auto_scale_rigid char(2) default NULL,
1426 : t_auto_padding char(2) default '0',
<snip>
So, I conclude that feature#0000954 / revision 4451 did not make it into the release for 0.8.7.
Can anyone shed some light on this? Can I apply the missing changeset as a patch, or would
there possibly be dependancies on some other changeset? Is there a reason why this wasn't
included in the release?
Thanks for any help,
--
Charles Polisher
Cacti feature#000954, in subversion revision 4451, which was checked in 2008-02-01 14:29:02 -0800,
is not included in my Cacti installation. (This feature adds an "--alt-y-grid" option for rrdtool, which
I have confirmed experimentally does correct a problem I'm having with duplicate integers on the Y axis.)
My evidence for this: I have not found the feature in the installed changelog for 0.8.7g,
the new fields that the revision defines in mysql table graph_templates_graph
( t_alt_y_grid and alt_y_grid) are absent, and the changes it makes to various php scripts are absent.
I checked the online Cacti svn repository for branches/0.8.7/cacti.sql :
http://svn.cacti.net/viewvc/cacti/branc ... w=annotate
but the changes are not reflected there either:
<snip>
1422 : gandalf 4329 t_scale_log_units char(2) default '0',
1423 : scale_log_units char(2) default NULL,
1424 : raxnet 695 t_auto_scale_rigid char(2) default '0',
1425 : auto_scale_rigid char(2) default NULL,
1426 : t_auto_padding char(2) default '0',
<snip>
So, I conclude that feature#0000954 / revision 4451 did not make it into the release for 0.8.7.
Can anyone shed some light on this? Can I apply the missing changeset as a patch, or would
there possibly be dependancies on some other changeset? Is there a reason why this wasn't
included in the release?
Thanks for any help,
--
Charles Polisher
Re: y-axis scale labels in auto-scale mode
This option seemed to be implemented in the past, but omitted for some reason (I don't know).cpolish wrote:the new fields that the revision defines in mysql table graph_templates_graph
( t_alt_y_grid and alt_y_grid) are absent, and the changes it makes to various php scripts are absent.
http://svn.cacti.net/viewvc/cacti/branc ... 90&r2=4197
I tried some test.
When zoomed one graph, label for y-axis is duplicated. So I added the option to 'lib/rrd.php'.
It fixed the problem. Wow. But, for another (zoomed) graph without problem, changed to this.. That's tricky.$scale = "--alt-autoscale-max --alt-y-grid" . RRD_NL;
// Sorry my English
Re: y-axis scale labels in auto-scale mode
Greetings Cacti Gurus,
I am very interested in applying this patch and would like to find out if any potential conflicts exist with post-patches if this patch is applied.
best regards
Stephen
I am very interested in applying this patch and would like to find out if any potential conflicts exist with post-patches if this patch is applied.
best regards
Stephen
cpolish wrote:I'm confused. I have a fully patched Cacti 0.8.7g installed on Ubuntu Linux 10.10 (current version).
Cacti feature#000954, in subversion revision 4451, which was checked in 2008-02-01 14:29:02 -0800,
is not included in my Cacti installation. (This feature adds an "--alt-y-grid" option for rrdtool, which
I have confirmed experimentally does correct a problem I'm having with duplicate integers on the Y axis.)
My evidence for this: I have not found the feature in the installed changelog for 0.8.7g,
the new fields that the revision defines in mysql table graph_templates_graph
( t_alt_y_grid and alt_y_grid) are absent, and the changes it makes to various php scripts are absent.
I checked the online Cacti svn repository for branches/0.8.7/cacti.sql :
http://svn.cacti.net/viewvc/cacti/branc ... w=annotate
but the changes are not reflected there either:
<snip>
1422 : gandalf 4329 t_scale_log_units char(2) default '0',
1423 : scale_log_units char(2) default NULL,
1424 : raxnet 695 t_auto_scale_rigid char(2) default '0',
1425 : auto_scale_rigid char(2) default NULL,
1426 : t_auto_padding char(2) default '0',
<snip>
So, I conclude that feature#0000954 / revision 4451 did not make it into the release for 0.8.7.
Can anyone shed some light on this? Can I apply the missing changeset as a patch, or would
there possibly be dependancies on some other changeset? Is there a reason why this wasn't
included in the release?
Thanks for any help,
--
Charles Polisher
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: y-axis scale labels in auto-scale mode
As the patch introduces a db change, it's a bit tricky. Nevertheless, everything necessary should be included in that very SVN update
R.
R.
Who is online
Users browsing this forum: No registered users and 3 guests