Page 2 of 2

Re: Bandwidth usage

Posted: Tue Oct 27, 2015 10:48 am
by lgroschen
OK, glad this works- I'll have to check on why that isn't updated - I assumed you used the component that was installed from the xi upgrade?

(4) will be tricky and take time, but will be doable eventually. The other reports are using ajax to make report generation requests, but bandwidth is not so that's why it's not a drop-in update. will be in 1.7.1

(5) The month part I figured out but haven't added the change yet.

(6) Can you show me a screenshot of the dropdown list, just a chunk from the top will be fine. Maybe I can see why that isn't sorting right. This works on my machine, but then again I could make more complex host and service names to check for sure.

(7) Will be added to 1.7.1

Re: Bandwidth usage

Posted: Tue Oct 27, 2015 11:22 am
by BanditBBS
#4 isn't as simple as these chunks of code??? :)

Code: Select all

    // Do not do any processing unless we have default report running enabled
    $disable_report_auto_run = get_option("disable_report_auto_run", 0);
and

Code: Select all

// Die right here if we don't want to auto-load the page
if ($disable_report_auto_run == 1 && $manual_run == 0 ) {
    die();
}
As for the screenshot of the dropdown for #6:
Capture2.PNG
Capture.PNG
Yes, used the one from the upgrade and/or after running a check for updates

Re: Bandwidth usage

Posted: Tue Oct 27, 2015 11:25 am
by lgroschen
Well that's just it, can't die() on the page to stop the initial run. More or less similar to that though :D

OK, so like as you said it's sorting the host and not the host then the service, I'll check that out- thanks.

Re: Bandwidth usage

Posted: Tue Oct 27, 2015 12:13 pm
by BanditBBS
lgroschen wrote:Well that's just it, can't die() on the page to stop the initial run. More or less similar to that though :D

OK, so like as you said it's sorting the host and not the host then the service, I'll check that out- thanks.
Its not sorting the host either, I can show you a host in the bottom of the list that starts with an I(eye)

Re: Bandwidth usage

Posted: Tue Oct 27, 2015 2:01 pm
by lgroschen
Noted.

Re: Bandwidth usage

Posted: Fri Oct 30, 2015 8:19 am
by BanditBBS
Luke,

Almost perfect in the updated component :) So close I barely care if the following are fixed, but they are things I noticed:

(New numbers)
1.) Still not obeying "Do not autorun", but whatever, lol
2.) When clicking on a month the single graph on the next page is off by 45 minutes now, so much closer. Looking at the port's performance graph is had data up ti 8:13 but the month graph only went to 7:30
3.) The dropdown is now sorted, THANK YOU! However, it takes capitalization into account. If that is an easy fix to ignore case, that'd be awesome, if not, no care :)

Thanks for the updates!!

Re: Bandwidth usage

Posted: Fri Oct 30, 2015 9:17 am
by lgroschen
Great!

As far as the do not run I'm going to definitely add it- I'm going to have the viewlist of all the choices display if auto run is turned off then you can click any service and be sent to the report. I'll look into the time disparity for the monthly graph. The case sensitive could be an easy addition with strtolower so I'll get that in when I get the previous two figured out.

I'll lock this up. Just start a new topic or shoot me a message with anything else you need. The next set of changes will be in 1.7.2