This is an old revision of the document!


cacti 8.8c

update superlink

database pb

http://forums.cacti.net/viewtopic.php?f=14&t=48245

Finally solved.

mysql> drop table superlinks_auth;
mysql> drop table superlinks_pages;

and recreate the table manually to work

CREATE TABLE superlinks_pages(
id int(11) NOT NULL auto_increment,
sortorder int(11) NOT NULL default 0,
disabled char(2) NOT NULL default '',
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)
) ENGINE=MyISAM;

CREATE TABLE superlinks_auth (
userid mediumint(9) NOT NULL default '0',
pageid int(11) NOT NULL default '0'
) ENGINE=MyISAM;

awaiting configuration

uninstall and reinstall

http://forums.cacti.net/viewtopic.php?f=14&t=45286

Just in case someone comes across this. In order to uninstall it and you cannot, then use this URL:

http://<cacti-server>/cacti/plugins.php?mode=uninstall&id=superlinks

blank graph

graph emtpty/ blanck after superlink install ⇒ comment jquery in plugin setup file

cf http://licanli2082.blogspot.fr/2014/12/cacti-088c-reportit-cause-graph-tree.html

[root@monit superlinks]# cp setup.php setup.php.orig
[root@monit superlinks]# vim setup.php 
function superlinks_page_head() {
        global $config;

//      print "<script type='text/javascript' src='".$config['url_path'] ."/plugins/superlinks/jquery-latest.min.js'></script>";

cf http://forums.cacti.net/viewtopic.php?f=14&t=30823&start=15

workaround:

[root@monit superlinks]# diff superlinks.php superlinks.php.orig 
53c53
< 		print '<iframe id="slcontent" src="' . $page['contentfile'] . '"width="100%" height="900px" frameborder="0"></iframe>';
---
> 		print '<iframe id="slcontent" src="' . $page['contentfile'] . '" frameborder="0"></iframe>';

plugin php-weathermap

[root@monit plugins]# wget http://network-weathermap.com/files/php-weathermap-0.97c.zip
[root@monit plugins]# unzip php-weathermap-0.97c.zip 
[root@monit plugins]# cd weathermap/
[root@monit weathermap]# chown apache output/
docpublic/reseaux/services/monitcacti.1421084411.txt.gz · Last modified: 2015/01/12 17:40 by procacci@tem-tsp.eu
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0