My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 87: Graphs are Empty, Undefined Offset
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Dec 13
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by vdba73, Nov 13, 2009
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
Comment 1 by vdba73, Nov 13, 2009
This happens only when you define heartbeat table within ss_get_mysql_stats.php
Comment 2 by baron.schwartz, Nov 13, 2009
As a temporary workaround, can you set $debug to FALSE and see if that makes it stop
emitting the error?
Comment 3 by baron.schwartz, Dec 13 (6 days ago)
Fixed in r339.
Status: Fixed
Sign in to add a comment

Hosted by Google Code