NetXMS Support Forum

English Support => General Support => Topic started by: pvo on May 28, 2020, 07:40:42 PM

Title: Confusing usage of {instance} in Performance Tab configuration
Post by: pvo on May 28, 2020, 07:40:42 PM
I wanted to configure a common graph for several DCI values with the same instance (they have same Instance Discovery script).

I used {instance-name} in the Title and Group fields, but it didn't work. All instances were displayed in one graph and the displayed Title of the graph contained the text {instance-name} instead of its value.
Then I tried to use {instance} in the Title and Group fields and everything works as I need. Even the title of the chart contains the name of the instance, so the contents of {instance-name}, even though I have {instance} used in the Title configuration.

it seems confusing to me and is probably not an intention.
Title: Re: Confusing usage of {instance} in Performance Tab configuration
Post by: Kevo on August 31, 2021, 04:54:41 AM
I'm glad you posted this. Helped me figure out why I couldn't get my performance tab working the way I wanted. I guess it must be this way for historical reasons or something, but it wasn't what I expected based on what was working in other parts of my DCI configuration.
Title: Re: Confusing usage of {instance} in Performance Tab configuration
Post by: Filipp Sudanov on August 31, 2021, 10:03:27 PM
Yes, it's so for some historical reasons. Will stay so in 3.x versions, but hopefully will be reworked in 4.0