SuperLinks 0.4 Released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

SuperLinks 0.4 Released

Post by Howie »

This plugin is an extension of my Links plugin with some important new features:
* It supports ANY number of extra tabs
* It will dynamically create the Tab graphics as pages are created
* It has the same user-based access-control as Weathermap
* It allows you to add new links to the Console menu as well as tabs

http://wotsit.thingy.com/haj/cacti/supe ... lugin.html

0.4 adds a nice feature to better format the tabs that are generated by selecting from a couple of fonts (regular vs condensed), then by font size, and then attempting to wordwrap if it becomes necessary. This means you are more likely to get OK-looking tabs.

I also added some warnings for if you are missing the appropriate gd functions, changed to a different font (so I can get a condensed font), and finished the webpage.

This is hopefully the last release for a while :-)
Attachments
Showing the progressive change of tab layout as there is more and more text.
Showing the progressive change of tab layout as there is more and more text.
superlinks-04-tabs.png (16.23 KiB) Viewed 13315 times
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!)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I think this is a neat plugin.... But, more tabs... ? :o
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

rony wrote:I think this is a neat plugin.... But, more tabs... ? :o
I know... It *does* do console menu entries as well, though. The most commonly asked question about the old Links plugin was "how can I have two?", so I figured I'd make it an arbitrary thing.

The more interesting thing for me is that the included pages can be PHP, and have per-user access controls. So you could have a quite nice integration with some external app without having to write anything but the actual integration/display code. Along with the new external auth stuff in 0.8.7, Cacti-as-a-customer-portal is easier with this.
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!)
imageadmin
Posts: 1
Joined: Thu Sep 20, 2007 6:31 am

Love It---But am running out of room!

Post by imageadmin »

Great plugin! So great that I have addded tons of content and am doing lots of SQL database queries and sorting them with tabs. However, my window keeps expanding to the right...Any way that it could go, say, x number of tabs and then create a second (or third) row to keep the screen from 2800x920? Thanks, and great work!
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Love It---But am running out of room!

Post by Howie »

imageadmin wrote:Great plugin! So great that I have addded tons of content and am doing lots of SQL database queries and sorting them with tabs. However, my window keeps expanding to the right...Any way that it could go, say, x number of tabs and then create a second (or third) row to keep the screen from 2800x920? Thanks, and great work!
Not really - the Cacti layout kind of requires one row. I was thinking about some way of making some of your tabs (not just SuperLinks ones) collapsible. You'd mark some tabs as "A-list" and then the rest could be collapsed and expanded somehow... didn't really work it out fully.

Bear in mind if you change the style to CONSOLE then you don't create tabs at all - the new options appear in the Console menu, which is OK for stuff that you don't need to give to ordinary users.
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!)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I think this plugin has an error if your database name has a hyphen in it. Check it out.

Larry
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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TheWitness wrote:I think this plugin has an error if your database name has a hyphen in it. Check it out.
Yep. I think I lifted that setup_tables stuff from an old version of thold, and I see that Jimmy has already fixed the same problem in the latest version. Weathermap will have the same issue, too.

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!)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

NP. I will be in London 1 Liverpool on October 1st & 2nd. Flying into London on Sunday AM.

Larry
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?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Love It---But am running out of room!

Post by Howie »

Howie wrote:
imageadmin wrote:Great plugin! So great that I have addded tons of content and am doing lots of SQL database queries and sorting them with tabs. However, my window keeps expanding to the right...Any way that it could go, say, x number of tabs and then create a second (or third) row to keep the screen from 2800x920? Thanks, and great work!
Not really - the Cacti layout kind of requires one row. I was thinking about some way of making some of your tabs (not just SuperLinks ones) collapsible. You'd mark some tabs as "A-list" and then the rest could be collapsed and expanded somehow... didn't really work it out fully.
I just finished the first attempt at a solution for this problem.

http://wotsit.thingy.com/haj/cacti/collapso-0.1.zip is the result

It's a PAIR of plugins. In your plugins[] list, put 'collapso_start' before the block of plugins whose tabs you want to hide, and 'collapso_end' after them, and this plugin will replace all those tabs with one little one. When you click on that one, a second shelf of tabs slides out.

It's reallly cheezy, but without redesigning the cacti UI (which I think will happen in the future), this is a quick fix that isn't too ugly. What do you think?
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!)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Very inventive :)
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?
User avatar
sizulku
Cacti User
Posts: 110
Joined: Mon Nov 04, 2002 9:15 am
Location: ACEH
Contact:

Post by sizulku »

Howie,

Do you have calendar plugin available for public as it's appear on your tabs. Thanks!

Zul
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

sizulku wrote:Howie,

Do you have calendar plugin available for public as it's appear on your tabs. Thanks!

Zul
No, I have a Calendar *TAB* on my tabs - nothing behind it. It's just a demo tab to show how the superlinks plugin works :-)
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!)
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Post by YoMarK »

Howie: Great stuff, tnx!
User avatar
sizulku
Cacti User
Posts: 110
Joined: Mon Nov 04, 2002 9:15 am
Location: ACEH
Contact:

Post by sizulku »

Hi Howie,

I'm having problem installing two of your plugin (collapso and superlinks) to cacti 0.8.7. I got big empty space as shown on the attached picture. Is there any fixes for this?

Zul
Attachments
superlinks.jpg
superlinks.jpg (25.34 KiB) Viewed 12029 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

I don't get that. You did add BOTH collapso_start and collapso_end, right?
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests