QuickTree - a shopping basket for graphs (0.2 released)
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Not yet. I'm away doing more fun things for the next couple of weekends, too. Seaside music festivalsmcutting wrote:Howie,
Did you find any time to make the changes I requested?
Thanks
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Howie - just a "friendly nudge".....Howie wrote:Not yet. I'm away doing more fun things for the next couple of weekends, too. Seaside music festivalsmcutting wrote:Howie,
Did you find any time to make the changes I requested?
Thanks
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Thank you. It will be done...mcutting wrote: Howie - just a "friendly nudge".....
Thanks
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yes - your request is done. I just need to finish something else, and I'll release a new version in the next few days.mcutting wrote:Hey Howie - any news ?Howie wrote:Thank you. It will be done...mcutting wrote: Howie - just a "friendly nudge".....
Thanks
Thanks
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
0.2 has been released.
New features:
- Option of using the Console menu, Tab or both to access QuickTree
- Delete icon image
- Option to save to existing tree as a branch, instead of creating a new tree
- Better tree naming
http://wotsit.thingy.com/haj/cacti/quic ... lugin.html
NOTE You'll need to uninstall/reinstall in the Plugin Management screen so that some additional hooks are registered, if you have 0.1 installed already. I don't know why, but the upgrade hook is apparently never called.
New features:
- Option of using the Console menu, Tab or both to access QuickTree
- Delete icon image
- Option to save to existing tree as a branch, instead of creating a new tree
- Better tree naming
http://wotsit.thingy.com/haj/cacti/quic ... lugin.html
NOTE You'll need to uninstall/reinstall in the Plugin Management screen so that some additional hooks are registered, if you have 0.1 installed already. I don't know why, but the upgrade hook is apparently never called.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Howie, here's my workaround for that (taken from nectar, inspired by Larry)
R.
Code: Select all
$version = nectar_version ();
$current = $version['version'];
$old = db_fetch_cell("SELECT version FROM plugin_config WHERE directory='nectar'");
if ($current != $old) {
# many more lines
api_plugin_register_hook('nectar', 'top_header_tabs', 'nectar_show_tab', 'setup.php');
api_plugin_register_hook('nectar', 'top_graph_header_tabs', 'nectar_show_tab', 'setup.php');
api_plugin_register_hook('nectar', 'config_settings', 'nectar_config_settings', 'setup.php');
api_plugin_register_hook('nectar', 'graphs_action_array', 'nectar_graphs_action_array', 'setup.php');
api_plugin_register_hook('nectar', 'graphs_action_prepare', 'nectar_graphs_action_prepare', 'setup.php');
api_plugin_register_hook('nectar', 'graphs_action_execute', 'nectar_graphs_action_execute', 'setup.php');
if (api_plugin_is_enabled('nectar')) {
# may sound ridiculous, but enables new hooks
api_plugin_enable_hooks('nectar');
}
db_execute("UPDATE plugin_config SET version='$current' WHERE directory='nectar'");
db_execute("UPDATE plugin_config SET " .
"version='" . $version["version"] . "', " .
"name='" . $version["longname"] . "', " .
"author='" . $version["author"] . "', " .
"webpage='" . $version["url"] . "' " .
"WHERE directory='" . $version["name"] . "' ");
}
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
What hook does that come from? config_arrays? I'm not sure what would be called every time, where you could check version like that. I agree that something like that is the right way, until the PA does the same thing. (the whole point of an API is that we're not supposed to have to know the internals like updating the version in the table... )gandalf wrote:Howie, here's my workaround for that (taken from nectar, inspired by Larry)R.Code: Select all
$version = nectar_version (); $current = $version['version']; $old = db_fetch_cell("SELECT version FROM plugin_config WHERE directory='nectar'"); if ($current != $old) { # many more lines api_plugin_register_hook('nectar', 'top_header_tabs', 'nectar_show_tab', 'setup.php'); api_plugin_register_hook('nectar', 'top_graph_header_tabs', 'nectar_show_tab', 'setup.php'); api_plugin_register_hook('nectar', 'config_settings', 'nectar_config_settings', 'setup.php'); api_plugin_register_hook('nectar', 'graphs_action_array', 'nectar_graphs_action_array', 'setup.php'); api_plugin_register_hook('nectar', 'graphs_action_prepare', 'nectar_graphs_action_prepare', 'setup.php'); api_plugin_register_hook('nectar', 'graphs_action_execute', 'nectar_graphs_action_execute', 'setup.php'); if (api_plugin_is_enabled('nectar')) { # may sound ridiculous, but enables new hooks api_plugin_enable_hooks('nectar'); } db_execute("UPDATE plugin_config SET version='$current' WHERE directory='nectar'"); db_execute("UPDATE plugin_config SET " . "version='" . $version["version"] . "', " . "name='" . $version["longname"] . "', " . "author='" . $version["author"] . "', " . "webpage='" . $version["url"] . "' " . "WHERE directory='" . $version["name"] . "' "); }
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
upgrading...
Hi,
Is there any way to upgrade without removing/reinstalling (I have several users, each of them having their own quicktrees and I don't want to disturb their work)...?
Thanks,
Is there any way to upgrade without removing/reinstalling (I have several users, each of them having their own quicktrees and I don't want to disturb their work)...?
Thanks,
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: upgrading...
I'm pretty sure that uninstalling doesn't delete the tables, actually.brylant wrote:Hi,
Is there any way to upgrade without removing/reinstalling (I have several users, each of them having their own quicktrees and I don't want to disturb their work)...?
Thanks,
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: upgrading...
Hello,
It's really a great plugin.
I have a small issue : when i click on the tab quicktree i got redirected to the console tab.
I still have the normal quicktree display though, it's more a cosmetic problem than a real problem.
Any ideas on why it occurs ?
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Regards,
Graz
It's really a great plugin.
I have a small issue : when i click on the tab quicktree i got redirected to the console tab.
I still have the normal quicktree display though, it's more a cosmetic problem than a real problem.
Any ideas on why it occurs ?
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Regards,
Graz
- Attachments
-
- top of the picture shows before clicking on quicktree
bottom is after. - before.JPG (22.97 KiB) Viewed 6832 times
- top of the picture shows before clicking on quicktree
Who is online
Users browsing this forum: No registered users and 0 guests