jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Configure alert remediation actions

On this page

Configure alert remediation actions

Run commands to perform alert remediation on remote Linux and Windows CIs.

Before you begin

Install the following plugins:

  • IntegrationHub Enterprise spokes plugin

  • ServiceNow IntegrationHub Action Step - PowerShell

  • ServiceNow IntegrationHub Action Step - SSH

For Linux: Ensure that the remote Linux host is reachable using the MID Server IP address that runs action scripts.

For Windows:

  • Ensure that Powershell v3.0 - 5.0 are supported and installed on the Windows target server.

  • Enable Powershell remoting on the remote Windows target server.

  • Ensure that the remote Windows target server is reachable using the FQDN from the MID Server that runs action scripts.

Add credentials to the credential aliases that come with the base system:

  • linuxAdmin

  • windowsAdmin

Role required: evt_mgmt_admin or flow_designer

About this task

To automate alert responses with an easier interface, you can also create a respond automation in Service Operations Workspace. For more information, see Create Respond automation.

Procedure

  1. Access remediation actions in one of the following ways:

  2. Configure additional input in the alert's Additional Information field, using this format:

    {"remediation_action_resource":"<mandatory input>"}

    The mandatory input per action is described in the following table.

    Action name Mandatory input in Additional information field Stop Windows Process Process ID Restart Linux Service Service Name Kill Linux Process Process ID Get Windows Processes N/A Stop Windows Service Service Display Name Restart Windows Service Service Display Name Get Windows Services N/A Stop Linux Service Service Name Start Windows Service Service Display Name Suspend Windows Service Service Display Name Get Linux Services N/A Run Linux Top for Memory N/A Show Disk Space Used N/A Run Linux Top N/A Start Linux Service Service Name Show Disk Space Used N/A

Result

After executing an alert action, the results are noted in the Work Notes field of the alert.

Parent Topic:Alert management rules for resolving alerts

Related topics

Troubleshooting WMI/Powershell issues on the remote machine

WMI, PowerShell, and Windows Firewalls

MID Server: troubleshooting WMI/Powershell issues - Credentials

How to Enable/Test PowerShell Remoting on Windows Host

Keep exploring.

Find another answer, or bring this documentation into your own tools.