Hi,
I would like to know if it is possible to generate the RRD graphs in higher resolution so that they look sharp on scaled high-resolution displays. I came across the rrdtool option "zoom=2" somewhere. Is it possible to configure somewhere in Cacti to use this option and if so where? Would this cause any problems?
Thanks and best regards
Retina sized RRD Graph Images
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Retina sized RRD Graph Images
Just Edit the Graph Templates and switch the size. Make sure you are using SVG graphics too. You can do it in one fell-swoop too. Select all the Graph Templates and then Select 'Change Settings' from the Drop-down and press 'Go'. If you want larger font sizes, consider modifying the selected Cacti Theme's RRDtool specific settings.
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?
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Retina sized RRD Graph Images
In every theme directory <path_cacti>/include/themes/<themename> there is a file called rrdtheme.php. You can edit that file. It'll look something like the following the data below. You can change the defaults there. When you scale down the graphs via the number of columns or thumbnail view, Cacti scales down the fonts too.
Code: Select all
$rrdcolors['back'] = 'F3F3F3';
$rrdcolors['canvas'] = 'FDFDFD';
$rrdcolors['shadea'] = 'CBCBCB';
$rrdcolors['shadeb'] = '999999';
#$rrdcolors['grid'] = 'C4C4C4';
#$rrdcolors['mgrid'] = '1A1C1C';
$rrdcolors['font'] = '000000';
$rrdcolors['axis'] = '2C4D43';
$rrdcolors['arrow'] = '2C4D43';
$rrdcolors['frame'] = '2C4D43';
# RRDtool graph fonts in RRDtool 1.2+
$rrdfonts['title']['font'] = 'Arial';
$rrdfonts['title']['size'] = '11';
$rrdfonts['axis']['font'] = 'Arial';
$rrdfonts['axis']['size'] = '8';
$rrdfonts['legend']['font'] = 'Courier';
$rrdfonts['legend']['size'] = '8';
$rrdfonts['unit']['font'] = 'Arial';
$rrdfonts['unit']['size'] = '8';
$rrdfonts['watermark']['font'] = 'Arial';
$rrdfonts['watermark']['size'] = '6';
# Only supported in RRDtool 1.4+
$rrdborder = 1;
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?
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?
Re: Retina sized RRD Graph Images
Thank you so much! <3
Who is online
Users browsing this forum: No registered users and 1 guest