Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-437

Image broken in Apache and Mysql Apps

Details

    • Bug
    • Resolution: Not A Bug
    • Critical
    • None
    • None
    • Web Interface
    • 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.

      Attachments

        Activity

          [OBS-437] Image broken in Apache and Mysql Apps

          http://www.observium.org/wiki/Mailing_Lists

          In general the apps infrastructure is in an alpha state and shouldn't be used by anyone who isn't able to fix problems themselves.

          adama Adam Armstrong added a comment - http://www.observium.org/wiki/Mailing_Lists In general the apps infrastructure is in an alpha state and shouldn't be used by anyone who isn't able to fix problems themselves.

          anyway, the apache2 graphs are not working too - i think the technical documentation should be a bit more detailed

          naspar Mirco Santori added a comment - anyway, the apache2 graphs are not working too - i think the technical documentation should be a bit more detailed

          where can i raise support request ? the main website moved me here
          Thanks

          naspar Mirco Santori added a comment - where can i raise support request ? the main website moved me here Thanks

          This is not a bug.

          JIRA IS FOR BUGS, DO NOT PUT SUPPORT REQUESTS HERE.

          adama Adam Armstrong added a comment - This is not a bug. JIRA IS FOR BUGS, DO NOT PUT SUPPORT REQUESTS HERE.

          Your agent is not sending any MySQL data. THIS IS NOT A BUG.

          adama Adam Armstrong added a comment - Your agent is not sending any MySQL data. THIS IS NOT A BUG.

          Just noticed a weird error while performing the poller.php command in debug mode :

          ./poller.php -h all -d

          /usr/bin/snmpget -v2c -c mypwd -Oqv -m UCD-SNMP-MIB -M /opt/observium/mibs udp:localhost:161 .1.3.6.1.4.1.2021.7890.1.3.1.1.6.100.105.115.116.114.111
          No Such Object available on this agent at this OID

          Help appreciated.
          Thanks

          naspar Mirco Santori added a comment - Just noticed a weird error while performing the poller.php command in debug mode : ./poller.php -h all -d /usr/bin/snmpget -v2c -c mypwd -Oqv -m UCD-SNMP-MIB -M /opt/observium/mibs udp:localhost:161 .1.3.6.1.4.1.2021.7890.1.3.1.1.6.100.105.115.116.114.111 No Such Object available on this agent at this OID Help appreciated. Thanks

          People

            adama Adam Armstrong
            naspar Mirco Santori
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: