Suppose you find some anomalous data in one of your graphs and you need to share it with some people, the way things work now you have to craft an email like "go to such and such host, such and such graph, and enter the time range 2006-09-26 17:20 to 2006-09-26 17:55". Most people I work with don't even bother.
It would be nice to copy the URL, or at least be able to construct one by hand, and pass it to your buddies like:
http://poller/cacti/graph_view.php?acti ... 26%2017:55
I'm no PHP programmer, but it looks like it's inc_timespan_settings.php that expects the date1/date2 parameters to be in $_SESSION or $_POST, but not $_GET.
Allow URLs to contain time-spans
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This looks more like a bug. Can you please goto Mantis at bugs.cacti.net and open a bug report. I wrote this when my knowledge of $_POST, $_GET and $_SESSION was quite limited. Since then, of course, things have changed.
Thanks,
TheWitness
Thanks,
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest