Adding a Workflow

To add a workflow, follow the steps given below:

  1. Click on Workflow tab and select New Workflow.
  2. Drag and drop the required conditions and actions from the left panel to editor panel.
    drag-worklow
    1. Enter a Name for the condition and actions.
    2. To edit or delete a condition or action, click on it and select edit or delete icon.
      edit-condition
  3. Click Next.
  4. Enter a Name, Description, and Tags for the workflow.
  5. Associate the workflow to the devices.
    1. Click on 'Click here to specify devices' link corresponding to Devices tab.
    2. Select the devices in Available Devices column and move to Selected devices column. Use the search box to search the devices.
    3. Click Update button to associate the workflow to the devices.
  6. Schedule the workflow execution. This is not required if you want this workflow to be triggered when an alarm is raised (point 7).
    1. Click on 'Click here to specify workflow schedule' link corresponding to Schedule tab.
    2. Configure the date and time.
    3. Click Update button to save the schedule.
  7. Configure the alarm trigger to trigger a workflow when an alarm is raised. This is not required if you want to schedule this workflow for periodical execution (point 6).
    1. Click on 'Click here to specify alarm trigger' link corresponding to Alarm Trigger tab.
    2. Select the required criteria. Executes this workflow on the associated devices, if any of the criteria is satisfied.
    3. Define the time.
    4. Select either Apply this profile all time or Apply this profile during the below mentioned time window. Selecting the latter keeps the Workflow active only during the specified days and hours.
    5. Click Update button.
  8. Click Save & Finish.
The workflow has been successfully added. It will be executed on the associated devices at the scheduled time or when any of the criteria selected is satisfied. You can check the output of the workflow in the Workflow Logs.

Sample Workflow
Following is a sample workflow which helps gets executed automatically when a device down alarm is raised. This workflow sends ping request, if passed does DNS Lookup and adds the output as notes to the alarm.
sample workflow

Workflow Execution Logs for the sample workflow:
workflow-logs

Editing a Workflow
To edit a workflow, follow the steps given below:
  1. Click on Workflow tab.
  2. Mouseover the workflow you want to edit and click on Edit link.
    edit workflow
  3. The workflow edit panel opens. Perform the changes you want to do and click Next.
  4. Modify the name, description, tags, associated devices, schedule, and alarm trigger options if required.
  5. Click Save & Finish.
Deleting a Workflow
To delete a workflow, follow the steps given below:
  1. Click on Workflow tab.
  2. Mouseover the workflow you want to edit and click on Delete link.
  3. Click OK to confirm deletion.
Copying a Workflow
You can save a copy of the workflow for easy modification. To copy a workflow, follow the steps given below:
  1. Click on Workflow tab.
  2. Mouseover the workflow you want to edit and click on Copy As link.
  3. Edit the workflow as per your requirements.
  4. Click Save & Finish.

Copyright © 2012, ZOHO Corp. All Rights Reserved.
Network Monitoring Software from ManageEngine