Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1000 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 1000 Bytes

Lua-codebase

CA - UIM - Nas LUA Code base

This repository has been created to save many scripts examples for LUA Scripting in NAS.

-> Official NAS Lua API

Use cases

  • MySQL & MSSQL provider Here
  • Generate alarm (advanced with Spooler callback). Here
  • Require lua file Here
  • Delete old QOS Here

Replace event (example)

event.message = string.gsub(event.message,"#","/")
event.supp_key = string.gsub(event.supp_key,"#","/")
return event

Script(s)

  • Alarm rafale mode Git
  • Checkconfig Git
  • Auto-unassign Git

Community links

  • Lua optimization Link