Commit graph

12 commits

Author SHA1 Message Date
Alfredo Cardigliano
55b1ca75a9 Replace anomalous with misbehaving to avoid inconsistencies (fix #2866) 2020-01-14 15:49:19 +01:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
Simone Mainardi
de286daf9c Implements alerts for DNS anomalies
Partially addresses #2387
2019-03-05 16:49:50 +01:00
Simone Mainardi
1f349c5dee Implements DNS monitored counters 2019-02-21 17:41:57 +01:00
Luca Deri
937ee52de7 Disabled some debug messages in tracings
Added ability to avoid parsing JSON payload when specifying ignore_post_payload_parse = something. This is useful in case of a HTTP post where you do not want to parse it.

Example:
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local json = require "dkjson"

-- Use ignore_post_payload_parse BEFORE calling 'require "lua_utils"'
ignore_post_payload_parse = 1
require "lua_utils"

sendHTTPContentTypeHeader('application/json')
local info, pos, err = json.decode(_POST["payload"], 1, nil)
2019-02-06 15:28:18 +01:00
Simone Mainardi
500964c457 Improves anomaly index on active flows 2019-02-06 11:31:56 +01:00
Simone Mainardi
b4f1660b0a Implements monitored gauges and metrics 2019-02-05 17:13:22 +01:00
Simone Mainardi
4cbb9450f9 Fixes WARNING: Internal error: invalid counter value 2019-02-05 10:06:03 +01:00
Luca Deri
a28af66e40 Initial export of anomaly index 2019-02-04 12:07:52 +01:00
Luca
509df6a1fc Improved counter monitoring algorithm 2019-02-03 23:30:07 +01:00
Luca Deri
db20663a57 Minor update 2019-02-03 18:59:51 +01:00
Luca
1638a36ec7 Initial experiments on counters monitoring 2019-02-03 15:32:32 +01:00