1. Home
  2. User Guide
  3. Custom Actions

Custom Actions

Note: This feature is available from AimBetter Agent version 3.4.8.0 and later. Learn how to update the AimBetter Agent.

AimBetter’s Custom Actions feature enables users to remotely execute predefined files directly from the AimBetter web application on one or more monitored servers. This capability enhances automation, streamlines maintenance tasks, and provides administrators with powerful control tools across different environments.

Supported File Types by Platform

Custom Actions support different file types depending on the platform of the target server.

Windows

  • .exe (Executable application file)
  • .ps (PowerShell script)
  • .vb (VBScript file)

Linux

  • .txt (any script saved as a .txt file)

SQL Server

  • .sql (SQL script)

Oracle

  • .sql (SQL script)

Configuration

A new Custom Actions section is available in the AimBetter Configuration. Administrators can add actions that will be available for remote execution from the AimBetter UI.

Action Attributes

Each custom action includes the following fields:

  • Type
    Select the target platform: Windows, Linux, SQL Server, or Oracle.
  • File
    The full path of the file to be executed. A file browser restricts selection to supported file types based on the chosen platform.
  • Display Name
    Defaults to the file name, but can be customized by the user.
  • Servers
    Specifies the servers on which the action will appear and be available to run.
  • Status
    Each action can be marked as Active or Not Active, controlling its availability.

Note: The actions run under the users configured in the AimBetter Agent.


Custom Actions in the AimBetter Web Application

Users can run configured actions directly from the Servers Tree within the AimBetter UI.

Scope Behavior

  • Package Level
    Packages may contain servers monitored by different agents. The actions list shown depends on the associated agent.
  • Host Level
    The custom actions list applies to both OS and SQL.
  • SQL Level
    Only SQL-specific custom actions are shown.

Action Execution Flow

The execution flow is consistent with other AimBetter responsive actions.

  1. Click on the desired custom action
    A confirmation pop-up appears:“You’re about to [action]. To confirm this action, please enter the code sent to [email].”
  2. Enter OTP Code
    After submitting the confirmation, an OTP code is required.
  3. Execution Status
    The system displays a Success or Failure message based on the action outcome.
  4. Latest Actions Log
    The action result, including timestamp and status, is shown in the LATEST ACTIONS window.

The Custom Actions feature provides a powerful and flexible way to execute scripts and programs across your monitored infrastructure. With controlled access, multi-platform support, and full execution tracking, administrators gain enhanced operational efficiency and improved automation capabilities.

Was this article helpful?