When creating a SpectroWATCH for attribute permanentTunnelState defined as:
The following error is thrown:
DX NetOps Spectrum all supported Releases
The error means that the expression definition is invalid in some way. In this case, the value after the '==' does not match the data type of the attribute.
This attribute - permanentTunnelState (1.3.6.1.4.1.2620.500.9003.1.3) is defined as an integer list with the following possible values:
OID Reference - permanentTunnelEntry
permanentTunnelState OBJECT-TYPE
SYNTAX INTEGER {
active(3),
destroy(4),
idle(129),
phase1(130),
down(131),
init(132),
}
ACCESS read-write
STATUS mandatory
::= { permanentTunnelEntry 3 }
Instead of the value in the expression being a Text String - "active", the data type has to be set to integer:
And it has to be just the attribute with an instance identifier. The instance ID should be either a number (for a specific instance) or # for all instances.
As permanentTunnelState has two attribute IDs:
ATTR(0xc4229f).#
Then, attach a threshold equal to 3 which represents that state: