Duplicate attribute names error when creating a watch in Spectrum OneClick

Document ID : KB000049738
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

If an attribute is mapped via mibtools and that attribute already exists in the SpectroSERVER database then the following error will be seen when trying to create a watch for one of the attributes:

Watch Expression: Duplicate attribute names for <attribute name> There are two attributes with this name. Use the ATTR () primitive to correctly identify the desired attribute

Solution:

The ATTR prefix and the attribute hex value assigned to the attribute must be used to properly identify the attribute you want to create the watch for. The following is an example of an expression that can be used when creating a watch:

ATTR(0xfff00171).#

The .# will watch all instances of the attribute 0xfff00171