Details
-
Bug
-
Resolution: Not A Bug
-
Critical
-
None
-
None
-
Debian 7
Php 5.4.4
Mysql-server 5.5
apache2.2.22
Observium : revision 4276
Description
Hi,
I have just installed Observium and added apache2 and mysql graphs in Device->Apps
Observium seems to be working fine , but the images related Mysql and Apache graph are broken.
I have followed the apache/mysql instruction step by step , added right permission to the folder, restarted apache but nothing do .. i am still getting the broken link.
Here is the output while enabling the debug variable to 1 in the url - I can confirm that the graph exists in the /tmp dir but nothing showed :
===
SQL[SELECT username,password FROM `users` WHERE `username`= 'admin'] SQL[SELECT `level` FROM `users` WHERE `username` = 'admin'] SQL[SELECT `user_id` FROM `users` WHERE `username` = 'admin'] SQL[SELECT * FROM devices_perms WHERE user_id = '1'] SQL[SELECT * FROM ports_perms WHERE user_id = '1'] SQL[SELECT * FROM bill_perms WHERE user_id = '1'] Array ( [0] => application_mysql_connections [type] => application [1] => application [subtype] => mysql_connections [2] => mysql_connections ) SQL[SELECT `device_id` FROM `applications` WHERE `app_id` = '2'] SQL[SELECT * FROM `applications` WHERE `app_id` = '2'] SQL[SELECT * FROM `devices` WHERE `device_id` = '1'] file missing:
graph /tmp/6jd74kXmwGxYAi0m.png -g --alt-autoscale-max --rigid -E --start 1373378625 --end 1376057025 --width 1075 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:'DejaVuSansMono' --font AXIS:7:'DejaVuSansMono' --font-render-mode normal -g --alt-autoscale-max --rigid -E --start 1373378625 --end 1376057025 --width 1075 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:'DejaVuSansMono' --font AXIS:7:'DejaVuSansMono' --font-render-mode normal COMMENT:'Connections Now Min Max Avg' COMMENT:'\l' CDEF:X= AREA:X#99999999: LINE1.25:X#666666:
command returned 1 (ERROR: String ends after the = sign on 'CDEF:X=' )
OK u:0.07 s:0.01 r:0.08
graph /tmp/6jd74kXmwGxYAi0m.png -g --alt-autoscale-max --rigid -E --start 1373378625 --end 1376057025 --width 1075 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:'DejaVuSansMono' --font AXIS:7:'DejaVuSansMono' --font-render-mode normal HRULE:0#555555 --title='Error Drawing Graph'
command returned 1 (1156x357 )
Runtime 0.18617916107178 secs
MySQL: Cell 0/0s Row 6/0.002s Rows 3/0s Column 0/0s
===
Please find the screenshot attached.
Thanks for your help.