Error creating watch based on the community thread below:
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=779906
SPC-WCH-20072: This is a user defined error.
Release : 21.2
1. The fgHaStatsMasterSerial and fgHaStatsSerial attributes have two instances.
The .# and Instance None were causing the SPC-WCH-20072: This is a user defined error.
2. The fgHaStatsMasterSerial and fgHaStatsSerial are external attributes, they are not Database and/or Memory (internal attributes).
Hence Evaluate On Change cannot be selected in the Properties tab, in Evaluation, otherwise, the following error will be displayed:
SPC-WCH-20059: Invalid watch: At least one attribute of a IMT watch must have the database and/or memory flag(s) set.
3. The watch Name cannot have space, like: Fortigate Failover
Should be: Fortigate_Failover
In the Expression tab:
Name: Fortigate_Failover
Data Type: Text String
Expression: fgHaStatsMasterSerial.1
Instance: None
In the Properties tab:
Default Activation: (disabled) Active by Default
Evaluation: Evaluate By Polling (because fgHaStatsMasterSerial and fgHaStatsSerial are external attributes)
In the Threshold tab:
Enabled Attach a Threshold
Threshold violated if value == fgHaStatsSerial.1
Threshold reset if value != fgHaStatsSerial.1
Notification: Generate Alarm