Highchart and logscale mrtg

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SRSPharmacy
Posts: 8
Joined: Fri Aug 10, 2012 10:29 am

Highchart and logscale mrtg

Post 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?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Highchart and logscale mrtg

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
SRSPharmacy
Posts: 8
Joined: Fri Aug 10, 2012 10:29 am

Re: Highchart and logscale mrtg

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Highchart and logscale mrtg

Post 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.
Former Nagios employee
SRSPharmacy
Posts: 8
Joined: Fri Aug 10, 2012 10:29 am

Re: Highchart and logscale mrtg

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Highchart and logscale mrtg

Post 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!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
SRSPharmacy
Posts: 8
Joined: Fri Aug 10, 2012 10:29 am

Re: Highchart and logscale mrtg

Post by SRSPharmacy »

That will work in the interim.

Thank you.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Highchart and logscale mrtg

Post 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.
Former Nagios employee
Locked