Terminate Process
=================

You can configure the agent to automatically terminate a process when it is
detected as running.

Add Agent Action to a Policy
----------------------------

#. Go to **Policy** in the top panel.
#. Go to **Node Policy** in the left Policy panel.
#. Click the **Default Policy** in Node Policy window.
#. Find **Agent Action**. Click **Assign.**
#. Find **Terminate Process** in the **Available** section.
   Select and drag it into the **Selected** section.
#. Click **Add.**
#. Click **Update.**

Configure Plugin
----------------

#. Go to **Policy** in the top panel.
#. Go to **Policy > Node Policy** in the left Policy panel.
#. Find and click **Terminate Process** in the Agent Action window.

Under **Conditions** section:

#. Click **Add**, add message to be displayed in accordance with the Policy.
#. For **Criteria** select **Process**, then configure the **Operator**,
   **Value**, and **Description**.

Under **Settings**:

#. Select **On**.
#. For **Settings**, click **Add** and select your optional conditions.
   **Criteria/Operator/Value**

Under **Execution Interval**:

#. Adjust Periodic Interval.(Seconds - Months)
#. Click **Update**