forked from circonus-labs/reconnoiter
/
lua.xml
30 lines (30 loc) · 975 Bytes
/
lua.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<module>
<name>lua</name>
<description><para>The lua module is a loader that allows the authoring of checks in Lua.</para></description>
<loader>C</loader>
<image>lua.so</image>
<moduleconfig>
<parameter name="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.</parameter>
</moduleconfig>
<checkconfig />
<examples>
<example>
<title>Loading the lua loader.</title>
<para>This example loads the lua VM and registers it as a module loader.</para>
<programlisting><![CDATA[
<noit>
<modules>
<module image="lua" name="lua">
<config>
<directory>/some/other/path/?.lua</directory>
</config>
</module>
</modules>
</noit>
]]></programlisting>
</example>
</examples>
</module>