Create a check definition for a custom remedial action
On this page
Create a check definition for a custom remedial action
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.
Before you begin
-
Upload the signed ACC plugin
tar.gzfile to the ServiceNow instance. For more information, see Create and edit Agent Client Collector plugins.
Role required: admin
Procedure
-
Navigate to All > Agent Client Collector > Configurations > Check Definitions.
-
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 [Omitted image "icon-magnifying-glass-blue.png"] Alt text: to navigate to the Check Types page.
-
Select the check type from the list.
-
-
In the Command field, enter the name of the
.rbscript included in the ACC plugin package.For example,
custom-script.rb.Note: For information about creating a check definition with input parameters, see Create a check definition.
-
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 [Omitted image "icon-visible-fields.png"] Alt text:.
-
In the Select target record field, select the Lookup using list icon [Omitted image "icon-magnifying-glass-blue.png"] Alt text: and select the plugin or type the plugin names.
For example, acc-f-commons and acc-dex-custom.
-
Select the Lock Plugins icon [Omitted image "icon-lock-visible-fields.png"] Alt text:.
-
-
On the form, fill in the remaining fields.
For a description of the field values, see Agent Client Collector check definition page.
-
Select Submit.
Parent Topic:Creating and executing a PowerShell script-based remedial action
Keep exploring.
Find another answer, or bring this documentation into your own tools.