DX NetOps

 View Only
  • 1.  Create watcher for F5 devices

    Posted May 25, 2020 07:11 AM
    Hi everyone,

    our customer asked for new Spectrum alarm for F5 devices when Spectrum gets "changes pending" or "sync failed"  into this OID 1.3.6.1.4.1.3375.2.1.14.1.4

    we got one device as example into MIB tools and we did a MIB query


    we want to create a watch rule for this attribute 0xff002de and when value are "changes pending" or "sync failed" spectrum creates a new alarm







    how can do it? 


    BR






  • 2.  RE: Create watcher for F5 devices

    Broadcom Employee
    Posted May 25, 2020 01:09 PM
    Why don't you monitor the value of sysCmSyncStatusId? You could generate an alarm when the value is different from 3.

    sysCmSyncStatusId OBJECT-TYPE sysCmSyncStatusId OBJECT-TYPE 
    SYNTAX INTEGER {
    unknown(0),
    syncing(1),
    needManualSync(2),
    inSync(3),
    syncFailed(4),
    syncDisconnected(5),
    standalone(6),
    awaitingInitialSync(7),
    incompatibleVersion(8),
    partialSync(9)
    }
    MAX-ACCESS read-only
    STATUS current
    DESCRIPTION
    "The sync status ID on the system. unknown - the device is disconnected from the device group; syncing - the device is joining the device group or has requested changes from device group or inconsistent with the group; needManualSync - changes have been made on the device not syncd to the device group; inSync - the device is consistent with the device group; syncFailed - the device is inconsistent with the device group, requires user intervention; syncDisconnected - the device is not connected to any peers;  standalone - the device is in a standalone configuration; awaitingInitialSync - the device is waiting for initial sync; incompatibleVersion - the device's version is incompatible with rest of the devices in the device group; partialSync - some but not all devices successfully received the last sync."
    ::= { sysCmSyncStatus 1 }


    ------------------------------
    Technical Support Engineer IV
    Broadcom Inc
    ------------------------------



  • 3.  RE: Create watcher for F5 devices

    Posted May 26, 2020 10:13 AM
    Thanks for suggestions Silvio,

    I tried to make this watcher but I think that it is not OK 



    Could you help me? Thanks in advance ;)




  • 4.  RE: Create watcher for F5 devices

    Broadcom Employee
    Posted May 26, 2020 01:29 PM
    Edited by Silvio Okamoto May 26, 2020 01:48 PM
    First I mapped the sysCmSyncStatusId to a custom attribute ID.

    Then I created the watch. This is just an example, you can do on your own. You may want to monitor different values.

    Activate the selected watch.

    Watch is being activated.

    Watch is violated and a Minor alarm is generated.

    This is the generated alarm.

    Here is the event message:

    Here is the current value of sysCmSyncStatusId attribute.




    ------------------------------
    Technical Support Engineer IV
    Broadcom Inc
    ------------------------------



  • 5.  RE: Create watcher for F5 devices

    Broadcom Employee
    Posted May 28, 2020 09:10 AM
    Edited by Silvio Okamoto May 28, 2020 09:14 AM
    If you are getting this: SPC-WCH-20072: This is a user defined error

    Try the following this KB article:
    https://knowledge.broadcom.com/external/article?articleId=49738

    ------------------------------
    Technical Support Engineer IV
    Broadcom Inc
    ------------------------------



  • 6.  RE: Create watcher for F5 devices

    Posted May 28, 2020 10:06 AM
    Thanks a lot for suggestion but it is not working right on my environment

    I tried to do this


    And I tried to do this too


    It is couple of attributes that we have into our Spectrum



    Thanks in advance for your help Silvio!





  • 7.  RE: Create watcher for F5 devices
    Best Answer

    Broadcom Employee
    Posted May 28, 2020 11:40 AM
    Try removing the .# characters.

    Example: ATTR(0xfff002e0)


    Also change the Comparison rule to: != -  different)


    ------------------------------
    Technical Support Engineer IV
    Broadcom Inc
    ------------------------------



  • 8.  RE: Create watcher for F5 devices

    Posted May 29, 2020 04:31 AM
    Hi Silvio,

    thanks so much for your suggestions, we could create watcher for our F5



    I´d like to inform you that we migrate Spectrum from 10.2 to 10.4.1 version and we detected that Spectrum loaded old legacy database and may be for this reason we got duplicate events. 

    Thanks again for your help.

    BR