Simone Mainardi
0bbb30e13e
Refactors snmp_utils global methods into module functions
2020-06-10 13:09:30 +02:00
Simone Mainardi
8a3e65ac50
Requires snmp_utils as local module
2020-06-10 12:17:25 +02:00
Simone Mainardi
a3d7365888
Implements netsnmp charts for cpu states and memory
2020-06-09 22:56:21 +02:00
Simone Mainardi
eab51e54d6
Adds validation for SNMP devices responsiveness
2020-06-09 18:41:35 +02:00
Simone Mainardi
2f48152a97
Minor fixes for pruning unresponsive SNMP devices
2020-06-09 16:05:48 +02:00
Simone Mainardi
d714528fa0
Minor cleanup
2020-06-09 11:50:07 +02:00
Simone Mainardi
8609e0bc2e
Avoids adding URLs for SNMP device interfaces no longer existing
2020-06-09 11:48:28 +02:00
Simone Mainardi
f33b46842a
Avoids adding URLs for SNMP devices no longer existing
2020-06-09 10:24:53 +02:00
Simone Mainardi
47e855a75b
Returns empty string in safe_html when input is nil
2020-06-03 19:08:37 +02:00
Simone Mainardi
17bfc850b1
Fixes XSS in dissected HTTP URLs, TLS certs, and DNS names
...
Fixes possible XSS due to forged HTTP urls such as
curl -u admin:admin1 "http://devel:3000/ </a><script>alert(1);</script><a>"
Similar attacks could have been performed with TLS certs and DNS names
2020-06-03 19:03:55 +02:00
Luca Deri
4ba2904386
Merge branch 'dev' of https://github.com/ntop/ntopng into dev
2020-06-01 11:55:10 +02:00
Luca Deri
a041bb52c0
Reworked port drill down support
2020-06-01 11:52:41 +02:00
Simone Mainardi
5d8d748cdf
Fixes flows filter in host details page
...
Fixes #4010
2020-06-01 11:47:46 +02:00
Simone Mainardi
2010890af9
Migrates other lua to REST API v1
2020-06-01 11:03:12 +02:00
emanuele-f
3fe13a245b
Remove unused references related to the timeseries ring
2020-05-29 14:54:21 +02:00
Luca Deri
da44b8fb65
Added missing parameter
2020-05-29 12:46:03 +02:00
emanuele-f
c55aaa4391
Fix error while adding a custom proto in non-existing protos.txt
2020-05-29 09:21:54 +02:00
Alfredo Cardigliano
9348e51924
Add rest/v1/get/host/l7/stats.lua REST API ( #3953 )
2020-05-28 10:44:07 +02:00
emanuele-f
532225f1bc
Fix custom protocol IDs not preserved
...
Addresses #3991
2020-05-27 15:36:07 +02:00
Simone Mainardi
db43a57c3b
Implements better JSON comparison in tests and allows for custom dir and redis
2020-05-27 15:25:38 +02:00
emanuele-f
aedf348534
Move interface timeseries prefs to the global config
...
Addresses #3979
2020-05-27 13:48:27 +02:00
emanuele-f
d83df2821b
Add note for the side effects of lowering the timeseries resolution
...
Also fix hardcoded urls in the localization file.
Addresses #3958
2020-05-27 11:18:39 +02:00
Alfredo Cardigliano
97046a8a97
Add rest/v1/get/alert/severity/counters.lua REST API
2020-05-27 11:05:59 +02:00
Alfredo Cardigliano
9814c91bfb
Add filters to rest/v1/get/alert/type/counters.lua REST API
2020-05-27 10:53:07 +02:00
Alfredo Cardigliano
7c977a3ebc
Add rest/v1/get/alert/type/counters.lua API REST (implement #3948 )
2020-05-27 10:47:33 +02:00
Simone Mainardi
9ba746bd78
Adds the default host:traffic when checking host ts existance
2020-05-26 18:45:22 +02:00
Simone Mainardi
661d942f22
Refines ts existance checks when generating host_details.lua urls
2020-05-26 17:59:08 +02:00
Simone Mainardi
bd0c594433
Check host_details.lua link existance in alerts
2020-05-26 17:36:35 +02:00
Simone Mainardi
48726c0f37
Adds a flag to check for host_details.lua links existance
2020-05-26 17:35:55 +02:00
Simone Mainardi
d487199a19
Unifies host_details.lua link gen in host_details.lua flows page
2020-05-26 15:12:44 +02:00
Simone Mainardi
05e55530f5
Fixes missing VLANs in hostinfo2url
2020-05-26 13:06:19 +02:00
Simone Mainardi
49e49e0ed6
Unifies host_details.lua generation
...
Addresses #3977
2020-05-26 12:50:47 +02:00
Alfredo Cardigliano
21fe9aa490
Add v1/get/alert/ts.lua REST API (implement #3943
2020-05-26 12:28:33 +02:00
Alfredo Cardigliano
09ea665c9b
Improve v1/get/alert/data.lua endpoint
2020-05-26 11:11:20 +02:00
gabryon99
42ebb418f1
removed debug from blog_utils
2020-05-25 09:27:59 +02:00
gabryon99
5c1664a56f
fix blog utils ordering
2020-05-25 08:57:42 +02:00
emanuele-f
eea288dee9
Add on-off switch template
...
Addresses #3513
2020-05-21 17:22:00 +02:00
gabryon99
857629ccf0
fix the blog notification ordering bug
2020-05-21 17:03:16 +02:00
emanuele-f
610e632234
Add comments/remove table.clone when not needed
2020-05-21 11:10:47 +02:00
emanuele-f
ec51278c20
Cleanup of HostStats
2020-05-20 17:05:30 +02:00
Simone Mainardi
0f3616dfe5
Unifies system interface toggle with a function
2020-05-20 16:28:25 +02:00
emanuele-f
340462ad73
Cleanup of the timeseries ring and NetworkInterfaceTsPoint
2020-05-20 15:18:03 +02:00
Alfredo Cardigliano
c24ea73dec
Add rest/v1/set/pool/config rest/v1/set/scripts/config REST API
2020-05-20 14:51:02 +02:00
Alfredo Cardigliano
ac24563f15
Add rest/v1/get/timeseries/ts API
2020-05-20 14:36:21 +02:00
Simone Mainardi
c41309f21e
Fixes InfluxDB version check when headers are manipulated by HAProxy
...
Fixes #3964
2020-05-20 13:02:28 +02:00
Simone Mainardi
f3b2b4869e
Fixes broken plugin menu entries with --http-prefix
...
Addresses #3957
2020-05-20 12:07:22 +02:00
Simone Mainardi
d5166394a5
Fixes possibly clashing interface ids after interface data deletion
...
Fixes #3963
2020-05-20 11:29:53 +02:00
Alfredo Cardigliano
21e274e933
alert_consts optimizations
2020-05-20 11:18:05 +02:00
Alfredo Cardigliano
5a753d8727
Add v1/get/alert/data rest API, alert_consts optimization
2020-05-20 11:02:44 +02:00
emanuele-f
39d76d233d
Hide zero MAC address in remote to remote alerts
...
Addresses #3644
2020-05-19 14:41:19 +02:00