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

Browsing events on monitoring tab, Unable to view data for more than one day

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • 1.6.6
    • 1.6.5
    • Frontend (F)
    • None
    • Gentoo 2.6, Zabbix 1.6.5

      Hello,

      I'm unable to view events in one window for period more than 1 day. I'm unable to change period of view - it is always "Day view". I expected upper calendar will choose start date and lower calendar will choose end date, but they both choose the same date. Investigating source showed me, that "Day view" is hard-coded
      ==========events.php=========
      208 $start = mktime(0, 0, 0, date('m',$start) , date('d',$start), date('Y',$start));
      209 $end = $start+86400;
      ============================
      So, for now I just commented
      // $sql_cond.=' AND e.clock>'.$start;
      // $sql_cond.=' AND e.clock<'.$end;
      to be able to view events(filtered of course) for all time period.

      Thanks,
      Alex

            Unassigned Unassigned
            voron Alex Vorona
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: