ef9ae23b5a904882955dd1b3a0a2a758b9e7dbb1
[project/luci.git] / applications / luci-statistics / luasrc / view / admin_statistics / outputplugins.htm
1 <%#
2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13
14 -%>
15 <%+header%>
16
17 <h2><a id="content" name="content"><%:stat_outputplugins Output plugins%></a></h2>
18
19 <p><%:stat_outputplugins_desc Output plugins provide different possibilities to store collected data.
20 It is possible to enable multiple plugin at one, for example to store collected data in rrd databases
21 and to transmit the data over the network to other collectd instances.%></p>
22
23 <p><%:stat_outputplugins_installed Installed output plugins:%>
24         <ul>
25                 <% for plugin, desc in pairs(plugins) do %>
26                         <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>
27                                 <li><a href="<%=controller%>/admin/statistics/collectd/output/<%=plugin%>"><%=desc%></a></li>
28                         <% end %>
29                 <% end %>
30         </ul>
31 </p>
32
33 <%+footer%>