Superlinks is not creating tab

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
amolpotdar
Posts: 5
Joined: Wed Oct 26, 2011 5:19 pm

Superlinks is not creating tab

Post by amolpotdar »

Hello, I have installed superlinks v1.3 plugin. I have Cacti v0.8.7g and PA v2.8. I can see superlinks avtive in Plugin management and given Realm permissions, but I dont see the tab when I try to create one.

The error message from cacti log is as follows:

10/27/2011 12:03:28 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT DISTINCT id, title, imagecache FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='TAB' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id"
10/27/2011 12:03:00 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT DISTINCT id, title, imagecache FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='TAB' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id"
10/27/2011 12:03:00 AM - SYSTEM STATS: Time:0.1086 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:53 RRDsProcessed:0
10/27/2011 12:03:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
10/27/2011 12:03:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/spine/bin/spine, ARGS: 0 33]
10/27/2011 12:02:00 AM - SYSTEM STATS: Time:0.1208 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:53 RRDsProcessed:0
10/27/2011 12:02:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.

Please help me figure this out.

Thanks,
Amol.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Superlinks is not creating tab

Post by TheWitness »

You are missing the tables required for superlinks
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?
amolpotdar
Posts: 5
Joined: Wed Oct 26, 2011 5:19 pm

Re: Superlinks is not creating tab

Post by amolpotdar »

Hey, thanks for the reply. I am new to linux and cacti. Could you please tell me if I should create the table in cacti DB? I have followed the steps for superlinks installation and the superlinks tar file does not contain any tables as I can see.

----
Amol.
amolpotdar
Posts: 5
Joined: Wed Oct 26, 2011 5:19 pm

Re: Superlinks is not creating tab (SOLVED)

Post by amolpotdar »

Hello, I got it working. I edited the the setup.php file for superlinks.
Just replaced:

TYPE=MyISAM by ENGINE=MyISAM in the code.

Thanks,
Amol.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Superlinks is not creating tab

Post by TheWitness »

Got it thanks.
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?
artiflo
Cacti User
Posts: 76
Joined: Wed Dec 19, 2007 2:00 pm

Re: Superlinks is not creating tab

Post by artiflo »

Thanks, I have the same bug.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Superlinks is not creating tab

Post by TheWitness »

A new release has been published here:

http://docs.cacti.net/plugin:superlinks?&#download

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests