Skip to content

Allow Graph/Data Source with custom fields to prompt during manual creation #3879

Description

@AllenRDCo

When adding a new device and doing the initial creating of graphs/data sources for the device if there are any data sources that have custom fields (such as network traffic has a custom field for the interface to monitor) the previous behavior was after the device has been added those graphs would not auto create if graph auto creation was enabled and you would have to follow the "Create Graphs for this device" link and then select the graphs, then click the "Create Graphs" button and you would then be taken to the next page to enter the custom fields (interface, drive, etc) and then you could finalize the graph/data source creation.

Now the behavior, whether or not you have automatic graph creation enabled or not, is upon the initial creation of graphs it will not prompt for the custom fields, resulting in data sources without required fields (such as the interface to monitor) resulting in broken graphs. You then have to go into each data source and manually update the data source with the missing information before it starts working again. The additional behavior of this is that when you have graphs/data sources that are configured to allow more than one instance for a single device, if you create the second instance of that graph for the device it does prompt for the custom fields as one would expect. So it is only a problem upon the first creation of those graphs/data sources. I checked through all the settings I could find (none of which were changed before the behavior started) and nothing seemed to address the problem. I also looked at the individual data source templates to make sure nothing was set wrong in them and could not find anything. Granted, the templates I am using in this manner are sourced from Percona, but this is the first time I have had this kind of issue and it seems unlikely it is a problem with the templates, though it might be.

This appears to have changed between 1.2.12 and 1.2.14.

This is on a Debian 10 system that is up to date and running php7.3 with Percona MySQL 5.7.31

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions