Preventing cacti / rrdtool to scale GPRINT values to SI magnitude units

By default cacti graphs use Normal in GPRINT type. This is sometimes little bit annoying e.g. temperatures near zero are shown like 15 m instead of more human readable form 0.15 in legends etc..


Define new GPRINT preset Graph management -> GPRINT Presets -> Add -> Name: Dont scale to SI mag, GPRINT Text: %8.2lf and modify graph items to use newly defined GPRINT Type


Current uses ‘Dont scale to SI mag’ and Maximum uses ‘Normal’ GPRINT Type in Graph Management -> Graph Items

PS. Unit Exponent Value (–units-exponent) = 0 in graph definition prevents scaling graph’s y-axis values

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.