Commit graph

10 commits

Author SHA1 Message Date
Simone Mainardi
5695d2c190 Adds plugin user script to write system alert timeseries 2020-02-28 17:55:28 +01:00
Simone Mainardi
19dabd2c97 Adds timeseries for system alerts counters 2020-02-28 17:54:16 +01:00
Simone Mainardi
ef06f9e1d3 Refactors system stats in a module system_utils.lua 2020-02-27 12:24:23 +01:00
emanuele-f
7c534a557c Add the is_critical_ts flag to force timeseries write 2020-02-19 15:31:36 +01:00
emanuele-f
d339c81e5c Remove unused version field form the plugins 2020-02-10 11:55:12 +01:00
Simone Mainardi
e15fcf721c Implements User Script Categories
Implements #3280
2020-01-23 16:30:47 +01:00
Simone Mainardi
26c7906744 Moves plugin description to manifest.lua 2020-01-21 16:05:38 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
emanuele-f
481a00a2ad Add missing user scripts gui labels 2020-01-07 19:04:11 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00