Lua scripts event
The Lua scripts event executes a Lua script. Lua is the scripting language natively supported by Network Monitor. See Lua for more information.
NOTE See the Schedules tab topic for an introduction to scheduling events.
Event settings
- Script - Select the script to be executed. Lua scripts used with Network Monitor should be placed in the
KNM\scripts
folder of the KNM host machine. Once a script has been selected, individual fields for the script parameters display. - Credentials
No authentication
- No credentials are required.Use specific credentials in API
- Set an Account type toWindows domain account
,SSH/Telnet account
orVMware account
. If this option is selected, Network Monitor does not perform Windows authentication before executing the script. Instead, the specified logon account information is passed to the script as a parameter. This is useful for scripts that want to perform custom logons, for example, with SSH2.Perform Windows impersonation
- A Windows authentication is performed with the specified host before executing the script. This is useful for scripts that require authentication before executing.
- Inherit credentials - If
Use specific credential in API
orPerform Windows impersonation
is selected, the Inherit credential option displays. If checked, inherits credentials from the group or gateway node. If blank, enter event-specific credentials. - Domain or Computer/Username/Password - Credential used to authenticate access for this event.