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

Checking permissions in report3 SLA Services

    XMLWordPrintable

    Details

      Description

      I'm get error about not permissions, when clicking to field "SLA (Last 7 days)" for service without triggers (general service).

      in report3.php:
      if (!is_null($service['triggerid'])) {
      $options = array(
      'triggerids' => $service['triggerid'],
      'output' => API_OUTPUT_SHORTEN,
      'nodeids' => get_current_nodeid(true)
      );

      $db_data = API::Trigger()->get($options);
      if (empty($db_data))

      { access_deny(); <- this }

      }

      php check returned information about triggers, but i don't have trigger for some Services SLA

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: