Setting an Alert to Run a Script

Setting an Alert to Run a Script

Use the Run Script alert action to automate reactions to alerts. You define whether the script is run on the device that triggered the alert or on Onsite Manager, if one exists.

For example, you could use theย Run on Deviceย option and start a defragmentation job when a drive is discovered to be more than 20% fragmented.

For example, you could use theย Run on Onsite Managerย option and issue a Wake-On-LAN command for a device that has triggered a Device Down alert.

  1. Locate the name of the monitor you want to configure. Seeย Locatingย Monitors.

  2. Click theย Alertsย tab.

  3. Click the name of the alert.

  4. Select theย Run Scriptย check box.

  5. Optionally, from theย Scriptย Categoryย list, select a category or type a category.
    The category you select filters theย Scriptย list. As you type, Barracuda RMM performs a search.

  6. From theย Scriptย list, select a script or type the name of the script that you want to run in response to the alert.
    As you type, Barracuda RMM performs a search.

  7. If the script requires parameters, fill these out as necessary.

  8. Do one of the following:
    Run on Deviceย Runs the script on the device that generated the alert.
    Run on Onsite Managerย Runs the script on Onsite Manager. When this option is selected for a Device Manager-only site, the script runs on the device.

  9. Clickย Save.


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.