Page 1 of 1
Highchart and logscale mrtg
Posted: Wed Jul 02, 2014 10:21 am
by SRSPharmacy
For some reason, I cannot get my switch graphs to display in log scale. Right now everything is linear.
we are running version 2014r1.2
I have the
Code: Select all
Option[_] logscale, growright, bits
set in
Code: Select all
/etc/mrtg.cfg
/etc/mrtg/conf.d/[i]switchname[/i].cfg
and still everything is linear based. Thoughts?
Re: Highchart and logscale mrtg
Posted: Wed Jul 02, 2014 4:42 pm
by sreinhardt
I'm honestly not too sure what those changes should effect within mrtg, but I would point out that the graphs displayed in XI for your bandwidth speeds are not the same rrd files that mrtg uses. The information is gathered from mrtg and stored separately and differently than what mrtg outputs. So if you were looking to have this change only the display of data within XI, I don't believe that it will work as expected. Instead if you need different views, you may have to look at the js for highcharts or pnp templates if you are still using that.
Re: Highchart and logscale mrtg
Posted: Thu Jul 03, 2014 9:09 am
by SRSPharmacy
Can you help me out with where to look to set my traffic graphs to log scale then? Because linear is useless, a big spike will reduce everything else to nothing.
Re: Highchart and logscale mrtg
Posted: Thu Jul 03, 2014 2:32 pm
by tmcdonald
This might be something we would have to make a feature request for so a developer could look at it. I can't say any of the techs has worked with Highcharts enough to know what to modify.
Update: Feature request ID 3457 has been filed. If a dev comes up with a quick fix before then I will let you know.
Re: Highchart and logscale mrtg
Posted: Mon Jul 07, 2014 8:11 am
by SRSPharmacy
Is there a way that I can go back to the mrtg graphs so that I can get the log scale. Until the highcharts integration is ready for production?
I know that highcharts is capable.
http://www.highcharts.com/demo/line-log-axis
Re: Highchart and logscale mrtg
Posted: Mon Jul 07, 2014 3:16 pm
by sreinhardt
Do you mean the PNP graphs like were in place prior to 2014? If so, absolutely! Admin->Manage System Config-> Uncheck Use Highcharts for Performance Graphs. Save and refresh the page, you should be all set!
Re: Highchart and logscale mrtg
Posted: Tue Jul 08, 2014 8:38 am
by SRSPharmacy
That will work in the interim.
Thank you.
Re: Highchart and logscale mrtg
Posted: Tue Jul 08, 2014 12:31 pm
by tmcdonald
I'm going to close this topic for now, but if the devs do anything with the feature request I will let you know.