Skip navigation
Currently Being Moderated

10.3 Defining User Commands for a Single Device

VERSION 4  Click to view document history
Created on: Oct 11, 2011 5:00 PM by Zenoss API - Last Modified:  Oct 11, 2011 5:17 PM by Zenoss API

 3. Defining User Commands for a Single Device

To define a user command for a device:

  1. Select Infrastructure from the Navigation menu.

    The Devices page appears.

  2. Select a device from the list.

  3. In the left panel, select Administration.

  4. In the Define Commands area, select Add User Command from (Action menu).

    The Add User Command dialog appears.

  5. Enter a name for the command, and then click OK.

    The Define Commands page appears.


    Figure 10.2. Define User Command

    Define User Command

  6. In the Description field, enter a description of what the command will do.

  7. In the Command section, enter the TALES expression-based command you want to run.

  8. Enter your system account password for confirmation, and then click Save.

    The command is saved and added to the commands menu.

  9. Optionally test the command by running it.

 3.1. Running User Commands for a Single Device

To run a command defined for a single device:

  1. Click the device name in the device list.

    The device summary page appears.

  2. Select the command from the Commands list of options located at the bottom of the page.

Comments (0)