Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When linking to Graphs, unless both start and end are specified, only defaults are used #2497

Closed
standaniel opened this issue Mar 8, 2019 · 3 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@standaniel
Copy link

We use 0.8.8c

We take graphs links into a html which refreshes each 10 seconds, the link is:

http://site-name/graph_image.php?local_graph_id=394&rra_id=0&graph_height=55&graph_width=370&graph_nolegend=true&graph_start=-3600

graph_start=-3600 - this gives us the last hour updated graphs - so we have the last hour graphs refreshed every 10 seconds.

When upgrading to 1.2.2 graph_start=-3600 does not work and we only get last 24hours, no matter what we try, any idea why?

@cigamit
Copy link
Member

cigamit commented Mar 8, 2019

Add '&graph_end=-300" or "&graph_end=-60" depending on your poller interval and this will work. In the mean time, we'll get this fixed.

@cigamit cigamit added the bug Undesired behaviour label Mar 8, 2019
@cigamit cigamit changed the title Graphs direct link with graph_image.php not working as with 0.8 version Graph URL's missing either graph_start or graph_end but not both result in both taking defaults Mar 8, 2019
cigamit added a commit that referenced this issue Mar 8, 2019
Graph URL's missing either graph_start or graph_end but not both result in both taking defaults
@cigamit cigamit added the resolved A fixed issue label Mar 8, 2019
@cigamit cigamit added this to the v1.2.3 milestone Mar 8, 2019
@cigamit
Copy link
Member

cigamit commented Mar 8, 2019

@standaniel, should be fixed now. Update lib/rrd.php. If satisfied, please close the issue.

@standaniel
Copy link
Author

fixed, indeed.

@netniV netniV changed the title Graph URL's missing either graph_start or graph_end but not both result in both taking defaults When linking to Graphs, unless both start and end are specified, only defaults are used Mar 30, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants