SuperLinks 0.3 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:

Post by Howie »

munozm wrote:Thanks for the update. I don't receive the original error messages anymore when working with this plugin. It seems to work except when I click add on one of the default content files, I get the following error message:

Fatal error: Call to undefined function imagecreatefrompng() in /var/www/cacti/plugins/superlinks/superlinks-mgmt.php on line 523

It creates text where the new tab icon would go and directs me to the proper page when I click on it.
I thought maybe it was related to permissions on the folders but I changed content/images/tab_images to 777 and tried the root user/group, cacti user/group, and the apache user/group all with the same error.
D'oh. I knew there was something else I needed to do - add a bit to the documentation.

To use the plugin, you need the gd php extension and the gd library with PNG and TrueType/FreeType support compiled in. Depending on your system, this might be as simple as uncommenting a line in your php.ini and restarting apache, or installing a package/port.

If you take a stroll through the Weathermap forum here, you'll find a lot of discussion about this and how to solve it for various platforms, because the weathermap editor has the same requirements.
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
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

SuperLinks 0.3 is now working perfectly for me.
All previous reported bugs and features requested are completed.

Thank you for this very nice plugin Howie!
This will be part of every Cacti system that I put together.

EVERY OTHER tab based plugin should see your code miracle!
Generating the graphics for the tabs is a thing of beauty!
:D
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
munozm
Posts: 18
Joined: Sun Jul 08, 2007 10:14 pm

Post by munozm »

I wish I had seen your post Howie but for some reason I didn't get notified on the thread until the N3NCY post. Oh well.

It seems to be working now. Thanks for your help.

For reference:
I am running Ubuntu 7.04 (lamp), cacti source install 0.8.6j. I installed the gd library with sudo apt-get install php5-gd. This solved the problem with creating the tabs but the text wouldn't show up in the tabs and I received some missing font errors. I updated the superlinks-mgmt.php page from $font = "VeraBd.ttf"; to $font = "/var/www/cacti/plugins/superlinks/VeraBd.ttf"; and this seemed to have done it for me.

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

Post by Howie »

munozm wrote:I wish I had seen your post Howie but for some reason I didn't get notified on the thread until the N3NCY post. Oh well.

It seems to be working now. Thanks for your help.

For reference:
I am running Ubuntu 7.04 (lamp), cacti source install 0.8.6j. I installed the gd library with sudo apt-get install php5-gd. This solved the problem with creating the tabs but the text wouldn't show up in the tabs and I received some missing font errors. I updated the superlinks-mgmt.php page from $font = "VeraBd.ttf"; to $font = "/var/www/cacti/plugins/superlinks/VeraBd.ttf"; and this seemed to have done it for me.

Thanks again!
Hmm. OK. Then it sounds like I might need a couple of chdir() lines in there too for some folks. Maybe there *will* be a 0.5
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
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Here's an interesting thought:

Could a Discovery be built into this plugin. It could scan a subnet looking for things responding on port 80 and build a list of links based upon what it finds.

Could be useful for VoIP installations where each Phone is running a webserver. Could also be useful in finding people on the LAN that are running a webserver outside of the policies of the IT department.

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

Post by Howie »

I'm not really sure how this actually relates to the plugin, but if you can write the PHP to do that, SuperLinks will present it for you :-)
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
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

SuperLinks 0.4 also works nicely on FreeBSD.
Thank you for the update and the plugin itself.
This new system will allow me to put our internal web portal inside Cacti so the integration looks more natural.
8)
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

N3NCY wrote:SuperLinks 0.4 also works nicely on FreeBSD.
Thank you for the update and the plugin itself.
This new system will allow me to put our internal web portal inside Cacti so the integration looks more natural.
8)
I develop on FreeBSD (and OS X and Windows desktops), so it should be pretty good there :-)

Glad it's helping!
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
lard
Cacti User
Posts: 165
Joined: Wed Jul 20, 2005 10:48 am
Location: UK - Cambridge

Post by lard »

Great plugin and exactly what I was after!

Quick query - is it possible to set the default tab that a user is presented to when they login (I'd like to set an "about" tab that people get shown before the graphs tab)

TIA,

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

Post by Howie »

lard wrote:Great plugin and exactly what I was after!

Quick query - is it possible to set the default tab that a user is presented to when they login (I'd like to set an "about" tab that people get shown before the graphs tab)
No, but there is a hook in the plugin archtecture to add information to the "You have logged in" page. Maybe that would help? Maybe it could be a third option for SuperLinks, even? For small things...
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
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Well I was supposed to be working on Boost support for Weathermap, so naturally I've just added this third option to superlinks :oops:

I'll make a 0.6 version when I finish with the boost thing (it's about 70% there).
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 3 guests