Commit graph

122 commits

Author SHA1 Message Date
Alfredo Cardigliano
673a7cf971 Add alert gateway_unreachable 2022-04-07 19:33:52 +02:00
Alfredo Cardigliano
669d8ee611 Fix l7 filter with Unknown value 2022-03-31 18:26:55 +02:00
Alfredo Cardigliano
e140424716 Add SNMP and Active Monitoring tags to interface alerts 2022-03-28 15:03:36 +02:00
Alfredo Cardigliano
be5bf4e479 Use DB conversion function for timestamps, instead of parsing the date in lua 2022-03-21 11:53:30 +01:00
Alfredo Cardigliano
949127cfd4 Rename general_stats.lua -> top.lua in API v2 2022-03-18 10:05:27 +01:00
Alfredo Cardigliano
5e15f44269 Cleanup debug print 2022-03-16 11:32:44 +01:00
Alfredo Cardigliano
ca189ea4fd Always use tstamp as part of the query to avoid full scans (#6422) 2022-03-16 11:23:56 +01:00
Alfredo Cardigliano
873fad2966 Use first_seen instead of tstamp for flow alerts lookups 2022-03-14 18:44:06 +01:00
uccidibuti
f5598decc0 Wrong Alert Default Sort #6339 2022-03-01 17:43:32 +01:00
Alfredo Cardigliano
c5e4ec2217 Fix L7 filters for flow alerts (usa same key used for flows) 2022-03-01 16:34:05 +01:00
Alfredo Cardigliano
6c9dd9f7df Support 'contains' op in alerts 2022-02-22 16:32:20 +01:00
Alfredo Cardigliano
9bd30a049a Do not print nil for empty values 2022-02-22 15:55:50 +01:00
Alfredo Cardigliano
90b7c5fd91 Do not print nil for empty values 2022-02-22 15:25:42 +01:00
Alfredo Cardigliano
d527b88347 Improve alert sql generation for l7 proto 2022-02-17 12:38:53 +01:00
Alfredo Cardigliano
e0d41a0167 Move definition of alert tags and cleanup declarations 2022-02-14 12:55:20 +01:00
Alfredo Cardigliano
bcf3c053ce Rework rest API for alert stats 2022-01-26 10:00:20 +01:00
Alfredo Cardigliano
cc81975441 Add get_top_limit and format_top_alerts to alert_store 2022-01-25 11:04:46 +01:00
Luca Deri
fd559d1859 Added further escape check in flow export 2022-01-24 22:06:59 +01:00
Alfredo Cardigliano
e9d79d9e1a Fix alert query 2022-01-24 17:02:30 +01:00
Alfredo Cardigliano
27090de5c7 Add processed records and performance for alerts. Fix processed stats for flows. 2022-01-21 18:11:33 +01:00
Luca Deri
a5912438f8 Added epoch_begin and epoch_end in /lua/rest/v2/get/flow/alert/list.lua 2022-01-13 21:40:57 +01:00
Alfredo Cardigliano
a3bce393ca Remove duplicated i18n tag fields. Add info tag definition. 2022-01-11 10:48:52 +01:00
Luca
bbcd1d011b Added fix for converting alerts_map with SQLite to a meaningful value
being it stored as BLOB
2022-01-10 12:40:45 +01:00
Alfredo Cardigliano
257ece18c0 Copyright update (Lua) 2022-01-03 09:42:33 +01:00
Alfredo Cardigliano
b242ec2975 Alert details page. Stub functions for label/details functions in alert store. 2021-12-28 16:01:30 +01:00
Simone Mainardi
01256e21ec Fixes parse input errors for the system interface alerts
Addresses #6115
2021-12-24 14:26:59 +01:00
MatteoBiscosi
46c98aa90d Fixes incorrect system interface id used (#6136) 2021-12-15 15:37:48 +01:00
Alfredo Cardigliano
d9fc8b0284 Update locale 2021-11-25 11:43:32 +01:00
Alfredo Cardigliano
30ce408a1d Move score filter caching to alert_store 2021-11-23 18:55:53 +01:00
Alfredo Cardigliano
dfea22e6de Remove exception 2021-11-23 17:58:11 +01:00
Alfredo Cardigliano
178c1f8a80 Fix alert update on acknowledge 2021-11-23 11:23:37 +01:00
Alfredo Cardigliano
f81a45721b Add query stats to alert queries 2021-11-22 11:16:34 +01:00
Simone Mainardi
42950590c8 Implements 'all time' filter using the earliest alerts timestamp
Addresses #6070
2021-11-17 15:22:52 +01:00
Simone Mainardi
a014ce46a6 Fixes cleanup of old alerts when stored in Clickhouse
Addresses #6066
2021-11-10 16:50:44 +01:00
MatteoBiscosi
c103a10450 Fixes wrong check added for clickhouse 2021-11-05 19:26:18 +01:00
MatteoBiscosi
2291fe8076 Fixed single alert delete using clickhouse db 2021-11-05 19:22:19 +01:00
Alfredo Cardigliano
2d846466e1 Fix alerts delete clickhouse (#6046) 2021-11-05 17:35:05 +01:00
Alfredo Cardigliano
fd61b2bb58 Convert datetime to epoch in select_historical with clickhouse (#6046) 2021-11-05 16:57:18 +01:00
Alfredo Cardigliano
d2d42ad180 Fix alert count with clickhouse (#6046) 2021-11-05 13:03:56 +01:00
Alfredo Cardigliano
643fdeec68 Fix tstamp in select_historical and count_by_24h_historical 2021-11-05 12:42:57 +01:00
MatteoBiscosi
cf51741407 Added interface ID to where only with clickhouse 2021-11-05 12:13:54 +01:00
MatteoBiscosi
1367f4260c Added interface ID to where clause into alert queries (#6047) 2021-11-05 12:13:54 +01:00
Alfredo Cardigliano
211bce6731 Fix count_by_severity_and_time_historical with clickhouse (#6046) 2021-11-05 11:52:11 +01:00
Luca Deri
13407f6761 Fixes for dumping alerts into ClickHouse 2021-11-04 19:05:50 +01:00
Simone Mainardi
d725f5a9b4 Fixes for REST API ts.lua returning 24h data
Addresses #5988
2021-10-19 12:45:56 +02:00
MatteoBiscosi
bdb4ceb7e0 Implements checkmk timeseries alert integration (#5269) 2021-10-19 10:12:27 +02:00
MatteoBiscosi
10cde0e33e Set score default operator to gte (#5858) 2021-10-12 11:26:36 +02:00
MatteoBiscosi
937a8894d2 Implement persistent sorting into alerts page (#5935) 2021-10-07 17:23:36 +02:00
Simone Mainardi
2cb849c98f Implements alert filters by score
Implements #5859
2021-09-09 18:27:01 +02:00
Alfredo Cardigliano
67657f1952 Fix filters with 0 value 2021-07-20 11:04:23 +02:00