I have created two Data Templates. Inside each template I have ticked the "Use Per-Data Source Value (Ignore this Value) box in the "Data Source" section for the name option.
I then created a graph template which called the 2 datasources from the data templates created in step one.
I then go to devices, click on the device I want. Click "create graph for this host" and chose my new graph template.
The problem I found was it only ever prompted me to change the name of the first datasource, even tho both data templates had the name box ticked for custom data.
After much debugging I found that if I added a
reset($struct_data_source);
to the function "draw_nontemplated_fields_data_source" inside the /lib/html_form_template.php file that I then was prompted for both the names and everything worked ok.
Basically just informing/asking that it might be a bug, or have is there a better fix for this ?
Thanks
Problem with "Use Per-Data Source Value" for datas
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 1 guest