DX Infrastructure Management

Expand all | Collapse all

Tool: select anything, generate everything (nimsoft_generate_pu)

Jump to Best Answer
  • 1.  Tool: select anything, generate everything (nimsoft_generate_pu)

    Posted 09-12-2019 04:52 AM
    Edited by Luc Christiaens 7 days ago
      |   view attached
    In attachment a Perl tool that was written to make it possible to:
    - select almost every robot/host/device with flexible regex selection parameters
    - generate any command (with the use of variables)

    Examples:
    - deploy the logmon probe 4.11 on all robots that have an older version installed
    - deploy the logmon probe 4.11 on all robots that have an older version installed on all robots with origin xxx
    - deploy the logmon probe 4.11 on all robots that have an older version installed on all robots under hub aaa
    - generate probe_config_set to set proxy_mode=1 on all robots under hub aaa
    - update all robots version to x.xx via distsrv and start distribution only at 10:10 and keep 5 minutes between each update and only 10 robot at the same moment
    - list all robots that don't have the cdm probe installed
    - generate probe_config_set to update user_tag1 on all robots with xxx in the robot name and have probe sqlserver installed

    nimsoft_generate_pu parameters


    Doc, perl source and compiled version is included in attachment.
    Questions, remarks and enhancements/ideas are welcome

    See later post to find version 1.6.2 (support TLS 1.2)

    Attachment(s)

    zip
    nimsoft_generate_pu_2.6.zip   7.77MB 1 version


  • 2.  RE: Tool: select anything, generate everything (nimsoft_generate_pu)
    Best Answer

    Posted 09-12-2019 06:35 AM
      |   view attached
    Updated zip file, because the original compiled version missed an include. (all the rest isn't modified)

    Attachment(s)

    zip
    nimsoft_generate_pu_2.6.1.zip   10.60MB 1 version


  • 3.  RE: Tool: select anything, generate everything (nimsoft_generate_pu)

    Posted 7 days ago
    Hi Luc,

    I am not able to see the attachment, could you please upload again.


    Thanks
    Hitesh Sehgal


  • 4.  RE: Tool: select anything, generate everything (nimsoft_generate_pu)

    Posted 7 days ago
    It's there and just downloaded it to verify.

    ------------------------------
    Support Engineer
    Broadcom
    ------------------------------



  • 5.  RE: Tool: select anything, generate everything (nimsoft_generate_pu)

    Posted 7 days ago
      |   view attached
    Version 1.6.2 has a new parameter in nimsoft_generic.dat: sql_driver to support using a new ODBC driver compatible with TLS 1.2

    Attachment(s)

    zip
    nimsoft_generate_pu_2.6.2.zip   10.61MB 1 version


  • 6.  RE: Tool: select anything, generate everything (nimsoft_generate_pu)

    Posted 7 days ago
    I can see and download the attachment now, thank @Luc Christiaens and @David Michel

    ​​


  • 7.  RE: Tool: select anything, generate everything (nimsoft_generate_pu)

    Posted 6 days ago
    Edited by Olaf Pape 6 days ago
    Hi Luc,

    your tool looks very nice. I will give him a try during my next project.

    Are you interessted in a Perl snippet to fetch connection string from data_engine by callback and to decrypt it?
    I have a version that works up to version 8.5.1 and one that works from version 9 and newer.



    Original Message:
    Sent: 11-07-2019 09:47 AM
    From: Luc Christiaens
    Subject: Tool: select anything, generate everything (nimsoft_generate_pu)

    Version 1.6.2 has a new parameter in nimsoft_generic.dat: sql_driver to support using a new ODBC driver compatible with TLS 1.2
    Original Message:
    Sent: 11-07-2019 09:37 AM
    From: David MICHEL
    Subject: Tool: select anything, generate everything (nimsoft_generate_pu)

    It's there and just downloaded it to verify.

    ------------------------------
    Support Engineer
    Broadcom

    Original Message:
    Sent: 11-07-2019 09:31 AM
    From: hitesh sehgal
    Subject: Tool: select anything, generate everything (nimsoft_generate_pu)

    Hi Luc,

    I am not able to see the attachment, could you please upload again.


    Thanks
    Hitesh Sehgal
    Original Message:
    Sent: 09-12-2019 06:35 AM
    From: Luc Christiaens
    Subject: Tool: select anything, generate everything (nimsoft_generate_pu)

    Updated zip file, because the original compiled version missed an include. (all the rest isn't modified)
    Original Message:
    Sent: 09-12-2019 04:51 AM
    From: Luc Christiaens
    Subject: Tool: select anything, generate everything (nimsoft_generate_pu)

    In attachment a Perl tool that was written to make it possible to:
    - select almost every robot/host/device with flexible regex selection parameters
    - generate any command (with the use of variables)

    Examples:
    - deploy the logmon probe 4.11 on all robots that have an older version installed
    - deploy the logmon probe 4.11 on all robots that have an older version installed on all robots with origin xxx
    - deploy the logmon probe 4.11 on all robots that have an older version installed on all robots under hub aaa
    - generate probe_config_set to set proxy_mode=1 on all robots under hub aaa
    - update all robots version to x.xx via distsrv and start distribution only at 10:10 and keep 5 minutes between each update and only 10 robot at the same moment
    - list all robots that don't have the cdm probe installed
    - generate probe_config_set to update user_tag1 on all robots with xxx in the robot name and have probe sqlserver installed

    nimsoft_generate_pu parameters


    Doc, perl source and compiled version is included in attachment.
    Questions, remarks and enhancements/ideas are welcome

    #nimsoft_generate_pu #tool #generate #uim #perl #command generation ​​​​​​


  • 8.  RE: Tool: select anything, generate everything (nimsoft_generate_pu)

    Posted 5 days ago
    Hi Olaf, sounds interesting, you can always mail that to me. Thanks, Luc (luc.christiaens10@telenet.be)