Implement per-alert-type host counters

Such counters will be used in the future to generate alert timeseries.
Counters are not currently serialized as internally discussed.

Closes #2728
This commit is contained in:
emanuele-f 2019-07-19 17:25:59 +02:00
parent 0d1b4c30a9
commit c715bb36f3
10 changed files with 59 additions and 44 deletions

View file

@ -2942,7 +2942,7 @@ local function notify_ntopng_status(started)
end
obj = {
entity_type = alertEntity("host"), entity_value="ntopng",
entity_type = alertEntity("process"), entity_value="ntopng",
type = alertType("process_notification"),
severity = severity,
message = msg,