DX NetOps

 View Only

  • 1.  DX NETOPS Spectrum, Creating a watch with the ifInErrors attribute.

    Posted Jun 04, 2025 07:54 PM
    Good day, Team
     
    I'm creating a watch where I take the IfInError/OutInError attribute to monitor an interface and create a threshold based on the packet number we have registered. In this case, it will alarm when there are more than 10 packets. However, when I send the IfInError attribute to the watch, I get the error "SPC-WCH-20072: This is a user-defined error." I add the data type as it comes from the Caunter source. I've also tried Integer, Real, and Delta, adding an instance or not, appending the # for all instances, but I still have the same problem. Do you think the IfInError/OutError attributes have a problem for Spectrum to read them in the Watch?
     
    I'm running the watch directly in the interface, however, I've also tried it from the device, but I still get the same error.
     
    I look forward to your comments.
    Regards
    ThresholdsIfoutError1
    ThresholdsIfErrinor1
    Error3
    Error4
    Error5
    Error6


  • 2.  RE: DX NETOPS Spectrum, Creating a watch with the ifInErrors attribute.

    Broadcom Employee
    Posted Jun 05, 2025 12:47 PM

    Hi Eduardo,

    you should set this watch on the interface itself and you don't need to specify the index. Let's suppose we' would like to watch IfInErrors (attr. 0x11319) for any given interface:

    Adding a watch:

    And setting the threshold:

    Please be aware that adding watches might have impact on performance.

    Hope this helps.



    ------------------------------
    David Collantes
    AOD Solution Engineering | Broadcom Software
    ------------------------------



  • 3.  RE: DX NETOPS Spectrum, Creating a watch with the ifInErrors attribute.

    Posted Jun 05, 2025 04:18 PM

    David

    Thank you for your attention.

    Based on the information you shared with me, I followed your recommendation, adding a Counter-type watch to the interface, adding the attribute and threshold mentioned above. However, I still get the same error. I've worked with watches in the past, and this error hasn't occurred. I don't know if the attribute isn't compatible with the watch. What could be the reason?

    Thank you for your support. Best regards.

    Answer error1
    Answer error2



  • 4.  RE: DX NETOPS Spectrum, Creating a watch with the ifInErrors attribute.

    Broadcom Employee
    Posted Jun 06, 2025 05:27 AM

    Hi Eduardo,

    checked again your screenshots and I noticed two attributes with the same name (IfInErrors), first one is counter type, and the other one is a table of counters. Please try to specify attribute id instead of name in Expression tab:

    ATTR(0x11319)

    Let's see if this works.



    ------------------------------
    David Collantes
    AOD Solution Engineering | Broadcom Software
    ------------------------------



  • 5.  RE: DX NETOPS Spectrum, Creating a watch with the ifInErrors attribute.

    Posted Jun 06, 2025 04:26 PM

    Hi David.

    Thanks for your response. The suggestion to attach directly with ATTR and the attribute worked. It takes a while for the watch to save, but it does. I also modified the thresholds to generate an alarm, which worked, and reset it. Thank you for your valuable support.

    Regards.

    Error solucionado1
    Error solucionado2



  • 6.  RE: DX NETOPS Spectrum, Creating a watch with the ifInErrors attribute.

    Posted Jun 19, 2025 02:40 AM

    Hi Eduardo,

    since the data type for that attribute is counter, you might want to consider using a delta or delta_counter function.

    regards,
    Raphael