Commit graph

106 commits

Author SHA1 Message Date
Alfredo Cardigliano
c6cf8e418e Add timeseries for host and interface DSCP classes 2020-07-21 10:08:08 +02:00
Alfredo Cardigliano
a03c2158d8 Remove useless chart with duplicated info 2020-07-01 11:54:25 +02:00
Simone Mainardi
b8eabac4ba Adds timeseries of database dumped/dropped flows 2020-06-25 15:11:46 +02:00
Simone Mainardi
a3d7365888 Implements netsnmp charts for cpu states and memory 2020-06-09 22:56:21 +02:00
Simone Mainardi
1a2a3b72e4 Prevents writing ts stats for certain periodic activities
Fixes #3534
2020-03-12 14:57:24 +01:00
Simone Mainardi
04f5b99342 Calculates and charts RRD queue length 2020-03-09 22:46:35 +01:00
Simone Mainardi
a288bbf40c Adds experimental RRD write queue 2020-02-28 19:47:44 +01:00
Simone Mainardi
19dabd2c97 Adds timeseries for system alerts counters 2020-02-28 17:54:16 +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
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
eaa3935a8e Adds and charts CPU states active and idle 2020-02-28 10:20:11 +01:00
Simone Mainardi
d41c0104d3 Generalizes rrd stats into timeseries stats 2020-02-27 19:11:44 +01:00
Simone Mainardi
f6bd1b3493 Adds timeseries of iowait 2020-02-27 18:20:42 +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
a6dab125d5 Improve dropped alerts information
- Add informative label
- Add dropped alerts timeseries and chart
- Generate a system alert whenever alerts are dropped on a network interface
- Add a periodic activity warning when some alerts are dropped on that activity

Closes #3025
2020-02-26 16:05:19 +01:00
Simone Mainardi
d5fab4169c Marks certain interface minute timeseries as critical 2020-02-26 14:17:44 +01:00
emanuele-f
a7d7d6e2ed Revert "Move host score to 5mins"
This reverts commit ab1aaeb38f.
2020-02-25 15:42:27 +01:00
emanuele-f
ab1aaeb38f Move host score to 5mins 2020-02-25 12:50:06 +01:00
Simone Mainardi
1840de69bf Implements total counters for RRD writes and dropped points 2020-02-24 23:38:34 +01:00
Simone Mainardi
c0600a9731 Flow user scripts ts marked as critical 2020-02-24 16:43:41 +01:00
Simone Mainardi
a2237266ee Adds total rrd writes and drops to periodic scripts timeseries 2020-02-24 12:54:43 +01:00
emanuele-f
1a6d170188 Add slow_rrd warning and set interface ts as critical 2020-02-21 10:44:24 +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
8d51dae0e5 Implement Misbehaving vs Alerted flows chart 2020-01-27 15:37:36 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Simone Mainardi
b44de6e18d Implements discarded probing traffic counters and timeseries 2019-12-31 16:01:24 +01:00
Simone Mainardi
c873aee41b Implement counter and chart for new flows per second 2019-12-27 12:29:55 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
Simone Mainardi
49ddb55620 Adds interface TCP keepalive packets 2019-11-25 16:02:04 +01:00
emanuele-f
c8a13abcf7 RRD path fix 2019-11-21 11:46:06 +01:00
emanuele-f
1fd65ac44c Flow user scripts enhancements
- Add title label in hash table utilization gauges
- List Hash Tables charts and Periodic Activities charts in a single page
- Replace Periodic Activities max duration column with time utilization percentage
- Add api to add a straight line in the charts
- Show max duration time as a straight line in Periodic Activities charts
- Move dropped flow calls charts to the Peridic Activities page
- Fix expert view number of calls 0
- Fix interface/host/network trigger alert label
- Move chart icon to separate column in redis and influxdb pages
- Fix interface menu selection in Hash Tables and Periodic Activities
- Highlight issues with a warning triangle in Hash Tables and Periodic Activities
- Fix some page navigation issues with extra_params
- Fix wrong schema graph options passed to nv_graph_utils
2019-11-20 20:09:45 +01:00
emanuele-f
fc962d73f3 Improve and clean up pending flow scripts call logic
Pending calls are now visualized into the FlowHash "Call Stats" chart
2019-11-15 18:10:16 +01:00
Alfredo Cardigliano
d2b7cea9c8 Keeping track of resident memory only (fix #3040) 2019-11-15 09:42:08 +01:00
Simone Mainardi
47169b82be Reworks counting of skipped flow lua calls 2019-11-11 18:22:37 +01:00
emanuele-f
4d45ffff08 Add missed calls stats 2019-11-08 17:13:24 +01:00
emanuele-f
cfc1f0fe57 Fix ht:lua_calls chart
Fixes #3021
2019-10-31 18:06:02 +01:00
emanuele-f
33949d31fd Rework benchmark stats and charts 2019-10-31 17:48:53 +01:00
emanuele-f
e978a83151 Improve user scripts charts
Fixes #3020
2019-10-31 13:30:24 +01:00
emanuele-f
34c196d99e User scripts stats improvements 2019-10-30 10:53:54 +01:00
Simone Mainardi
cce73c2f44 Implements lua interpreters telemetry 2019-10-28 23:47:03 +01:00
Simone Mainardi
dc748b1b6d Implements stats for periodic scripts duration 2019-10-28 17:10:03 +01:00
Alfredo Cardigliano
b42989154c Drawing active items in addition to idle in the internals chart 2019-10-25 12:14:53 +02:00
emanuele-f
58a12f1241 Add user scripts benchmark charts
Implements #2999
2019-10-24 20:24:13 +02:00
Simone Mainardi
955eed4b50 Reworks idling and purging of hash table entries to make it faster 2019-10-24 15:48:18 +02:00
Simone Mainardi
60e657c0d2 Makes hash table state counters as gauges 2019-10-23 14:25:12 +02:00
Simone Mainardi
15e17a801a Implements per-state hash entry counters and writes them to ts 2019-10-23 13:09:02 +02:00
Simone Mainardi
165a53d18e Adds timeseries of ZMQ messages received and dropped 2019-09-10 19:49:16 +02:00
Simone Mainardi
24cf71a70d Parses and charts UDP socket drops from nProbe 2019-08-30 12:54:41 +02:00
emanuele-f
1032af0d8f Add network engage_alerts timeseries 2019-08-21 17:07:58 +02:00