Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Enterprise Version 3.1 User's Guide

Execute remote commands and scripts

When you get an SNMP trap, you can run a script on OpenManage Enterprise to set up a policy that opens a ticket on your third party ticketing system for alert management. You can create and store only four remote commands for running immediately or at a later time.

  1. Click Application Settings > Script Execution.
  2. Enter the following in the Remote Command Setting dialog box:
    1. Script name created in the remote host.
    2. IP address of the remote host server that runs the command.
    3. To log in to the remote host server:
      • Enter the user name.
      • Enter the password or a SSH key. Provide a private key for the remote script execution. To generate a private key, run the following command in the remote host:ssh -keygen -t rsa. The private key is stored in the default folder—cd /root/ .ssh/.
    4. Command that must be run on the remote host server to open a ticket. Example command: ./RCE.sh $IP $MODEL $DATE $ASSETTAG $SERVICETAG
  3. Click Save.
    The command is saved. You can set and run these commands also while setting your alert policies. See Creating alert policies.

    NOTE:

    • You can run only one executable or script at a time.
    • The executable or script can be saved on a server that is not necessarily discovered or managed by OpenManage Enterprise—not necessarily discovered by OpenManage Enterprise.
    • Script can have a maximum of 1024 characters.
    • OpenManage Enterprise supports token substitution that may be helpful to the script or ticketing system. Supported tokens: $IP, $MSG, $HOSTNAME, $SEVERITY, $SERVICETAG, $RESOLUTION, $CATEGORY, $ASSETTAG, $DATE, $TIME, and $MODEL.
    • If an invalid token type is entered, the output appears blank.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\