# Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. =encoding UTF-8 =head1 NAME collectd-lua - Documentation of collectd's C =head1 SYNOPSIS LoadPlugin lua # ... BasePath "/path/to/your/lua/scripts" Script "script1.lua" Script "script2.lua" =head1 DESCRIPTION The C embeds a Lua interpreter into collectd and provides an interface to collectd's plugin system. This makes it possible to write plugins for collectd in Lua. This is a lot more efficient than executing a Lua script every time you want to read a value with the C (see L) and provides a lot more functionality, too. The minimum required Lua version is I<5.1>. =head1 CONFIGURATION =over 4 =item B I Loads the Lua plugin. =item B I The directory the C looks in to find script B