BUG OR NO BUG?

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

Moderators: Developers, Moderators

Post Reply
spades911
Posts: 4
Joined: Sat Nov 11, 2006 4:46 am

BUG OR NO BUG?

Post by spades911 »

The total in bandwidth is not displaying.

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco C2900XL-3 - Traffic - Fa0/4" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
DEF:a="/home/cacti/public_html/cacti/rra/c2900xl3_traffic_in_267.rrd":traffic_in:AVERAGE \
DEF:b="/home/cacti/public_html/cacti/rra/c2900xl3_traffic_in_267.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound"  \
GPRINT:a:LAST:" Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total In\:  13.54 MB\n"  \
LINE1:b#002A97:"Outbound"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out\: 4.13 MB"
spades911
Posts: 4
Joined: Sat Nov 11, 2006 4:46 am

here is the image

Post by spades911 »

Image attached!
Attachments
image
image
cacti.PNG (18.04 KiB) Viewed 784 times
spades911
Posts: 4
Joined: Sat Nov 11, 2006 4:46 am

Look at image

Post by spades911 »

If you look at the image, you will notice "Total In:" is not going down to the next line.
spades911
Posts: 4
Joined: Sat Nov 11, 2006 4:46 am

RESOLVED

Post by spades911 »

Change width to 700 from 500 in graph template
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I would say, reduce you font size a bit.

TheWitness
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?
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

I would add an <hr> at the end of your Total In Max value.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

streaker69 wrote:I would add an <hr> at the end of your Total In Max value.
Bingo... Everytime I login to someone system that is having issues and I see them using this template, I let them know I'm fixing it.

To fix it, enable the HR after the two max graph items in the template.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests