Create a check definition and link it to the Agent Client Collector (ACC) plugin to enable the ACC agent to run a custom remedial action.
Procedure
-
Navigate to .
-
Select New.
-
On the form, enter a name for the check definition in the Name field.
For example, custom-script-check.
-
Select the check type to define how the output is processed after running the check definition.
-
In the Check type field, select the Lookup using list icon
to navigate to the Check Types page.
-
Select the check type from the list.
-
In the Command field, enter the name of the .rb script included in the ACC plugin package.
For example,
custom-script.rb.
-
From the When to send the check results drop-down list, select when to send check results.
-
In the Plugins field, integrate the plugins in the ACC plugin package with the check definition.
-
Select the Unlock plugins icon
.
-
In the Select target record field, select the Lookup using list icon
and select the plugin or type the plugin names.
For example, acc-f-commons and acc-dex-custom.
-
Select the Lock Plugins icon
.
-
On the form, fill in the remaining fields.
-
Select Submit.