You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you have a Script Server Data Query that attempts to implement arg_num_indexes, even though that query will return no rows, cacti does not attempt to emulate using the index count returned by the index query, but instead fails.
To Reproduce
Steps to reproduce the behavior:
Install the Mikrotik Plugin
Discover a Mikrotik device
Notice that the Mikrotik - Interfaces data query has zero rows
Expected behavior
Even though the 'arg_num_indexes' is defined in the XML file, we should not fail if it's unable to find any indexes.
The text was updated successfully, but these errors were encountered:
netniV
changed the title
Data Query Issue with Script Server when 'arg_num_indexes' set but not found
Script Server can raise unexpected warnings when 'arg_num_indexes' set but not found in data source
Sep 28, 2019
Describe the bug
If you have a Script Server Data Query that attempts to implement arg_num_indexes, even though that query will return no rows, cacti does not attempt to emulate using the index count returned by the index query, but instead fails.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Even though the 'arg_num_indexes' is defined in the XML file, we should not fail if it's unable to find any indexes.
The text was updated successfully, but these errors were encountered: