Watch and string comparison give incorrect alarms

Document ID : KB000097701
Last Modified Date : 23/05/2018
Show Technical Document Details
Issue:
We are getting the following incorrect alarms in CA Spectrum, after creating a watch for threshold monitoring.
"The threshold of watch CheckPoint_Memory_Free has been violated on behalf of model <ModelName>. The watch source value "11603189760" is less than the threshold reference value of "157286400". (event [0x00480004])"

It is clearly incorrect as "11603189760" is NOT less than the threshold reference value of "157286400".
Environment:
CA Spectrum releases of less than 10.3.,.
Cause:
64 bit string comparison algorithms are incorrectly calculated in CA Spectrum.
The comparison between the default value and  threshold threshold value  is only taking place between the first character of the whole string.
e.g. if the default value for the attribute, is "74562"  and threshold value is "1256827027", then only 7 and 1 are being compared, resulting in default value to be greater .
 
Resolution:
The comparison algorithm has been changed to resolve this.  This new code will be added to 10.3, which will be scheduled to be release in 3rd quarter of 2018 (as of the publication date of this issue (23rd of June, 2018)).