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.
After #2656, rrd_substitute_host_query_data function substitute graph item text_format from data_local.snmp_query_id only.
If add a COMMENT item without any associated datasource, graph will show as screenshot below.
To Reproduce
Steps to reproduce the behavior:
Edit build-in graph template "Unix - Available Disk Space"
Add a item as below:
Create a graph from DataQuery "Unix - Get Mounted Partitions " under build-in device "Local Linux Machine"
View Graph after while
See error as screenshot below
Expected behavior
|query_xxxx| always be replaced for related data query, whatever from graph or data source.
Screenshots
The text was updated successfully, but these errors were encountered:
* Fixed#3422: COMMENT text_format does not replace Data Query if graph item does not associate to any datasource.
* Fixed#3422: Update CHANGELOG
Co-authored-by: Jing Chen <three_chenjing@sohu.com>
Co-authored-by: Mark Brugnoli-Vinten <netniv@hotmail.com>
netniV
changed the title
COMMENT text_format does not replace Data Query
When Graph Item is not linked to a data source, Comments do not always get variables substituted correctly
May 3, 2020
Describe the bug
After #2656, rrd_substitute_host_query_data function substitute graph item text_format from data_local.snmp_query_id only.
If add a COMMENT item without any associated datasource, graph will show as screenshot below.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
|query_xxxx|
always be replaced for related data query, whatever from graph or data source.Screenshots
The text was updated successfully, but these errors were encountered: