Memorize: image caching plugin

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Re: PLEASE HELP !

Post by johnrembo »

bodo.bach wrote:Hi,

thanx for your nice plugin.

I am using cacti 0.87b und PA 2.0 on cactiEZ 0.4

1. in Settings/Memorize if pressing SHOW or FLUSH buttom gives in the Browser-Statusline "ERROR on page." and nothing is happend. Seemed to be a Java compatibility problem, i am using IE7 & IE6 with JRE 1.607 and JRE 1.5

2. It speeds up the graphs, but sometimes, calling graphs for a device the first time, it shows no graphs (placeholder is shown), then i press the refresh buttom in the browser .... now the graphs are shown......

You have a idea to fix it ?
1. javascript errors have nothing common with sun's java-runtime-environment. You could paste javascript error description here.

2. have you performed any kernel tuning as suggested in README? Try cleaning memory with script at memorize/mem_cleaner_linux.sh before doing that.

3. AFAIK Cacti-EZ comes with Boost plugin, which performs image caching as well. This might be a problem (I haven't tried them both on my machine, but you could temporary disable boost plugin and see what happens)

4. I've uploaded memorize_v02.tar.gz with fixed issus realated to IE6
[url=http://forums.cacti.net/viewtopic.php?t=24934&highlight=zond]zond plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?t=28384]memorize plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?p=141322#141322]transporter plugin[/url]
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

A little bit of weirdness in when you turn on Graph Debugging.
Attachments
SP32-20080804-124107.gif
SP32-20080804-124107.gif (23.27 KiB) Viewed 5150 times
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Post by johnrembo »

streaker69 wrote:A little bit of weirdness in when you turn on Graph Debugging.
v0.3 should handle that...
[url=http://forums.cacti.net/viewtopic.php?t=24934&highlight=zond]zond plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?t=28384]memorize plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?p=141322#141322]transporter plugin[/url]
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

johnrembo wrote:
streaker69 wrote:A little bit of weirdness in when you turn on Graph Debugging.
v0.3 should handle that...
I knew being an early adopter would come back to bite me. :)
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Post by johnrembo »

streaker69 wrote:
johnrembo wrote:
streaker69 wrote:A little bit of weirdness in when you turn on Graph Debugging.
v0.3 should handle that...
I knew being an early adopter would come back to bite me. :)
luckily, it produces some shit only in last-mile :)
your rrd's are safe, your poller cache is safe and everything is safe...
[url=http://forums.cacti.net/viewtopic.php?t=24934&highlight=zond]zond plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?t=28384]memorize plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?p=141322#141322]transporter plugin[/url]
bodo.bach
Posts: 9
Joined: Wed Jul 02, 2008 7:35 am

Error SQL INSERT in Memorize

Post by bodo.bach »

Hi, now see in cacti 087b log :

with memorize 0.2

08/06/2008 11:01:07 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"INSERT INTO plugin_memorize_stats (local_graph_id,rra_id,shm_addr,render_time,render_duration,render_origin) values (6157,0,615707958,NOW(),unknown number of,0);'

myphpadmin means this is an SQL syntax error ???

Thanx for an Answer
User avatar
johnrembo
Cacti User
Posts: 216
Joined: Mon Apr 24, 2006 3:33 am

Re: Error SQL INSERT in Memorize

Post by johnrembo »

bodo.bach wrote:Hi, now see in cacti 087b log :

with memorize 0.2

08/06/2008 11:01:07 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"INSERT INTO plugin_memorize_stats (local_graph_id,rra_id,shm_addr,render_time,render_duration,render_origin) values (6157,0,615707958,NOW(),unknown number of,0);'

myphpadmin means this is an SQL syntax error ???

Thanx for an Answer
i've just uploaded v0.3 with this issue fixed.
[url=http://forums.cacti.net/viewtopic.php?t=24934&highlight=zond]zond plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?t=28384]memorize plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?p=141322#141322]transporter plugin[/url]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest