Hi!
I've been asked to modify the collectd-web interface for use in-house at our business. The first modification I need to perform is the ability to hold timespan, start and end times between plugin views. I've modified the perl scripts to reflect these changes, and added a couple of functions to the base.js file in order to achieve this.
I've created a function "update_url" which performs the function of build_url (And supercedes it in our case), as well as allowing existing parameters to be overwritten.
I've created another function "update_plugin_menu" called from ts-item.click to update the plugin menu list and tack on a start time/date, end time/date and timespan.
Slight modifications in perl scripts to action_show_host and action_show_host_json to allow these items to be forwarded.
The issue that I'm having is the routines in base.js all seem related to creating a graph from server_now() backward, with no option for end and start times. The routines that I'm after appear to be in the jQuery minified file "jquery-ui-1.8.custom.min.js". I've tried expanding this out with various indent programs etc, but the variable definitions etc are all 'screwed' due to the minify process. Is the unaltered source to this file available?
I'm more than happy to submit back any changes I've made when the routines are all operating as expected.
Kind Regards,
Hayden Katz.