DX NetOps

 View Only
Expand all | Collapse all

SpectroWATCH: Need to compare previous value to current and alarm if previous value is greater

  • 1.  SpectroWATCH: Need to compare previous value to current and alarm if previous value is greater

    Posted Oct 14, 2020 09:39 AM
    Edited by Karen Brooks Oct 14, 2020 09:50 AM

    All,

    I'm not sure is this is possible solely within SpectroWATCH (10.4.2). Below in a nutshell

    I have an OID (Integer data type) I need to query. I've added that as an attribute.

    1. get and store value of OID as a previous value
    2. get current value of same OID
    3. Compare - if previous value is > than current value, generate an alarm.
    4. If current value is > than previous, clear the alarm.

    I've tried with two and three watches to accomplish this.

    The issue I'm running into is that I cannot set a proper threshold.  I can set the threshold where previous is greater than current, however the reset is perhaps what's problematic.  I'm not sure since I get a user syntax error and cannot save.

    I did see an older tip on using an Event Procedure for a similar requirement, but hoping I won't need to do this.

    Any and all ideas are welcome.





    ------------------------------
    Principle Services Consultant
    HCL Technologies
    ------------------------------


  • 2.  RE: SpectroWATCH: Need to compare previous value to current and alarm if previous value is greater

    Posted Oct 14, 2020 09:57 AM
    There are 3 watches at this point:

    W1: Contains the previous value in expression:  DELTA(cEigrpNbrCount.#)
            Evaluate by Poll
            No Threshold

    W2:  Contains current value in expression:  cEigrpNbrCount.#
             Evaluate by Poll
             No Threshold

    W3: Contains W1 in expression:  PRU_Previous_cEigrpNbrCount.#
            Evaluate by Poll
            Threshold (See image in previous post) - NO Alarm configured to generate yet

    ------------------------------
    Principle Services Consultant
    HCL Technologies
    ------------------------------