SuperLinks 0.8 Released
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
SuperLinks 0.8 Released
Over here, you will find the latest version of SuperLinks, a Cacti plugin to allow you to integrate your own content into Cacti's UI.
New in this version are the ability to use streaker69's 'small tabs' throughout Cacti, even with plugins that don't know about them. Also, you can have multiple console menu sections now, and remove/replace quite a bit of the Cacti branding.
New in this version are the ability to use streaker69's 'small tabs' throughout Cacti, even with plugins that don't know about them. Also, you can have multiple console menu sections now, and remove/replace quite a bit of the Cacti branding.
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!)
Thanks!
But I found error. In setup.php:441
to
But I found error. In setup.php:441
Code: Select all
$colsql = "show columns from superlinks_pages from '" . $database_default."'";
Code: Select all
$colsql = "show columns from superlinks_pages from `" . $database_default."`";
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
[size=75]Sorry for my English. [/size]
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Which version/platform of mysql is that?
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!)
Production:
Development:
Code: Select all
mysql-server-5.0.45-7.el5 on CentOS release 5.2 (Final)
Code: Select all
5.0.45-community-nt-log on WinXP 32bit.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
[size=75]Sorry for my English. [/size]
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Strange that I never had a problem, but the mysql manual shows you are right...
I've put up a new version with the same filename.
I've put up a new version with the same filename.
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,
Found some issues:
When clicking Superlinks Pages
Console Menu
Notice: Undefined index: extendedstyle in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 225
()
When attempting to edit an existing link
Warning: Invalid argument supplied for foreach() in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 617
Notice: Undefined index: extendedstyle in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 633
Notice: Undefined index: extendedstyle in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 634
Any ideas ?
Thanks
Found some issues:
When clicking Superlinks Pages
Console Menu
Notice: Undefined index: extendedstyle in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 225
()
When attempting to edit an existing link
Warning: Invalid argument supplied for foreach() in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 617
Notice: Undefined index: extendedstyle in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 633
Notice: Undefined index: extendedstyle in C:\wamp\www\cacti\plugins\superlinks\superlinks-mgmt.php on line 634
Any ideas ?
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Also errors in the event log
12/01/2008 09:35:33 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"select extendedstyle from superlinks_pages where style='CONSOLE' group by extendedstyle order by extendedstyle"
12/01/2008 09:33:50 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"select extendedstyle from superlinks_pages where style='CONSOLE' group by extendedstyle order by extendedstyle"
According to the MYSQL table "superlinks_pages", there doesn't seem to be a field called "extendedstyle" ?
This was an upgrade from 0.72 to 0.8..
12/01/2008 09:35:33 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"select extendedstyle from superlinks_pages where style='CONSOLE' group by extendedstyle order by extendedstyle"
12/01/2008 09:33:50 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"select extendedstyle from superlinks_pages where style='CONSOLE' group by extendedstyle order by extendedstyle"
According to the MYSQL table "superlinks_pages", there doesn't seem to be a field called "extendedstyle" ?
This was an upgrade from 0.72 to 0.8..
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Sorry - FIXED
Created the field in the table manually:
extendedstyle varchar(50) NOT NULL DEFAULT ''
Seems like the below in setup.php at line 427 didn't get applied correctly:
if (!in_array('superlinks_pages', $tables)) {
$sql[] = "CREATE TABLE superlinks_pages(
id int(11) NOT NULL auto_increment,
sortorder int(11) NOT NULL default 0,
contentfile text NOT NULL,
title text NOT NULL,
style varchar(10) NOT NULL DEFAULT 'TAB',
extendedstyle varchar(50) NOT NULL DEFAULT '',
imagecache varchar(60) NOT NULL DEFAULT '',
PRIMARY KEY (id)
) TYPE=MyISAM;";
Created the field in the table manually:
extendedstyle varchar(50) NOT NULL DEFAULT ''
Seems like the below in setup.php at line 427 didn't get applied correctly:
if (!in_array('superlinks_pages', $tables)) {
$sql[] = "CREATE TABLE superlinks_pages(
id int(11) NOT NULL auto_increment,
sortorder int(11) NOT NULL default 0,
contentfile text NOT NULL,
title text NOT NULL,
style varchar(10) NOT NULL DEFAULT 'TAB',
extendedstyle varchar(50) NOT NULL DEFAULT '',
imagecache varchar(60) NOT NULL DEFAULT '',
PRIMARY KEY (id)
) TYPE=MyISAM;";
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
I cannot get this to force small tabs across the environment. Do i need to install Streaker's small tabs stuff as well?
app
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
No, it comes with his tabs, and will automatically generate small tabs for everything else. As long as the tab_images folder is writable by the web user, and javascript is enabled.apperrault wrote:I cannot get this to force small tabs across the environment. Do i need to install Streaker's small tabs stuff as well?
app
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:
Odd. I've just done the same upgrade on my production server, and it all went through fine...mcutting wrote:Sorry - FIXED
Created the field in the table manually:
extendedstyle varchar(50) NOT NULL DEFAULT ''
Seems like the below in setup.php at line 427 didn't get applied correctly:
if (!in_array('superlinks_pages', $tables)) {
$sql[] = "CREATE TABLE superlinks_pages(
id int(11) NOT NULL auto_increment,
sortorder int(11) NOT NULL default 0,
contentfile text NOT NULL,
title text NOT NULL,
style varchar(10) NOT NULL DEFAULT 'TAB',
extendedstyle varchar(50) NOT NULL DEFAULT '',
imagecache varchar(60) NOT NULL DEFAULT '',
PRIMARY KEY (id)
) TYPE=MyISAM;";
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 User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Javascript on your browser. What it does is look for tab images of a certain size, in the right part of the page, and then request a small tab with the same text as the ALT text for the tab. If it's the first time, it generates it, and caches the result in tab_images. You should see these appearing as "auto-xyz" files in the tab_images folder.apperrault wrote:Does JavaScript need to be enabled on my browser or from within Cacti? the tab_images folder within the Plugins/superlinks has Apache as the owner on that folder. The only tabs that are going small are the SuperLinks tabs, nothing else is.
thanks for the great plugin.
app
You should also see requests for tabgen.php in your apache access log.
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!)
I'm running cacti 7b and have an otherwise working plugin arch.
I just installed the superlinks plugin and while the Superlinks Pages link shows up under management I cannot see the new realm permissions as options to select for any users.
the log is showing the following error:
01/15/2009 04:07:02 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks.php', 'Plugin -> SuperLinks: View Pages')'
01/15/2009 04:07:02 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks-mgmt.php', 'Plugin -> SuperLinks: Manage Pages')'
01/15/2009 04:07:02 PM - SYSTEM STATS: Time:60.3306 Method:cmd.php Processes:10 Threads:N/A Hosts:50 HostsPerProcess:5 DataSources:1261 RRDsProcessed:690
01/15/2009 04:08:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks.php', 'Plugin -> SuperLinks: View Pages')'
01/15/2009 04:08:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks-mgmt.php', 'Plugin -> SuperLinks: Manage Pages')'
Any guesses?
I just installed the superlinks plugin and while the Superlinks Pages link shows up under management I cannot see the new realm permissions as options to select for any users.
the log is showing the following error:
01/15/2009 04:07:02 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks.php', 'Plugin -> SuperLinks: View Pages')'
01/15/2009 04:07:02 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks-mgmt.php', 'Plugin -> SuperLinks: Manage Pages')'
01/15/2009 04:07:02 PM - SYSTEM STATS: Time:60.3306 Method:cmd.php Processes:10 Threads:N/A Hosts:50 HostsPerProcess:5 DataSources:1261 RRDsProcessed:690
01/15/2009 04:08:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks.php', 'Plugin -> SuperLinks: View Pages')'
01/15/2009 04:08:01 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO plugin_realms (plugin, file, display) VALUES ('superlinks', 'superlinks-mgmt.php', 'Plugin -> SuperLinks: Manage Pages')'
Any guesses?
hi flask28,
did you ever resolve this?
*** update ***
I forget to do this just about every time as it doesn't seem to be in the read me, but when you install the plugin architecure, you must also import pa.sql.
syntx;
mysql cactdbname -u mysqlusername -p < pa.sql
easy to forget.
did you ever resolve this?
*** update ***
I forget to do this just about every time as it doesn't seem to be in the read me, but when you install the plugin architecure, you must also import pa.sql.
syntx;
mysql cactdbname -u mysqlusername -p < pa.sql
easy to forget.
Last edited by aurfalien on Wed Aug 26, 2009 7:12 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest