|
|
LoriotPro
scripting documentation |
A LoriotPro LUA script can be launched from a directory shortcut. A shortcut is a simple node of the directory that can be attached to a host object. A shortcut help you to start application and script related to this host.

The syntaxe of the command line is:
LUA_script_file [IP_Address] [OID_Parameter] [INDEX_Parameter]
| Parameter | Description |
|---|---|
| LUA_script_file | The LUA script that you want to run |
| IP_Address | The lp_host parameter is initialized with the contents of this field. |
| OID_Parameter | A snmp oid that will initialized the lp_oid variable of the script |
| INDEX_Parameter | A snmp index that will initialized the lp_index variable of the script |
The selected script in our example open a database connection in ODBC
www.loriotpro.com
|
|