Commit graph

761 commits

Author SHA1 Message Date
Simone Mainardi
e674c73a2e Simplifies the API for stateful host alerts 2016-08-01 18:22:43 +02:00
valentina
d9b565e44b Other changes for SIP protocol. 2016-07-31 18:59:31 +02:00
valentina
4ad4fe04bd changes for SIP protocol. 2016-07-31 09:46:14 +02:00
Simone Mainardi
845250f5a0 Reworks thresholds alerts management to allow function override
Functions will be overridden in the professional version
2016-07-29 19:44:18 +02:00
Simone Mainardi
64e98766e7 Minor fix to improve robustness of alerts re arming 2016-07-28 16:01:05 +02:00
Simone Mainardi
2ec5c8e798 Replaces sub with gsub for string substitution 2016-07-28 15:48:41 +02:00
Simone Mainardi
a31225e2ab Sets vlan 0 to implicit for nagios alerts
This is to ensure backward compatibility with previous
nagios alert format.
2016-07-28 15:45:11 +02:00
Simone Mainardi
85c5beb545 Implements alerts on a per-interface per-vlan basis
Interfaces were handled globally before this commit. Now
alerts can be configured per-interface. So for example alerts
for the same host 193.168.2.1 can be handled differently on multiple interfaces.

Old alerts configured should be automatically migrated thanks to script startup.lua

This commits also paves the way to introduce stateful alerts in the professional version
2016-07-27 22:10:17 +02:00
Simone Mainardi
fe28c46079 Makes the edit user preferences tabbable 2016-07-27 11:38:36 +02:00
Simone Mainardi
60266edfd3 Fixes an interface naming issue on windows
TODO: check if other parts are affected.
The issue is caused by windows that names intefaces such
as \Devices\PF_{xxx} and backslashes invalidates the json
2016-07-26 20:08:00 +02:00
Simone Mainardi
374d41387a Implements a lua table slicing facility 2016-07-26 20:07:10 +02:00
Simone Mainardi
106ba35d2c Removes redundant calls in alerts 2016-07-26 20:06:45 +02:00
Simone Mainardi
f9974cce38 Forcefully hides alerts 2016-07-25 12:22:46 +02:00
Simone Mainardi
9834f1bfdb Rearranges user add/edit panes 2016-07-25 11:49:37 +02:00
Simone Mainardi
0de66219d0 Sets flow vlan to DOT1Q if no inner vlan is detected
If no {SRC,DST}_VLAN field is set, then the outer vlan values
found in Q-in-Q DOT1Q_{SRC,DST}_VLAN are used (if set) to populate
flow vlan.

Fixes #650
2016-07-24 14:26:08 +02:00
Simone Mainardi
128c11652c Implements alerts toggle from the web interface 2016-07-22 18:56:07 +02:00
Luca
ad047d63d0 Fixed SNMP issues in host detail
Improved SSL readme
2016-07-19 20:12:38 +02:00
Simone Mainardi
f261b9c6b1 Merge remote-tracking branch 'upstream/dev' into dev 2016-07-18 20:07:32 +02:00
Simone Mainardi
f3bff5d2aa Minor change
This change is propaedeutic to Professional commit:

commit 1e1d453a1e96cc4394a0b94a7efe0b5857b1b1eb
Author: Simone Mainardi <simonemainardi@gmail.com>
Date:   Mon Jul 18 20:04:53 2016 +0200

    Improves the usability of historical charts
2016-07-18 20:05:40 +02:00
Luca Deri
6393adc446 Improvements for host SNMP location through the SNMP bridge MIB 2016-07-18 19:27:04 +02:00
Simone Mainardi
57c4d74733 Changes to improve behavior consistency with current implementation 2016-07-18 10:55:15 +02:00
Simone Mainardi
cd5f3dbfd6 Merge branch 'log-preferences' of https://github.com/mathieufrh/ntopng into mathieufrh-log-preferences 2016-07-18 10:31:13 +02:00
Simone Mainardi
cf431236fa Improves host configuration when VLANS are enabled
Fixes #661
2016-07-15 15:36:40 +02:00
Mathieu
46330a0fdd Check for cmdl trace level option 2016-07-15 14:42:11 +02:00
Simone Mainardi
62e8ee0be7 Handles allowed interfaces with ids to prevent issues with special chars 2016-07-14 16:41:42 +02:00
Luca Deri
03897ecc2e Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-07-14 15:18:27 +02:00
Luca Deri
6acebf7706 Added Devices menu 2016-07-14 15:18:03 +02:00
Simone Mainardi
7a8878a886 Adds bidirectional flags in host_get_json TCP flows
An excerpt of the json returned is:

