Script Check

To monitor your Linux servers, you can add your own user defined script checks to the devices. When you add a script check to devices, you configure the parameter values you require.

Before you can add a user defined script check to a device, the script must be uploaded to the All Devices view. For instructions to upload a user defined script check, see Add a script to Script Manager.

You can suppress check alerts until the Check failures exceed a configured number of consecutive failures. For more information, see Configure alert thresholds to suppress alerts.

Check configuration

Add a script check to a device

  1. On the All Devices view North-pane, select the device where you want to add the check
  2. In the South-pane, go to the Checks tab
  3. Select Add Check and choose the check frequency you want to use — Add 24x7 Check or Add DSC Check

  4. Select Script Check
  5. Select the target script and click Next

    Only User Defined scripts are supported for the Linux Agent.

  6. Configure the parameters for the script

    To add the check to multiple devices at the same time, click Multiple Devices.

  7. To Run an Automated Task when a check fails, select Assign a Task after creating the Check
  8. Click Finish to save and apply
  9. If you selected Assign a Task after creating the Check:
    1. Select the Automated Task script and select Next to configure. The following example is for Windows Automated Tasks. Other task options display for Linux and macOS devices.

    2. Enter any required Command Line parameters or Script parameters and select Next.
    3. Set maximum permitted execution time for the script (optional).
    4. Select Finish to save and apply.

Edit

Script Check - Endpoint Detection & Response cannot be edited and can only be removed by uninstalling EDR from the device.

  1. On the All Devices view North-pane, select the device.
  2. Go to the Checks tab in the South-pane.
  3. Right-click the target Script Check and select Edit Check.
  4. Edit the script details and parameters.
  5. Select OK to save and apply.

Delete

  1. On the All Devices view North-pane, select the device.
  2. Go to the Checks tab in the South-pane.
  3. Right-click the target check and select Delete Check .
  4. Enter the password you used to sign into N-sight RMM to confirm removal.
  5. Select OK to delete.

We provide the mechanism to run your own scripts on your servers and workstations; however, we are not responsible for custom scripts made or used in conjunction with this product. We are not liable for loss incurred from system, hardware or data loss. It is the customer/developer's responsibility to verify the integrity, actions and impact of any custom scripts.