Lua APIΒΆ

Here is a brief description of some of the most used Lua modules available into ntopng:

  • ntop_utils: contains simple utility functions (keep short for efficiency)

  • lua_utils: contains mode comple utility functions

  • alert_utils: contains functions used to interact with ntopng alerts framework

  • graph_utils: contains functions used to create the charts

  • ts_utils: a framework to write and read timeseries data

  • recording_utils: contains functions used to control traffic recording and schedule extractions

The following sections provide a more in depth look at some specific Lua modules.