3 Luci statistics - splash_leases plugin diagram definition
4 (c) 2013 Freifunk Augsburg / Michael Wendland <michael@michiwend.com>
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
10 http://www.apache.org/licenses/LICENSE-2.0
15 module("luci.statistics.rrdtool.definitions.splash_leases", package.seeall)
17 function rrdargs( graph, plugin, plugin_instance, dtype )
20 title = "%H: Splash Leases",
21 vlabel = "Active Clients",
23 number_format = "%5.1lf",
26 splash_leases = { "leased", "whitelisted", "blacklisted" }
30 splash_leases__leased = { color = "00CC00", title = "Leased", overlay = false },
31 splash_leases__whitelisted = { color = "0000FF", title = "Whitelisted", overlay = false },
32 splash_leases__blacklisted = { color = "FF0000", title = "Blacklisted", overlay = false }