We use this approach for exactly the same reason… our config.php has in it:
$config['rrd']['step'] = 300; // 730 days of 5 min // RRA:TYPE:FUDGE:STEP:STEPS-TO-KEEP $config['rrd']['rra'] = "RRA:AVERAGE:0.5:1:207360 "; $config['rrd']['rra'] .= "RRA:MIN:0.5:1:207360 "; $config['rrd']['rra'] .= "RRA:MAX:0.5:1:207360 "; (note “.=” appends, we just split it across multiple lines to make it more readable) -Adam Adam Thompson Consultant, Infrastructure Services [MERLIN] 100 - 135 Innovation Drive Winnipeg, MB R3T 6A8 (204) 977-6824 or 1-800-430-6404 (MB only) https://www.merlin.mb.ca<https://www.merlin.mb.ca/> [cid:[email protected]]Chat with me on Teams<https://teams.microsoft.com/l/chat/0/[email protected]> From: Kleber Cristiano Santilli Coelho via observium <[email protected]> Sent: August 23, 2022 1:27 PM To: Observium <[email protected]> Cc: Kleber Cristiano Santilli Coelho <[email protected]> Subject: [Observium] Re: Change chart history time Hi Ahmed, how are you? Thank you very much for your tips, I believe this is the correct way to go. I'm also going to study rrdtool because I wouldn't want to lose the growth history, but I need to make this modification to get a little more resolution in the graphics. Hugs, have a great week. -- Kleber Coelho Campus Fernando Costa Universidade de São Paulo (19) 3565-4321 Em ter., 23 de ago. de 2022 às 12:19, Ahmed Rahal via observium <[email protected]<mailto:[email protected]>> escreveu: Hi, Short answer: probably not. Long answer: you can, because it's all based on rrdtool. Observium itself is not actually tampering directly with the RRD files. So, first of all: AFAIK this is NOT an officially supported solution. Your config.php file can be tweaked with the variable $config['rrd']['rra'] For defaults, have a look at includes/defaults.inc.php (search for $config['rrd']) You may then define your RRA as you wish (this site may help out https://eccentric.one/misc/rrdcalc.html) Note that even if you change the RRA definition, it will only apply to newly created RRD files. You may try converting your RRD files with rrdtool if you want to backport previous data. Else, simply deleting the RRD files will force Observium to recreate the files with the new RRA definition. I can confirm this actually works well, given you understand RRD files and what the consequences of those changes are. YMMV. Reminder: the solution above may break things. Make sure you understand what you do. HTH, Ahmed. Le sam. 20 août 2022, à 09 h 00, Kleber Cristiano Santilli Coelho via observium <[email protected]<mailto:[email protected]>> a écrit : Dears, good morning! Is there any way to keep the graphics detailed longer? What I want is to keep the 5 minute histories, for example, for 6 months. Thank you very much -- Kleber Coelho Campus Fernando Costa Universidade de São Paulo _______________________________________________ observium mailing list -- [email protected]<mailto:[email protected]> To unsubscribe send an email to [email protected]<mailto:[email protected]> -- Ahmed Rahal Administrateur de Systèmes / Systems Administrator Videotron/Fibrenoire - www.fibrenoire.ca<http://www.fibrenoire.ca/> A: 612 Rue Saint-Jacques, Montréal, QC H3C 1E2 [email protected]<mailto:[email protected]> Twitter: @fibrenoire _______________________________________________ observium mailing list -- [email protected]<mailto:[email protected]> To unsubscribe send an email to [email protected]<mailto:[email protected]>
_______________________________________________ observium mailing list -- [email protected] To unsubscribe send an email to [email protected]
