5.10. lua

The lua module is a loader that allows the authoring of checks in Lua.

loader

C

image

lua.so

5.10.1. Module Configuration

directory
required

optional

default

/install/prefix/modules-lua/?.lua

allowed

.+

This is the lua load path. See the lua manual for more details on meaning and syntax.

5.10.2. Check Configuration

Example 5.11. Loading the lua loader.

This example loads the lua VM and registers it as a module loader.

      <noit>
        <modules>
          <module image="lua" name="lua">
            <config>
              <directory>/some/other/path/?.lua</directory>
            </config>
          </module>
        </modules>
      </noit>