SPC-WCH-20072: This is a user defined error while creating a watch for Fortinet device
search cancel

SPC-WCH-20072: This is a user defined error while creating a watch for Fortinet device

book

Article ID: 255658

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

Error creating watch:

SPC-WCH-20072: This is a user defined error.

 

Environment

DX NetOps Spectrum all supported releases

Cause

  1. The fgHaStatsMasterSerial and fgHaStatsSerial attributes have two instances so Spectrum couldn't isolate the correct one with the settings of .# and Instance None These 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

    It should be: Fortigate_Failover

 

 

 

Resolution

In the Expression tab set:

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

 

Additional Information

Broadcom Communities : DX NetOps : How can I create a watch with the "fgHaStatsSerial" attribute?