conntrack.lua 506 B

1234567891011121314151617181920212223
  1. -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.statistics.rrdtool.definitions.conntrack",package.seeall)
  4. function rrdargs( graph, plugin, plugin_instance, dtype )
  5. return {
  6. title = "%H: Conntrack entries",
  7. vlabel = "Count",
  8. number_format = "%5.0lf",
  9. data = {
  10. sources = {
  11. conntrack = { "value" }
  12. },
  13. options = {
  14. conntrack = {
  15. color = "0000ff",
  16. title = "Tracked connections"
  17. }
  18. }
  19. }
  20. }
  21. end