Avoiding an automatically unit convert

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

Moderators: Developers, Moderators

Post Reply
Erlo
Posts: 5
Joined: Thu Mar 01, 2007 9:43 am

Avoiding an automatically unit convert

Post by Erlo »

Hi everyone!

I would like to know what is the mean to avoid the automatic unit convert in the rrdtool graph. For example i'm don't want to know that the average printed page is 240.00m / min but i prefer 0.24/min

So if someone knows how to do... :p

(sorry for my english :roll: )
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to create a gprint preset. You may also need a CDEF Please see www.rrdtool.org as to how to format/create these things.

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?
Erlo
Posts: 5
Joined: Thu Mar 01, 2007 9:43 am

Post by Erlo »

Thanks for your directions, i've found the solution in the rrdgraph_graph documentation.
To avoid the automatic unit, i've created a GPRINT preset without the "%s" (%s = most appripriate unit) and i've set the 'Unit Exponent Value' to 0.

:wink:
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests