DX NetOps

  • 1.  Search pattern in all hosts configuration

    Posted Jan 17, 2018 07:25 AM

    I can to read that hosts configuration are stored in SSdb like a model.  I need search a pattern in all hosts. Is possible to search a pattern in all hosts configuration?  like a grep



  • 2.  Re: Search pattern in all hosts configuration
    Best Answer

    Broadcom Employee
    Posted Feb 05, 2018 05:15 AM

    Hi Oliver,


    Take a look at block policies and multi line block policies.

     

    Multi-line Block Policy Example - CA Spectrum - 10.2 to 10.2.2 - CA Technologies Documentation 

     

     

    best regards,

    Glenn



  • 3.  Re: Search pattern in all hosts configuration

    Posted Feb 13, 2018 04:45 PM

    If you can't come up with an NCM policy that captures what you are looking for, try exporting the configurations (Configuration Manager -> Info -> Export Configurations).  That will save all of the configurations as text files on local disk, and then you can use grep or other command line tools to search the configurations.