DX Infrastructure Manager

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 11-07-2019 09:48 AM
      |   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 11-07-2019 09:31 AM
    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 11-07-2019 09:38 AM
    It's there and just downloaded it to verify.

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



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

    Posted 11-07-2019 09:48 AM
      |   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 11-07-2019 10:16 AM
    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 11-08-2019 12:24 PM
    Edited by Olaf Pape 11-08-2019 01:15 PM
    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 11-09-2019 08:06 AM
    Hi Olaf, sounds interesting, you can always mail that to me. Thanks, Luc (luc.christiaens10@telenet.be)


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

    Posted 12-13-2019 11:21 AM
    Hi Luc,

    Where can i find your attachment? I want to download it and prepare for my new projects next years.

    the planning is to move all the robot from multiple hub to temp shared hub. after original hub is ready need to move all the previous robot from temp shared hub to new dedicated hub.



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

    Posted 12-13-2019 11:52 AM
    It's posted above in this thread.


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