emanuele-f
c17ddb486e
Ensure monotonic time in uSecDiffPeriodicActivityBody
2020-03-05 17:09:40 +01:00
emanuele-f
1c7dabf247
Pass current periodic activity time from C
...
This prevents possible inconsistencies between the C and lua time
2020-03-05 17:09:40 +01:00
emanuele-f
0facf0e27d
Implement host timeseries off/light/mode selection
...
Closes #3466
2020-03-03 15:52:04 +01:00
emanuele-f
f9bd2973c8
Avoid cpu load timeseries creation on non linux platforms
2020-03-02 16:04:02 +01:00
Simone Mainardi
3405b7184e
Writes new_flow timeseries every minute (not every second)
...
Implements #3456
2020-02-28 15:35:16 +01:00
Simone Mainardi
a1905609a2
Prevents writing ZMQ timeseries for non-ZMQ interfaces
...
Addresses #3456
2020-02-28 15:11:18 +01:00
Simone Mainardi
ec724babcf
Unifies all internals timeseries in a single preference
...
Implements #3459
2020-02-28 15:00:51 +01:00
Simone Mainardi
474fe19e07
Writes CPU load every 5 secs (/proc/loadavg doesn't update faster)
...
Additional fix for #3465
2020-02-28 11:55:26 +01:00
Simone Mainardi
f6bd1b3493
Adds timeseries of iowait
2020-02-27 18:20:42 +01:00
Simone Mainardi
82a01c521a
Computes CPU states every 5 seconds in the system interface
2020-02-27 16:48:08 +01:00
emanuele-f
b194643a18
Join exported and dropped flows into a single timeseries
2020-02-27 12:15:53 +01:00
emanuele-f
ea4f936d07
Join interface packets and drops into a single timeseries
2020-02-27 12:09:43 +01:00
emanuele-f
8abdb926cd
Handle /proc/net/dev counters wrapping on 32bit platforms.
...
Fixes #3398
2020-02-25 16:56:58 +01:00
Alfredo Cardigliano
b3ceaf9db4
Moved external alert score computation ( fix #3447 )
2020-02-24 15:01:21 +01:00
Alfredo Cardigliano
dbe07bbfcd
Score computation fix (external alerts)
2020-02-24 12:27:48 +01:00
Simone Mainardi
bd46b7268e
Implements system alerts for not executed activities
2020-02-21 14:00:06 +01:00
Simone Mainardi
a0612895fe
Implements slow rrd checks and updates in C
2020-02-19 19:28:07 +01:00
Simone Mainardi
a7ea7f76ed
Implements detection of slow timeseries append
2020-02-19 18:45:36 +01:00
emanuele-f
7c534a557c
Add the is_critical_ts flag to force timeseries write
2020-02-19 15:31:36 +01:00
emanuele-f
d1140ec9fd
Avoid timeseries read operations to display the chart icon
...
Now the icon is displayed whenever the timeseries are enabled for the given context
2020-02-19 13:27:20 +01:00
Simone Mainardi
5b70db90ad
Handles deadlines for flow user scripts
2020-02-19 10:46:44 +01:00
Simone Mainardi
0e64fd94d6
Implements deadlines for periodic and user scripts
2020-02-18 18:44:41 +01:00
Simone Mainardi
156975afd5
Show periodic scripts stats in the system interface
2020-02-17 15:43:42 +01:00
emanuele-f
58b3d42d22
Set max score on hosts contacting blacklisted hosts
2020-02-17 15:16:01 +01:00
Simone Mainardi
95bd9ace07
Implements duration stats for system periodic activities
2020-02-17 14:39:58 +01:00
Simone Mainardi
00158e8bc2
Implements error handling in line protocol generation
2020-02-16 14:30:08 +01:00
emanuele-f
7e6909b561
Add now timestamp in SNMP
2020-02-11 17:33:19 +01:00
emanuele-f
e3d3d3992f
Replace an existing flow alert if a more critical problem is found
...
Also add the flow score into the database
2020-02-07 19:20:57 +01:00
emanuele-f
0a0a3c4537
Rework flow status accounting
2020-02-07 19:17:07 +01:00
emanuele-f
13ec0d2f44
Use the flow score to determine the status priority
2020-02-07 19:17:07 +01:00
emanuele-f
96925a7e03
Fix invalid flow.triggerStatus calls
2020-02-06 10:31:22 +01:00
Simone Mainardi
7f6e69653e
Fixes reload of scripts upon license changes or expiration
...
Fixes #3213
2020-01-27 14:07:50 +01:00
emanuele-f
c791fc1246
Add check to avoid nil config
2020-01-24 11:35:59 +01:00
emanuele-f
242a9c8632
Fix SNMP scripts invoked also when disabled
2020-01-22 18:33:49 +01:00
emanuele-f
eafa80da09
Fixes for the 'all' hook
2020-01-22 16:54:33 +01:00
Simone Mainardi
1cbdbbd339
Hides status_id from flow.{trigger,set,clear}Status
...
Fixes #3266
2020-01-21 12:27:33 +01:00
emanuele-f
dd8643ad79
Add missing community check
2020-01-20 13:21:38 +01:00
emanuele-f
aca088ea13
Add hyperlink to jump to the alert configuration
...
Closes #2936
2020-01-17 19:11:15 +01:00
emanuele-f
508d040a49
Fix updateScore not called in flow.setStatus
2020-01-17 11:11:02 +01:00
emanuele-f
23f7d90ee4
Move interface.computeHostsScore in the Score script
2020-01-17 10:44:38 +01:00
emanuele-f
892c779fb7
Fix score ts written when host timeseries are disabled
2020-01-16 19:08:57 +01:00
emanuele-f
a97dbd013b
Remove score global preference
2020-01-16 18:21:35 +01:00
emanuele-f
566b9ece0b
Score changes
...
- Move score from status definition to user scripts
- Separate flow score counter from the peers score
- Create a new HostScore class to hold the score data
2020-01-16 18:11:14 +01:00
emanuele-f
c336cca0e7
Improve host score calculation
2020-01-15 18:42:48 +01:00
Simone Mainardi
03a4b14dda
User scripts now read view configsets for viewed interfaces
...
Implements #3225
2020-01-15 15:40:44 +01:00
emanuele-f
6edecb12cb
Score visualization improvements
2020-01-15 15:27:45 +01:00
emanuele-f
d7528e1628
Score improvements
...
The score is now calculated differently on the client and on the server of the flow.
The hosts flow is updated every minute and charted.
It's now possible to trigger an alert when the score threshold is exceeded
2020-01-15 12:34:16 +01:00
Luca Deri
170bc60f19
Updated (C)
2020-01-08 23:52:51 +01:00
Simone Mainardi
724f1da5ea
Fixes use of interface names in flow alerts
2020-01-08 19:03:08 +01:00
Simone Mainardi
76391ff6a5
Resores flow alerts for view interfaces
2020-01-08 18:18:00 +01:00