12: Scripts
EMG™ Edge Management Gateway User Guide
251
To delete the completed operations (runs) for a custom script:
1. In the Scripts table, select the script to view operations for, and
click Script Operations
.
2. The Custom Scripts - Operations page displays, with a list of any results that have been
generated for a script, in reverse date/time order. All the results can be deleted by clicking
Delete Results
.
To view the latest results from a completed operation (run) of a custom script:
1. Click the Devices tab and select the Scripts option. The Scripts page displays.
2. In the Scripts table, select the script to view results for, and click Latest Results Results.
The results are displayed in a popup window.
To use a script at the CLI:
1. To run an Interface Script or a Custom Script on a device port for pattern recognition and
action generation, use the
connect script <Script Name> deviceport <Device
Port # or Name>
command. This action requires that a EMG user running the
connect
script
command have Device Port Operations (do) rights and port permissions for the
selected device port.
2. To run a Batch Script at the CLI with a series of CLI commands, or a Custom Script for pattern
recognition and action generation, use the
set script runcli <Script Name>
command. This action requires that an EMG user running the
runcli
command belong to a
group that is the same or greater than the group assigned to the script (e.g., if the script is
assigned to the Power group, the user running the
runcli
command must belong to the
Power or Admin group). For Batch Scripts, if this minimum group requirement is met, the EMG
user will temporarily be granted all of the individual rights assigned to the script while the
Batch Script is running.
Note:
Expect Custom Scripts have a
debug enable
option that supports printing
Expect debug information to aid in creating an Expect script. The debug option is not
supported for Tcl and Python scripts.
Script Commands
Go to
to view CLI commands which correspond to the web page entries
described above.
Summary of Contents for EMG Series
Page 100: ...7 Networking EMG Edge Management Gateway User Guide 100 Figure 7 5 Network Wireless Settings...
Page 353: ...15 Maintenance EMG Edge Management Gateway User Guide 353 Figure 15 12 About EMG...
Page 474: ...EMG Edge Management Gateway User Guide 474 Figure E 3 EU Declaration of Conformity...
Page 475: ...EMG Edge Management Gateway User Guide 475 Figure E 4 EU Declaration of Conformity continued...