DX NetOps

 View Only
  • 1.  need help with - child_count attribute

    Posted Feb 28, 2021 04:06 AM
    hi everyone,
    i'm trying to make a watch on Containers, to know if the child_count attribute and the lost_child_count attribute are on some thershold.
    i want to edit this attributes to :
    1. count recursively in their containers (for example if a container has 2 other containers with 10 devices each, today the child_count give me '2' but i want it will give '20')
    2. count only switches\routers\firewalls (today the child_count counts everything (rpt_segment and more) that we don't need)

    please help us on doing it, i couldn't find any idea on how to do it.


  • 2.  RE: need help with - child_count attribute

    Posted Mar 01, 2021 01:56 AM
    That's not a good idea, this type of recursively monitoring. It should induce significant load on the system. It would be similar to a RealTime Update GC, only that the number is far greater than just one. 

    What would be the usage for such a monitoring scenario?

    ------------------------------
    Senior Consultant
    SolvIT Networks
    ------------------------------



  • 3.  RE: need help with - child_count attribute

    Posted Mar 02, 2021 02:16 AM
    hi thanks for the reply.
    we want to monitor each container separately and check a senario when a 'site is down' - if at least 60% of containers devices (router switch fw) are "down" so the site is "down"
    problem is for example that a containers has 2 other  containers = 2 childs.
    and this 2 containers has 10 switches each = 10 childs each.
    i can't really make a watch on the "parent" container .


  • 4.  RE: need help with - child_count attribute

    Broadcom Employee
    Posted Mar 02, 2021 07:22 AM
    Magen,

    The first thing that came to mind for me was to create a service. Add all of the router, switch and FW models as a resource to the services and set it up so if 60% of them are down, the service is down.

    Joe


  • 5.  RE: need help with - child_count attribute

    Posted Mar 03, 2021 02:51 AM
    hi, what do you mean by service?
    is there any documentation about it?
    we want to do it for our "sites" aka containers under Universe


  • 6.  RE: need help with - child_count attribute

    Posted Mar 03, 2021 02:58 AM
    Read here more about Service Manager.

    ------------------------------
    Senior Consultant
    SolvIT Networks
    ------------------------------



  • 7.  RE: need help with - child_count attribute

    Posted Mar 03, 2021 02:11 AM
    Hi Magen,

    we have implemented a similar requirement with the BbSrvContainer model. The BbSrvContainer has the properties for Child Counts, Initial Child Counts, Lost/Unkown and Childs and Child Outage in Percent.

    You can set Yellow, Orange and Red Thresholds and generate corresponding alarms.

    Note that the BbSrvContainer can only contain certain model types. Pingable works :-)
    Maybe you can work around the restriction using customization.

    More details can be found here: techdocs.broadcom.com


    Damir