{"srv.ip":"a.b.c.d","cli.port":50559,"srv.port":443,
"cli2srv.tcp_flags":{"SYN":1,"RST":0,"PSH":1,"FIN":0,"URG":0,"ACK":1},"cli2srv.throughput_bps":0,"bytes":2869,"srv2cli.throughput_bps":0,"cli2srv.throughput_pps":0,
"srv2cli.tcp_flags":{"SYN":1,"RST":0,"PSH":1,"FIN":0,"URG":0,"ACK":1},"tcp_established":true,"srv2cli.throughput_pps":0,"cli.ip":"192.168.2.130","proto.ndpi_id":126,"proto.ndpi":"SSL.Google"},
2016-07-14 12:44:55 +02:00
Mathieu
2dc31415b5 Add log preferences 2016-07-13 18:16:36 +02:00
Simone Mainardi
0515516952 Adds the Observation Period in historical Breadcrumbs 2016-07-13 17:58:40 +02:00
Luca Deri
94d5065603 Updates for the enterprise edition 2016-07-13 11:47:55 +02:00
Simone Mainardi
926a57f658 Executes db explorer queires automatically on user click
Clicking on flow details (e.g., protocol or src or dst)
automatically redirects the user to the db explorer page
and preserves selection details (pro version).
2016-07-12 17:02:14 +02:00
Luca Deri
c25a9a632d Fixed SNMP wrapping bug
Added ability to graph flow-devices port I/O
2016-07-12 15:51:26 +02:00
Luca Deri
0b26aa9b0f Fixed broken icon in waiting page
Oreliminary work to detect future enterprise edition
Minor change in MySQL error report
2016-07-12 00:31:43 +02:00
Simone Mainardi
7607c90e93 Adds an extra check against possible nil values
Fixes #654
2016-07-11 14:30:23 +02:00
Luca
c85fa80ddd Removed hard-coded number now a #define
Preliminary work for the enterprise edition
2016-07-09 09:58:13 +02:00
Simone Mainardi
bb2af892e2 Includes custom HTTP prefixes in alert links
Fixes #652
2016-07-08 16:28:53 +02:00
Simone Mainardi
23197acbbb Fixes a typo in the HTTP page 2016-07-06 15:57:46 +02:00
Simone Mainardi
2c693cb0c1 Adds the ability to set a custom Google Maps API key
Users can now generate a custom Google Maps API key and
set it via ntopng Preferences page.

Addresses #646
2016-07-06 11:46:37 +02:00
Simone Mainardi
a5cec74d36 Fixes a typo 2016-07-05 10:55:17 +02:00
Simone Mainardi
a51994cfec Implements asynchronous database schema updates
Database updates are now performed asynchronously.
The web server starts but notifies the user with a
'please wait' message until the updates are completed.
2016-07-04 19:37:44 +02:00
Luca Deri
f56e91d3ca Added link to flow device if present 2016-07-04 18:03:04 +02:00
Luca Deri
5088fe0f33 Flow collection improvements 2016-07-04 17:50:23 +02:00
Luca Deri
ef62c85bc7 Implemented host deviceIP/port binding 2016-07-04 00:04:32 +02:00
Luca Deri
5bc06b9875 Small cosmetic fix for ZMQ interfaces 2016-07-03 14:43:35 +02:00
Luca Deri
5791d5a262 Improved SNMP support 2016-07-03 13:06:34 +02:00
Luca Deri
847e5954df implementation of flow devices stats (work in progress) 2016-07-02 16:16:59 +02:00
valentina
4c6adfdb49 Changed for SIP flows 2016-07-01 23:33:35 +02:00
Luca Deri
3e0705528b Fixed Invalid exporter address display (endianess) 2016-06-27 14:12:56 +02:00
valentina
39410f683e Changes for SIP flows. 2016-06-26 14:01:02 +02:00