A Boolean Watch configured with counter attributes fails to trigger an alarm when the expression evaluates to TRUE, but may incorrectly trigger when set to FALSE․
Original Expression: ((udpInErrors / udpInDatagrams) >= 0․010000)
CA Spectrum (All Releases)
You must cast integer counter attributes to real numbers to ensure accurate division and threshold evaluation․
Revised Expression: ((REAL(udpInErrors) / REAL(udpInDatagrams)) >= 0․010000)
EXPECTED: The Watch correctly evaluates the ratio and triggers an alarm when the TRUE condition is met․
PREVENTION: Always use the REAL() function when performing division or calculations involving fractions with Counter or Integer attributes in Spectrum Watches․
RELATED RESOURCES:
OID: 1․3․6․1․2․1․7․1 (udpInErrors)
OID: 1․3․6․1․2․1․7․3 (udpInDatagrams)
KNOWN LIMITATIONS:
Counter attributes may experience integer overflow or polling lag, which can affect calculation accuracy if not properly handled via the REAL function․