DX Unified Infrastructure Management

 View Only
  • 1.  Run commands or script on remote robot server based on alarm

    Posted Sep 13, 2020 11:44 PM
    Hi,

    I am looking for a solution where a disk full kind of alert from a remote server can be taken care by deleting a few files or by running a command/set of commands on the remote server.

    I did go through the forum before posting this, bud didn't find any match for my problem.

    Kindly let me know how to achieve. Documentation for command under nas section talks about executing command "locally".

    I shall really appreciate if you could let me know who to achieve "executing command on remote server based on an alarm".

    Thanks & Regards,
    Ashok


  • 2.  RE: Run commands or script on remote robot server based on alarm

    Broadcom Employee
    Posted Sep 13, 2020 11:56 PM
    Hi Ashok,

    Can explore the nexec probe 

    https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/alphabetical-probe-articles/nexec-command-execution.html

    https://knowledge.broadcom.com/external/article?articleId=192480

    https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=769105


  • 3.  RE: Run commands or script on remote robot server based on alarm

    Posted Sep 14, 2020 12:27 AM
    Hi Franklin,

    Thank you for the prompt response.
    Looks like nexec + a lua script is required here. I will try this, and also the link below that I just found seems relevant.
    https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=741091

    Best Regards,
    Ashok


  • 4.  RE: Run commands or script on remote robot server based on alarm
    Best Answer

    Posted Sep 14, 2020 06:34 AM
    You can use the following sample command:
    pu /domain/hub/robot_name/nexec run_profile nimsoft_nexec_profile_name
    (when running under nas no user/password is needed)