Container Actions

This action can be used to start/stop/restart a Container of Docker in the event of an alarm. To create a Container action, follow the steps given below:

  1. Select the Container option from the Actions menu.

  2. Enter the Display Name of the action.

  3. Choose the Action Type to be performed in the event of an alarm. You can choose either Start ContainerStop Container or Restart Container options.

  4. Use the Select Target Container option to associate the action to a Container. There are three ways of selecting the target Container(s).

    1. All Containers in the selected monitor group: This triggers the action for all the Containers present in the selected monitor group.

    2. All Containers in the selected Docker: This triggers the action for all the Containers present in the selected Docker.

    3. Specific Container: This triggers the action for the selected Container alone.

     

  5. Specify the Maximum time for action execution in seconds. This is the time limit within which the action has to be executed or else the action will be cancelled.

  6. You can use the Notify after action executes option to receive an email notification once the action is successfully executed. You can either select an existing email address or define new email addresses using the New Action option.

  7. Click the Create Action button to finish creating the Container action.

After creating the Container action, you can test its execution by clicking the Execute icon execute action of that action.