Need help with some coding for perf graphs time selector
Posted: Tue Jan 04, 2011 6:57 am
I've been playing with some code trying to get functionality that allows for time selection in the perfgraphs sidebar. This is so I can view performance graphs for a specific time period.
I am attempting to build a url that has the specified &start=<some value>&end=<some value> added to it but I'm not having much luck.
Using my prepare button I am able to get information parsed back however I don't know how to build the url to show the time period I want.
It seems that the URL I end up creating is always http://nagiosxiserver/nagiosxi/perfgraphs/
Any help is greatly appreciated. As usual I'm stuck due to my lack of programming abilities, I just can't seem to work it out
Attached is a copy of my current work in progress.
I am attempting to build a url that has the specified &start=<some value>&end=<some value> added to it but I'm not having much luck.
Using my prepare button I am able to get information parsed back however I don't know how to build the url to show the time period I want.
It seems that the URL I end up creating is always http://nagiosxiserver/nagiosxi/perfgraphs/
Any help is greatly appreciated. As usual I'm stuck due to my lack of programming abilities, I just can't seem to work it out
Attached is a copy of my current work in progress.