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

Create graphics failed

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.5rc1, 2.1.0
    • 2.0.3
    • Frontend (F)
    • Create graphic in Template or Host

      configuration.graph.edit.js.php
      ...
      function getOnlyHostParam() {
      var param = '';

      jQuery(document).ready(function() {
      if (<?php echo $this->data['is_template'] ? 'true' : 'false'; ?>)

      { >> param = '&only_hostid=' + '<?php echo $this->data['hostid']; ?>'; }

      else

      { param = '&real_hosts=1'; }

      });

      return param;
      }
      ...
      String <?php echo $this->data['hostid']; ?> not quoted in original file and list of item is empty.

        1. graphs.png
          132 kB
          Pavels Jelisejevs

            Unassigned Unassigned
            parmax Maxim Parkhomenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: