mostafamemariani / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
0 stars 0 forks source link

Graphs are Empty, Undefined Offset #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
All my mysql graphs are empty. I have set right credentials in
ss_get_mysql_stats.php . When I run the command by itself , I get 

root@cruz:/usr/share/cacti/site/scripts# php ./ss_get_mysql_stats.php
--host dev-rpt01.adchemy.colo --items ah,ai,aj,ak

Notice: Undefined offset:  0 in
/usr/share/cacti/site/scripts/ss_get_mysql_stats.php on line 362
ah:17975876 ai:21977205 aj:33614736 ak:16641336

I am using the latest version of mysql_cacti_templates on Ubuntu 32 bit linux

Thanks
Vipul

Original issue reported on code.google.com by vdb...@gmail.com on 13 Nov 2009 at 8:16

GoogleCodeExporter commented 8 years ago
This happens only when you define heartbeat table within ss_get_mysql_stats.php

Original comment by vdb...@gmail.com on 13 Nov 2009 at 11:43

GoogleCodeExporter commented 8 years ago
As a temporary workaround, can you set $debug to FALSE and see if that makes it 
stop
emitting the error?

Original comment by baron.schwartz on 14 Nov 2009 at 12:01

GoogleCodeExporter commented 8 years ago
Fixed in r339.

Original comment by baron.schwartz on 13 Dec 2009 at 5:46