Add a Script Check - Single Device
Script Checks may be added on a single device or multiple devices.
To add a Script Check on a single device:
- On the All Devices view, select the device in the North-pane
- Go to the Checks tab in the South-pane
- Select Add Check and the check frequency — Add 24x7 Check or Add DSC Check
- Select Script Check
-
Select the target script and click Next
Scripts are grouped by default script categories (if applicable) and User Defined Scripts depending on the Operating system. You can search for a target script, and select a script to view its description.
- Configure any Script Parameters settings, including the Command Line for custom scripts (if required)
To prevent the removal of the leading 0 in arguments, any part of the command that begins with 0 is wrapped in \ so the full argument is preserved when executed or processed.
- Enter the Script timeout period in seconds
- To Run an Automated Task when a check fails, select Assign a Task after creating the Check
- Click Finish to save and apply
- If you selected Assign a Task after creating the Check:
- Select the Automated Task script and select Next to configure.
- Enter any required Command Line parameters or Script parameters and select Next.
- Set maximum permitted execution time for the script (optional).
- Select Finish to save and apply.