[ZBX-14916] Parameter stime in chart2.php not processed Created: 2018 Sep 27 Updated: 2018 Sep 28 Resolved: 2018 Sep 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.4.13, 3.4.14 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Julien Gormotte | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 7 |
Attachments: |
![]() ![]() ![]() ![]() |
||||||||
Issue Links: |
|
Description |
Steps to reproduce:
Result:
Graph ** is not generated with correct start time, as seen in zabbix_error.png (Zabbix 3.4.14) Expected: Graph should start at given time, as seen in zabbix_ok.png (Zabbix 2.0.18) |
Comments |
Comment by Julien Gormotte [ 2018 Sep 27 ] |
Seems I was missing isNow=0 parameter. So, it works now, but why this parameter ? Seems strange to have this parameter mandatory when you use stime, the use of stime should automatically assume the time is not now... |
Comment by Aigars Kadikis [ 2018 Sep 28 ] |
Hello Julien, Please elaborate where did you attach "isNow=0" because inside the URL I can only see: chart2.php ? graphid=872 & period=600 & stime=20180927000000 And I tested this URL and it retrieves normal graph in a requested time period. Kind regards, |
Comment by Julien Gormotte [ 2018 Sep 28 ] |
Hello,
I added it in the end. See the files 2-*.png, isNow seems mandatory. |
Comment by Alexander Vladishev [ 2018 Sep 28 ] |
From version 3.4.2, isNow=0 parameter is needed to show graph for selected start time. isNow=1 (default) is needed to show graph for current time. |