Commit graph

20 commits

Author SHA1 Message Date
emanuele-f
eafa80da09 Fixes for the 'all' hook 2020-01-22 16:54:33 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +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
emanuele-f
1d6d52b4ea Rework system probes (now called system scripts) 2019-06-07 11:31:44 +02:00
emanuele-f
23d0c61d91 Fix "Script failure module '5min' not found" 2018-12-05 13:30:25 +01:00
emanuele-f
9f756fa23f Fix error causing daily script to fail
Fixes #2198

Since the daily script always failed, no top talkers sampling aggregations were applied and raw samplings where computed
2018-12-05 13:18:25 +01:00
Simone Mainardi
df45cac64f Implements SNMP devices iterator
The iterator has the ability to stop when there is
an ntopng shutdown in progress
2018-09-12 20:01:19 +02:00
Simone Mainardi
1e40769cc3 Adds caching of SNMP devices interfaces status 2018-05-21 16:57:38 +02:00
Simone Mainardi
6390a4f259 Removes unnecessary snmp_check_device_status function call 2018-05-16 12:09:10 +02:00
Simone Mainardi
9dd2ae14a8 Implements SNMP iterfaces status change alerts 2018-05-15 15:19:09 +02:00
Simone Mainardi
2ca1bbe84b Makes SNMP system and printer caching non-periodic 2018-05-10 15:21:53 +02:00
Simone Mainardi
1a6a87220c Fixes SNMP printer polling 2018-05-07 18:18:48 +02:00
Simone Mainardi
9931a0d3c7 Adds periodic caching of SNMP bridge mib 2018-04-29 10:27:40 +02:00
Simone Mainardi
905818770f Adds periodic SNMP walk caching 2018-04-27 16:43:11 +02:00
Luca Deri
5b4017ff49 Minor change 2018-04-25 15:37:18 +02:00
Luca Deri
c7ef8d0c46 Various SNMP improvemenets
Moved to LuaJIT 2.1.0 updated to the latest git
2018-04-25 14:20:23 +02:00
emanuele-f
8f27bf8f47 Implement SNMP alerts on port status change 2018-03-29 23:00:43 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
1b7b770264 Little fixes 2017-11-23 19:15:12 +01:00
emanuele-f
417d40a78e Separate system-wide scripts from per-interface scripts 2017-11-23 19:15:12 +01:00