EMG™ Edge Management Gateway User Guide
206
11: Scripts
This chapter describes how to use Scripts to automate tasks performed on the EMG CLI or on
device ports. EMG supports the following types of scripts:
Interface Scripts
which use a subset of the Expect/Tcl scripting language to perform pattern
detection and action generation on Device Port output.
Batch Scripts
which are a series of CLI commands.
Custom Scripts
are Expect, Tcl or Python scripts which use most of the Expect/Tcl/Python
scripting language, can be run against the CLI or a Device Port, and can be
scheduled
to run
at periodic intervals, with the results from each run saved to a file in a repository. Up to 10
Custom Scripts can be created. Each Custom Script run is an operation, and the
results
from
each operation can be
viewed
. Up to 50 script result files will be saved locally in the EMG
storage. Once this maximum is reached and new result files are generated, the oldest result
files will automatically be deleted to accommodate the new result files.
A user can create scripts at the web, view scripts at the web and the CLI, and utilize (run) scripts at
the CLI. For a description of the syntax allowed in the various types of scripts, see
.
All scripts have permissions associated with them; a user who runs a script must have the
permissions associated with the script in order to run the script.
To add a script:
1. Click the
Devices
tab and select the
Scripts
option. The Scripts page displays.
Figure 11-1 Devices > Scripts
Содержание EMG 8500
Страница 1: ...Part Number PMD 00008 Revision A October 2019 EMG Edge Management Gateway User Guide EMG 8500 ...
Страница 69: ...6 Networking EMG Edge Management Gateway User Guide 69 Figure 6 2 Network Network Settings 2 of 2 ...
Страница 302: ...14 Maintenance EMG Edge Management Gateway User Guide 302 Figure 14 12 About EMG ...