Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-929

PHP Frontend bug in dashboard

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • 1.6
    • 1.6
    • Frontend (F)
    • None
    • Solaris

      The dashboard claims that the Zabbix Server is not running which is wrong.

      1. fsockopen returns FALSE on error so please compare with FALSE in config.inc.php:
      $status["zabbix_server"] = ($checkport == FALSE) ? S_NO : S_YES;

      2. in blocks.inc.php
      $table->AddRow(array(S_ZABBIX_SERVER_IS_RUNNING,new CSpan($status['zabbix_server'], ($status['zabbix_server'] == S_YES ? 'on' : 'off')),' - '));

      So it is "on" if Status is S_YES, not "off".

      So far this only fixes the color of the Zabbix Server Status, but the text is still "no" for unknown reasons.

      ZABBIX server is running No -

            Unassigned Unassigned
            maxpower Sven Goldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: