Support Migration Notice: To update migrated JIRA cases click here to open a new case use | vFabric Hyperic 5.7.0 is Now Available


Add alertdefinition create command


  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Case Links:


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.


Ryan Morgan added a comment -

Added in HQApi 3.3 and 4.0.

Ryan Morgan added a comment - Added in HQApi 3.3 and 4.0.


Vote (0)
Watch (0)


  • Created:
    Last comment:
    5 years, 8 weeks ago