Faded values on y-axis

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
alextep2
Posts: 3
Joined: Mon Dec 18, 2023 8:34 am

Faded values on y-axis

Post by alextep2 »

Hello,

I've been struggling with graphs scaling since I deployed Cacti some time ago. The y axis shows faded values for all interfaces, I've been joggling between scaling options, graph templates, data source parameters but with no luck. I'm using Cacti Version 1.2.24 on Windows.

I've attached here an example of an affected interface graph, also below you can find the graphs properties:

RRDtool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="1702820520" \
--end="1702906893" \
--pango-markup \
--title="mikrotik - Traffic - l2tp-alextep2" \
--vertical-label="bits per second" \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--tabwidth "30" \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 2023-12-17 15\:42\:00 To 2023-12-18 15\:41\:33\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 \
--font TITLE:11:"Arial" \
--font AXIS:8:"Arial" \
--font LEGEND:8:"Courier" \
--font UNIT:8:"Arial" \
--font WATERMARK:6:"Arial" \
--slope-mode \
--watermark "Generated by Cacti®" \
DEF:a="C\:/Apache24/htdocs/cacti/rra/mikrotik_traffic_in_216.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/Apache24/htdocs/cacti/rra/mikrotik_traffic_in_216.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdeff="b,8,*" \
AREA:cdefa#00CF00FF:"Inbound " \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 100.70 MB\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 7.38 GB\n"
RRDtool Command lengths = 1351 characters.
RRDtool Says:
OK



Thank you in advance
Attachments
example.png
example.png (27.21 KiB) Viewed 425 times
alextep2
Posts: 3
Joined: Mon Dec 18, 2023 8:34 am

Re: Faded values on y-axis

Post by alextep2 »

Hello Group,

I've attached another example. I mention that all interface graphs show the same, some of them show almost completely faded values on y-axis
Attachments
example2.png
example2.png (15.71 KiB) Viewed 423 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Faded values on y-axis

Post by TheWitness »

To me it almost looks like an RRDtool error. You might want to choose some other font sizes. There is a file in the theme's directory that controls font sizes. rrdtheme.php I think it' what it's called.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
alextep2
Posts: 3
Joined: Mon Dec 18, 2023 8:34 am

Re: Faded values on y-axis

Post by alextep2 »

Hello,

Appreciate your suggestion, I've changed axis font and color, also unchecked auto-scale option and now everything looks perfect, no more faded values on the y-scale. I'm not quite sure which of them was the culprit, but I won't change anything now, I'm gonna leave the current settings like this.

Thank you for the help, hope this will help other people who's struggling with the same issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest