1 Reply Latest reply: Oct 11, 2010 1:06 PM by RSS

    [JIRA] Resolved: (HHQ-4374) Add alertdefinition create command

        • 1. [JIRA] Resolved: (HHQ-4374) Add alertdefinition create command

               [ http://jira.hyperic.com/browse/HHQ-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

          Ryan Morgan resolved HHQ-4374.

              Resolution: Fixed

          Added in HQApi 3.3 and 4.0.

          > Add alertdefinition create command
          > ----------------------------------
          >                 Key: HHQ-4374
          >                 URL: http://jira.hyperic.com/browse/HHQ-4374
          >             Project: Hyperic HQ
          >          Issue Type: New Feature
          >          Components: HQApi
          >    Affects Versions: 4.4
          >            Reporter: Ryan Morgan
          >            Assignee: Ryan Morgan
          > Currently we only support the creation of alerts via the CLI using 'alertdefinition sync'.  This can be tedious if a user wants to create new alert definitions based on some template.
          > This RFE is to add a create command to alertdefinition.  It will act as follows:
          > 1. Both --prototype and --templateDefinition is required.  These specify the resource type to operate on and the alert definition to use a template when creating the new definitions.
          > 2. One of --group or --regex is also required.  These flags will determine which resources of the given prototype are given the new alert definition.
          > For --group, all resources in the group having the given prototype will inherit the template definition.  This works on both compatible and mixed groups.
          > For --regex all resources of the given prototype having a name matching the given regular expression will inherit the the template definition.

          This message is automatically generated by JIRA.
          If you think it was sent incorrectly contact one of the administrators: http://jira.hyperic.com/secure/Administrators.jspa
          For more information on JIRA, see: http://www.atlassian.com/software/jira