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

Undefined index can occur when data source does not have an snmp_index #2833

Closed
cigamit opened this issue Jul 19, 2019 · 0 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@cigamit
Copy link
Member

cigamit commented Jul 19, 2019

Describe the bug
Under certain circumstances, when rendering a graph, you get an undefined index snmp_query_id in lib/rrd.php on line 2424.

To Reproduce
Steps to reproduce the behavior:

  1. Create a graph that uses a replacement value for an option such as the vertical label
  2. Attempt to render that graph
  3. Goto the Cacti log
  4. See error

Expected behavior
No error is generated

@netniV netniV added the bug Undesired behaviour label Jul 19, 2019
@netniV netniV added this to the v1.2.6 milestone Jul 19, 2019
cigamit added a commit that referenced this issue Jul 19, 2019
Undefined index in lib/rrd.php under certain circumstances
@cigamit cigamit added the resolved A fixed issue label Jul 19, 2019
@cigamit cigamit closed this as completed Jul 23, 2019
@netniV netniV changed the title Undefined index in lib/rrd.php under certain circumstances Undefined index can occur when data source does not have an snmp_index Sep 1, 2019
@github-actions github-actions bot locked 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