Anyhow, I would suggest reinstalling Monitorix because it should be already
in Megabytes....
If you plan changing the code , remember to make backup copies!!
Note that this way you can also extend Monitorix with your own customised
graphs.
Bests
Elias
2016-02-19 23:08 GMT+01:00 Elias Crespin <el...@ateliercrespin.com>:
> The monitorix configuration file by default is
> /etc/monitorix/monitorix.conf
> There you can find the module name of the perl module that implements each
> graph. For the Memory allocation you will see that it says _system3 so the
> perl module to look for is system.pm.
>
> The pm's are located in /usr/lib/monitorix
>
> They have entry functions that are called from the monitorix main program
> for the three phases of monitoring for each module: 1) Initialize database,
> 2) update database on each time instant 3) Generate the graph
> The three corresponding functions in the perl module are suffixed with
> init, update and cgi onto their name.
> This is a very general description. You have to dive into the code now and
> also get familiar with the rrd database system and operations.
> The update function stores mtotl and mfree into the database without
> change.
> For the Megabytes calculation you have to look for mtotl var assignments ,
> DEF and CDEF statements in the system_cgi function.
>
> This should get you on track. Have fun!
>
> Elias Crespin
>
> El 19 févr. 2016, a las 22:45, vdsocks <vdso...@worldwideemail.org>
> escribió:
>
> It's already updated:
> Name : monitorix
> Arq. : noarch
> Epoch : 0
> Versão : 3.8.1
> Release : 1.fc22
> Tam. : 1.6 M
> Repo : @System
> From repo : updates
>
> Where can I find this module?
>
>
> ---- Em Sex, 19 Fev 2016 19:40:59 -0200 *Elias
> Crespin<el...@ateliercrespin.com <el...@ateliercrespin.com>>* escreveu
> ----
>
> In my monitoring, version 3.8.1 , the result is already divided by 1024
> and appears in Megabytes. I would suggest you to upgrade.
>
> If you can not upgrade you will need to go into the perl module of that
> graph and modify it. I recommend upgrading Monitorix
>
> Elias Crespin
>
> El 19 févr. 2016, a las 22:36, vdsocks <vdso...@worldwideemail.org>
> escribió:
>
> MemTotal: 12293140 kB
> MemFree: 932884 kB
> Buffers: 369432 kB
> Cached: 7581596 kB
>
>
> And how can I view the Memory allocation in MegaBytes ?
>
>
> ---- Em Sex, 19 Fev 2016 19:28:56 -0200 *Elias
> Crespin<el...@ateliercrespin.com <el...@ateliercrespin.com>>* escreveu
> ----
>
> Hello,
>
> The values that are displayed in Monitorix's Memory allocation graph for
> linux systems is obtained from four fields of the /proc/meminfo file.
>
> If you run the command
>
>
> cat /proc/meminfo | grep "MemTotal\|^MemFree\|^Buffers\|^Cached"
>
>
> you will see current value of what monitorix is displaying in the time
> series graph for Buffers and Chached.
>
>
> Finally, the Used value is calculated as MemTotal - MemFree. You might
> want to see it on the command line with
>
>
> echo `cat /proc/meminfo | grep "MemTotal\|^MemFree\|^Buffers\|^Cached" |
> awk '{print $2}'` | awk '{print $1 - $2}'
>
>
> Regards,
>
>
> Hope this helps,
>
> Elias
>
> 2016-02-19 19:48 GMT+01:00 vdsocks <vdso...@worldwideemail.org>:
>
>
> Jordi,
> You said it's correct. I will try the option of to trust you.
> Now, the problem is: How can I change the visualization in MEGABYTES ?
>
>
> ---- Em Sex, 19 Fev 2016 16:41:44 -0200 *vdsocks<vdso...@worldwideemail.org
> <vdso...@worldwideemail.org>>* escreveu ----
>
> The monitorix graph is showing a straight line for two (and differents
> and constant) usage and didn't you see anything to fix?
> I really want it to be true. But firefox eats my memory for each tab. Lol
>
> Thank you very much for dont help me
>
>
> ---- Em Sex, 19 Fev 2016 16:36:55 -0200 *Jordi
> Sanfeliu<jo...@fibranet.cat <jo...@fibranet.cat>>* escreveu ----
>
> That graph <http://prntscr.com/a58txg> is telling you that you are using
> around 3.5GB for user applications.
>
> I'm still don't see anything to fix.
>
>
>
> On 19-02-2016 19:27, vdsocks wrote:
> > There are 3GB allocated and here say 11kb (or 11GB like you said):
> > http://prntscr.com/a58txg
> >
> > There's nothing possible to try to fix it?
> > I'm here to make changes :)
> >
>
> ---
> Jordi Sanfeliu
> FIBRANET Network Services Provider
> http://www.fibranet.cat
>
>
> ------------------------------------------------------------------------------
>
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>
>
>
> ------------------------------------------------------------------------------
>
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>
>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>
>
> ------------------------------------------------------------------------------
>
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>
> _______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>
> ------------------------------------------------------------------------------
>
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>
> _______________________________________________
> Monitorix-general mailing list
> Monitorix-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monitorix-general
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general