[SOLVED] Modify Polled RAW Data (800 --> 8.0)

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

Moderators: Developers, Moderators

Post Reply
fitnage
Posts: 1
Joined: Tue Apr 01, 2008 3:13 pm

[SOLVED] Modify Polled RAW Data (800 --> 8.0)

Post by fitnage »

Does anyone have guidance on modifying an OID that retrieves a raw number like 800 and I want to graph it as 8.0 or 150 as 15.0?

Thanks.

-r
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The correct approach here is to store the data as 800 in the RRDfile, and then use a CDEF in the Graph Template to change it to 8.0. You can also use a gprint preset for set the number of significant digits to display on the graph.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest