Commit graph

7 commits

Author SHA1 Message Date
emanuele-f
ffd3b4c1ee Users scripts api changes and initial documentation 2019-10-09 15:12:28 +02:00
emanuele-f
ede9a7940a Generalize periodic and flows callbacks
Now periodic callbacks are properly called even when alerts are disabled
The granularity filter and check_function has been replaced with a more generic hooks list
2019-10-07 19:05:43 +02:00
emanuele-f
606de5197b Replace pcall with require to catch errors 2018-12-11 18:56:46 +01:00
Alfredo Cardigliano
d951a5ad98 Revert "moved interface.getStats call in periodic scripts to avoid that the current interface is changed by (unexpected) interface.select() calls in modules"
This reverts commit c8438dfa66.
2018-10-18 09:27:41 +02:00
Alfredo Cardigliano
c8438dfa66 moved interface.getStats call in periodic scripts to avoid that the current interface is changed by (unexpected) interface.select() calls in modules 2018-10-17 19:49:07 +02:00
emanuele-f
019665c111 Fix interface timeseries being written even if the preference is disabled 2018-08-10 18:54:30 +02:00
emanuele-f
417d40a78e Separate system-wide scripts from per-interface scripts 2017-11-23 19:15:12 +01:00