From nkt.7star at gmail.com Tue Dec 1 15:20:15 2009 From: nkt.7star at gmail.com (KNOCK) Date: Tue, 1 Dec 2009 06:20:15 -0800 (PST) Subject: [mrtg-developers] [mrtg] maximal value in monthly and yearly graph In-Reply-To: <1259263320212-4072786.post@n2.nabble.com> References: <66e044230911252343j6149e7a8g3f2f7b68d7c297ce@mail.gmail.com> <1259263320212-4072786.post@n2.nabble.com> Message-ID: <1259677215044-4093901.post@n2.nabble.com> Hi Steve, Thanks a lot for the reply. I tried using WithPeak[]: wmy and it works but thats not my intention actually. I still have one doubt with the current implementation though (ie without using the option WithPeak). I checked the "Maximal" values on my graph for daily, weekly, monthly and yearly and all of them are different. This is probably because of the different time frames being considered for computing averages like 30mins for weekly, 2hrs for monthly and 1 day average for yearly graphs. Suppose i have the data for 100 days then, Does the maximal value below yearly graph represent the max of the 100 average (1 day average) values ? OR is it the highest 5 min sample value in those hundred days ? S Shipway wrote: > > This is correct; the reason is that the Max value shown under the graph > (80K) is the maximal *sample*, however the graph line you are seeing shows > the average over the consolidation group. > On a daily graph, each graph point is one sample (5min), so the peak of > the line matches the maximum sample. > On a yearly graph, each graph point is the average of 288 samples (1day), > and so will be lower than the maximum sample value (unless all 288 samples > are the same of course...) > If you display the Peak lines (WithPeak[]: wmy) then you will notice that > the peaks of the Peak lines matches the Max sample value as reported. > Steve > ________________________________ > From: KNOCK [via MRTG Mailinglists] > [ml-node+4069826-11661360 at n2.nabble.com] > Sent: Thursday, 26 November 2009 8:50 p.m. > To: Steve Shipway > Subject: [mrtg-developers] [mrtg] maximal value in monthly and yearly > graph > > > Hi, > > I tried finding an answer for my query for long but didn't really get any > help. > I have MRTG configured and i use 14all.cgi to plot the daily, weekly, > monthly and yearly graphs. > > I see that the maximal value in monthly and yearly graphs in the legend is > different from what i see in the graph. ex: the maximal value shows 80K in > the legend below the yearly graph but the graph Y axis scale is only till > 60K. > > I have autoscaling ON and the daily and weekly graphs are auto-scaled for > the same rrd. Why is it so? > > > Thanks in advance. > > _______________________________________________ > mrtg-developers mailing list > [hidden > email] > https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers > > > ________________________________ > View message @ > http://n2.nabble.com/mrtg-maximal-value-in-monthly-and-yearly-graph-tp4069826p4069826.html > To start a new topic under MRTG Developers Mailinglist, email > ml-node+795384-1747653317 at n2.nabble.com > To unsubscribe from MRTG Developers Mailinglist, click here< (link > removed) =>. > > > -- View this message in context: http://n2.nabble.com/mrtg-maximal-value-in-monthly-and-yearly-graph-tp4069826p4093901.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com. From nkt.7star at gmail.com Sat Dec 26 13:59:35 2009 From: nkt.7star at gmail.com (KNOCK) Date: Sat, 26 Dec 2009 04:59:35 -0800 (PST) Subject: [mrtg-developers] percentage issue with maximal value Message-ID: <1261832375056-4217932.post@n2.nabble.com> Hi All, Merry christmas and a very happy new year to all. My query regarding percentages that appear below MRTG graphs has been asked earlier and for the answers users have given reference to the link http://faq.mrtg.org but the link is no more reachable. I also tried the link on MRTG site http://oss.oetiker.ch/mrtg/doc/mrtg-faq.en.html but did not get my answer. The MRTG displays three values Maximal, Average and current values along with percentages. As per previous queries, the percentages for "Current" is = current value divided by MaxBytes value and the same for average percentage too. I checked my graphs and this seem to be working. But this does not seem to apply to maximal value as the percentages on graph are different from what i get using the above formula. Can you please help with this query? Thanks and Regards, K -- View this message in context: http://n2.nabble.com/percentage-issue-with-maximal-value-tp4217932p4217932.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com. From nisha.sasindran at gmail.com Wed Dec 30 11:07:54 2009 From: nisha.sasindran at gmail.com (nisha) Date: Wed, 30 Dec 2009 02:07:54 -0800 (PST) Subject: [mrtg-developers] Percentage calculation in graph legends Message-ID: <1262167674787-4231659.post@n2.nabble.com> Hi All, The graph legend display the percentage in parenthesis as shown in the figure. http://n2.nabble.com/file/n4231659/monthly.png The current and average legends show the exact value and percentage. But in case of the Maximal legend, though the value is 23.937, the percentage is calculated as 23.04% instead of 23.94% [(23.937/100)*100]. As per my understanding the percentage is always calculated as [(value/max bytes) * 100 ]. In this case the maxbytes value is 100. Is the percentage calculation different for current, average and maximal values? Regards, Nisha -- View this message in context: http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4231659.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com. From s.shipway at auckland.ac.nz Wed Dec 30 21:41:58 2009 From: s.shipway at auckland.ac.nz (S Shipway) Date: Wed, 30 Dec 2009 12:41:58 -0800 (PST) Subject: [mrtg-developers] Percentage calculation in graph legends In-Reply-To: <1262167674787-4231659.post@n2.nabble.com> References: <1262167674787-4231659.post@n2.nabble.com> Message-ID: <6B587E8C999646469B54486AF21958460CB9CF450C@UXCHANGE7-1.UoA.auckland.ac.nz> Can you tell use (a) which software you are using (eg, Native MRTG, Routers2, 14all, etc...) and what version, and also what version of RRDTool (if you are using RRD)? It is possible that the percentage is being calculated on the max of the AVG RRA for the month, rather than the max of the MAX RRA. Steve ________________________________ From: nisha [via MRTG Mailinglists] [mailto:ml-node+4231659-1307958137 at n2.nabble.com] Sent: Wednesday, 30 December 2009 11:08 p.m. To: Steve Shipway Subject: [mrtg-developers] Percentage calculation in graph legends Hi All, The graph legend display the percentage in parenthesis as shown in the figure. [http://n2.nabble.com/file/n4231659/monthly.png] The current and average legends show the exact value and percentage. But in case of the Maximal legend, though the value is 23.937, the percentage is calculated as 23.04% instead of 23.94% [(23.937/100)*100]. As per my understanding the percentage is always calculated as [(value/max bytes) * 100 ]. In this case the maxbytes value is 100. Is the percentage calculation different for current, average and maximal values? Regards, Nisha ________________________________ View message @ http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4231659.html To start a new topic under MRTG Developers Mailinglist, email ml-node+795384-1747653317 at n2.nabble.com To unsubscribe from MRTG Developers Mailinglist, click here< (link removed) =>. -- View this message in context: http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4233963.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com. From nisha.sasindran at gmail.com Thu Dec 31 04:25:09 2009 From: nisha.sasindran at gmail.com (nisha) Date: Wed, 30 Dec 2009 19:25:09 -0800 (PST) Subject: [mrtg-developers] Percentage calculation in graph legends In-Reply-To: <6B587E8C999646469B54486AF21958460CB9CF450C@UXCHANGE7-1.UoA.auckland.ac.nz> References: <1262167674787-4231659.post@n2.nabble.com> <6B587E8C999646469B54486AF21958460CB9CF450C@UXCHANGE7-1.UoA.auckland.ac.nz> Message-ID: <1262229909221-4235093.post@n2.nabble.com> Hi Steve, Im using the Native MRTG (v2.100015) with 14all.cgi (v1.1p15) and RRDTool (1.0.50). This issue is seen on both monthly and yearly graphs and only for the maximal value. Thanks, Nisha S Shipway wrote: > > Can you tell use (a) which software you are using (eg, Native MRTG, > Routers2, 14all, etc...) and what version, and also what version of > RRDTool (if you are using RRD)? > > It is possible that the percentage is being calculated on the max of the > AVG RRA for the month, rather than the max of the MAX RRA. > > Steve > > ________________________________ > From: nisha [via MRTG Mailinglists] > [mailto:ml-node+4231659-1307958137 at n2.nabble.com] > Sent: Wednesday, 30 December 2009 11:08 p.m. > To: Steve Shipway > Subject: [mrtg-developers] Percentage calculation in graph legends > > Hi All, > > The graph legend display the percentage in parenthesis as shown in the > figure. > > [http://n2.nabble.com/file/n4231659/monthly.png] > > The current and average legends show the exact value and percentage. But > in case of the Maximal legend, though the value is 23.937, the percentage > is calculated as 23.04% instead of 23.94% [(23.937/100)*100]. > > As per my understanding the percentage is always calculated as [(value/max > bytes) * 100 ]. In this case the maxbytes value is 100. > Is the percentage calculation different for current, average and maximal > values? > > Regards, > Nisha > ________________________________ > View message @ > http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4231659.html > To start a new topic under MRTG Developers Mailinglist, email > ml-node+795384-1747653317 at n2.nabble.com > To unsubscribe from MRTG Developers Mailinglist, click here< (link > removed) =>. > > > -- View this message in context: http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4235093.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com. From s.shipway at auckland.ac.nz Thu Dec 31 22:02:37 2009 From: s.shipway at auckland.ac.nz (S Shipway) Date: Thu, 31 Dec 2009 13:02:37 -0800 (PST) Subject: [mrtg-developers] Percentage calculation in graph legends In-Reply-To: <1262229909221-4235093.post@n2.nabble.com> References: <1262167674787-4231659.post@n2.nabble.com> <6B587E8C999646469B54486AF21958460CB9CF450C@UXCHANGE7-1.UoA.auckland.ac.nz> <1262229909221-4235093.post@n2.nabble.com> Message-ID: <6B587E8C999646469B54486AF21958460CB97C0A63@UXCHANGE7-1.UoA.auckland.ac.nz> 'Native MRTG' is when you run MRTG without RRDTool, so you're in RRDTool mode, not Native mode :) Anyway, it looks like you have a very old version of MRTG - 2.16.2 is the current - and also a very old RRDTool, since you should be on at least 1.2.36 and preferably v1.3.6. In addition, since you are using the old 14all.cgi, this has the 'feature' of using the peak of the averages rather than the peak of the peaks in the percent calculation, and you will get this anomaly. Try upgrading to the latest version, or use Routers2.cgi in the place of 14all to get more accurate results. Steve ________________________________ From: nisha [via MRTG Mailinglists] [ml-node+4235093-437877940 at n2.nabble.com] Sent: Thursday, 31 December 2009 4:25 p.m. To: Steve Shipway Subject: RE: [mrtg-developers] Percentage calculation in graph legends Hi Steve, Im using the Native MRTG (v2.100015) with 14all.cgi (v1.1p15) and RRDTool (1.0.50). This issue is seen on both monthly and yearly graphs and only for the maximal value. Thanks, Nisha S Shipway wrote: Can you tell use (a) which software you are using (eg, Native MRTG, Routers2, 14all, etc...) and what version, and also what version of RRDTool (if you are using RRD)? It is possible that the percentage is being calculated on the max of the AVG RRA for the month, rather than the max of the MAX RRA. Steve ________________________________ From: nisha [via MRTG Mailinglists] [mailto:ml-node+4231659-1307958137 at n2.nabble.com] Sent: Wednesday, 30 December 2009 11:08 p.m. To: Steve Shipway Subject: [mrtg-developers] Percentage calculation in graph legends Hi All, The graph legend display the percentage in parenthesis as shown in the figure. [http://n2.nabble.com/file/n4231659/monthly.png] The current and average legends show the exact value and percentage. But in case of the Maximal legend, though the value is 23.937, the percentage is calculated as 23.04% instead of 23.94% [(23.937/100)*100]. As per my understanding the percentage is always calculated as [(value/max bytes) * 100 ]. In this case the maxbytes value is 100. Is the percentage calculation different for current, average and maximal values? Regards, Nisha ________________________________ View message @ http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4231659.html To start a new topic under MRTG Developers Mailinglist, email ml-node+795384-1747653317 at n2.nabble.com To unsubscribe from MRTG Developers Mailinglist, click here< (link removed) =>. ________________________________ View message @ http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4235093.html To start a new topic under MRTG Developers Mailinglist, email ml-node+795384-1747653317 at n2.nabble.com To unsubscribe from MRTG Developers Mailinglist, click here< (link removed) =>. -- View this message in context: http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4237925.html Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com.