ntopng/scripts/lua
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
..
admin FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
examples Removes unsafe sqlite3 queries from Lua 2019-05-15 14:43:22 +02:00
inc Implement ntopng plugins 2019-12-10 09:25:57 +01:00
modules Implement ntopng plugins 2019-12-10 09:25:57 +01:00
rest/get Implement ntopng plugins 2019-12-10 09:25:57 +01:00
about.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
API.lua Fixes possible collisions when looking up flows by key 2019-10-16 19:04:10 +02:00
arp_matrix_graph.lua Bootstrap migration btn-default to btn-secondary 2019-12-05 09:27:47 +01:00
as_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
as_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
assistant_test.lua Updates on Google Assistant beta integration 2019-03-05 17:02:31 +01:00
authorize_captive.lua Implements informative captive portal (no login) 2018-06-06 10:33:36 +02:00
bubble.lua Bootstrap migration bubble charts 2019-12-05 12:08:33 +01:00
captive_portal.lua Fixes captive portal redirection URL not working 2019-08-27 18:17:44 +02:00
change_password.lua Fix language selection issues during first start 2019-02-19 11:01:21 +01:00
check_recording_data.lua Handles extractions from recording processes non managed by ntopng 2019-01-03 18:38:52 +01:00
check_update.lua Checks ntopng version updates daily over HTTPs 2018-11-19 18:10:15 +01:00
container_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
containers_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
country_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
country_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
defs_overview.lua Minor changes 2019-12-06 19:51:26 +01:00
directories.lua Add flow/alerts definitions directories 2019-10-16 17:45:55 +02:00
discover.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
do_export_data.lua Tracking more user activities: alerts deleted, all/inactive/interface data deleted, host data deleted, all/host data exproted 2018-12-05 04:36:30 +01:00
export_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
find_app.lua Improve category editor labels and protocol navigation 2018-10-18 19:22:02 +02:00
find_category.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
find_host.lua Search for SNMP interfaces (implements #2825) 2019-10-09 15:56:32 +02:00
find_member.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
find_prefs.lua Fix preferences search error 2018-12-13 10:46:55 +01:00
flow_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
flow_stats.lua Fixes possible collisions when looking up flows by key 2019-10-16 19:04:10 +02:00
flows_stats.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_alerts_table_data.lua Optimize disabled alerts bitmap redis access 2019-11-05 12:29:08 +01:00
get_arp_data.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_arp_matrix_data.lua ARP Map (#2540) 2019-04-17 13:23:10 +02:00
get_as_data.lua New pro charts features and timeseries api (#1865) 2018-07-18 15:09:19 +02:00
get_ases_data.lua New pro charts features and timeseries api (#1865) 2018-07-18 15:09:19 +02:00
get_config.lua Security fixes in backup/restore paths 2018-08-13 15:38:18 +02:00
get_containers_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_countries_data.lua Implement countries serialization 2019-05-27 13:07:30 +02:00
get_country_data.lua Implement countries serialization 2019-05-27 13:07:30 +02:00
get_db_data.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_db_flows.lua Bootstrap migration labels to badges 2019-12-05 09:27:46 +01:00
get_dhcp_config.lua Add input checks in DHCP range configuration page 2019-02-27 15:58:26 +01:00
get_disabled_alerts.lua Optimize disabled alerts bitmap redis access 2019-11-05 12:29:08 +01:00
get_discover_data.lua Unify os (#2755) 2019-08-08 12:09:51 +00:00
get_discover_progress.lua Implements AJAX discovery progress updates 2018-08-02 15:38:11 +02:00
get_extracted_traffic.lua dialog to download multiple files 2018-10-18 15:37:19 +02:00
get_fingerprint_data.lua Adds HASSH hyperlinks and application name when eBPF is available 2019-08-26 21:53:43 +02:00
get_flow_data.lua Bootstrap migration progress bars 2019-12-05 09:27:47 +01:00
get_flow_db_data.lua Initial flows dbms api skeleton 2018-07-18 17:24:25 +02:00
get_flow_process_tree.lua Fixes flow process trees 2019-10-16 19:30:31 +02:00
get_flows_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_geo_hosts.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_grouped_hosts_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_historical_data.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_historical_favourites.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_host_contacts.lua Unify os (#2755) 2019-08-08 12:09:51 +00:00
get_host_data.lua Bootstrap migration progress bars 2019-12-05 09:27:47 +01:00
get_host_pools.lua Fix manage pools page js errors with non english locales 2018-09-25 17:34:36 +02:00
get_host_traffic.lua Properly refreshes top-hosts page according to the configured rate 2017-09-08 15:31:51 +02:00
get_hosts_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_http_hosts.lua Moved header for all pages to page_utils 2018-11-29 18:10:18 +01:00
get_http_hosts_data.lua Fixes broken HTTP servers page refresh 2019-05-20 12:41:57 +02:00
get_icmp_data.lua Implemented redis stats 2019-11-04 17:58:12 +01:00
get_influxdb_info.lua Implement ntopng plugins 2019-12-10 09:25:57 +01:00
get_internals_hash_tables_stats.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_internals_periodic_activities_stats.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_mac_data.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_macs_data.lua Remove DHCP flag on the MAC 2019-02-26 18:45:47 +01:00
get_network_data.lua Allows top talkers generation to be enabled/disabled 2019-09-11 16:42:26 +02:00
get_networks_data.lua Allows top talkers generation to be enabled/disabled 2019-09-11 16:42:26 +02:00
get_num_alerts.lua Fix purge past alerts button 2019-10-22 16:56:06 +02:00
get_pods_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_pool_data.lua Allows top talkers generation to be enabled/disabled 2019-09-11 16:42:26 +02:00
get_pools_data.lua Allows top talkers generation to be enabled/disabled 2019-09-11 16:42:26 +02:00
get_process_data.lua Use process name and username as key instead of pid and uid 2019-05-30 18:04:38 +02:00
get_process_info.lua Bootstrap migration tabs 2019-12-05 09:27:47 +01:00
get_processes_data.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_processes_graph_data.lua Adds process-process eBPF graphs in host details 2018-11-08 10:14:46 +01:00
get_system_hosts_interaction.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_system_interfaces_stats.lua Bootstrap migration progress bars 2019-12-05 09:27:47 +01:00
get_top_talkers.lua Allows top talkers generation to be enabled/disabled 2019-09-11 16:42:26 +02:00
get_treemap.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
get_unknown_devices_data.lua Remove host macs and show source macs instead 2018-03-23 14:42:21 +01:00
get_user_info.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
get_username_data.lua Use process name and username as key instead of pid and uid 2019-05-30 18:04:38 +02:00
get_vlan_data.lua New pro charts features and timeseries api (#1865) 2018-07-18 15:09:19 +02:00
get_vlans_data.lua New pro charts features and timeseries api (#1865) 2018-07-18 15:09:19 +02:00
google_assistant_utils.lua ARP Map (#2540) 2019-04-17 13:23:10 +02:00
hash_table_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
host_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
host_details_ndpi.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
host_details_ndpi_categories.lua New pro charts features and timeseries api (#1865) 2018-07-18 15:09:19 +02:00
host_dns_breakdown.lua DNS queries pie chart fix 2019-12-05 17:14:02 +01:00
host_http_breakdown.lua Unify character encoding header code 2017-05-04 17:12:06 +02:00
host_l4_stats.lua Fix received bytes not accounted in host L4 pie chart 2019-04-23 10:37:22 +02:00
host_pkt_distro.lua Minor fix for interfaces with no packets visibility 2019-04-15 14:33:23 +02:00
host_stats.lua Implements AJAX refresh of hosts custom column 2019-02-20 13:16:10 +01:00
host_top_peers_protocols.lua Fix peers page host application link 2019-08-05 10:17:53 +02:00
hosts_comparison.lua Bootstrap migration btn-default to btn-secondary 2019-12-05 09:27:47 +01:00
hosts_comparison_sankey.lua Always show IPv6 suffix in IPv6 host names 2017-05-04 21:28:11 +02:00
hosts_geomap.lua Minor changes 2019-12-06 19:51:26 +01:00
hosts_stats.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
hosts_treemap.lua Minor changes 2019-12-06 19:51:26 +01:00
hotspot-detect.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
http_servers_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
if_pkt_distro.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
if_stats.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
if_stats_ndpi.lua Implements nDPIStats throughput calc for NetworkInterface 2019-09-04 10:21:21 +02:00
if_stats_ndpi_categories.lua New pro charts features and timeseries api (#1865) 2018-07-18 15:09:19 +02:00
if_tcpflags_pkt_distro.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
iface_flows_sankey.lua Fixed sankey proportions when processing pcap files 2019-07-15 18:49:48 +02:00
iface_hosts_list.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
iface_local_stats.lua Prevents large MySQL exports that could cause Lua OOMs 2018-08-10 15:50:28 +02:00
iface_ndpi_stats.lua Implements eBPF username page with per-user nDPI pie charts 2018-11-05 19:01:05 +01:00
iface_ports_list.lua Fixes ports pie charts with VLANs and reworks their appearence 2019-10-22 13:00:22 +02:00
iface_tcp_stats.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
index.lua Bootstrap migration preferences 2019-12-05 09:27:48 +01:00
info_portal.lua Using header-minimal from page_utils, removed header-minimal.inc 2018-11-29 17:25:32 +01:00
jsontest.lua Example JSON test/decode 2018-05-23 17:15:35 +02:00
live_capture_data.lua Bootstrap migration labels to badges 2019-12-05 09:27:46 +01:00
live_capture_stats.lua Moved header for all pages to page_utils 2018-11-29 18:10:18 +01:00
live_traffic.lua Factorization of live traffic download code 2018-08-10 19:14:39 +02:00
local_hosts_anomaly_checker.lua Improves anomaly index on active flows 2019-02-06 11:31:56 +01:00
login.lua Disable user login after failed attempts 2018-12-17 17:36:38 +01:00
logout.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
mac_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
mac_pkt_distro.lua ARP fixes 2018-03-22 23:31:24 +01:00
mac_stats.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
macs_stats.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
manage_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
metrics.lua Fixed Prometheus.io export. TODO: tell ntopng to read from data from it 2019-07-01 19:07:47 +02:00
network_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
network_state.lua Implements filtering per flow status in the active flows page 2019-05-20 18:54:50 +02:00
network_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
os_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
page_not_found.lua Moved header for all pages to page_utils 2018-11-29 18:10:18 +01:00
periodic_script_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
pid_stats.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
please_wait.lua Fix missing http_prefix in refer 2019-07-18 17:26:14 +02:00
pod_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
pods_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
pool_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
pool_stats.lua Minor changes 2019-12-06 19:51:26 +01:00
port_details.lua Initial sprobe code cleanup 2019-02-11 14:22:36 +01:00
process_details.lua Use process name and username as key instead of pid and uid 2019-05-30 18:04:38 +02:00
processes_stats.lua Bootstrap migration tabs 2019-12-05 09:27:47 +01:00
reload_plugins.lua Implement ntopng plugins 2019-12-10 09:25:57 +01:00
reset_stats.lua Implements interface and collection stats reset for ZMQ interfaces 2019-09-13 12:12:54 +02:00
resolve_address.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
show_alerts.lua Fixes missing alerts lists when only past alerts available 2019-08-27 14:54:19 +02:00
show_geolocation_note.lua Google Maps API Key instructions 2019-07-26 09:02:52 +00:00
sprobe_data.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
sprobe_host_process_data.lua Old sprobe code cleanup 2018-11-06 15:38:49 +01:00
stop_live_capture.lua Script for stopping live captures 2018-08-08 16:35:59 +02:00
system_interfaces_stats.lua Expresses packet drops with a progress bar 2019-11-19 15:25:52 +01:00
system_stats.lua Implement ntopng plugins 2019-12-10 09:25:57 +01:00
telemetry.lua Implements visualization of sent telemetry data 2019-05-28 18:17:02 +02:00
test_alerts.lua Implement ntopng plugins 2019-12-10 09:25:57 +01:00
test_delete_nindex.lua Add harvestDateBasedDirTree more log traces 2019-07-23 15:12:38 +02:00
test_locales.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
test_snmp.lua Rename rrd_dump to ts_dump 2019-02-15 11:36:07 +01:00
top_hosts.lua Fix top hosts links 2018-12-20 18:39:31 +01:00
traffic_extraction.lua Handles custom n2disk instances within ntopng 2019-01-16 16:59:36 +01:00
traffic_extraction_data.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
traffic_recording_config.lua Notifies the user when an external n2disk is available to bind to ntopng 2019-01-29 16:38:52 +01:00
unknown_devices.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
update_prefs.lua Fix ts_utils.listSeries in redis.lua being performed on every page load 2019-11-25 15:39:21 +01:00
user_script_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
user_scripts_overview.lua Minor changes 2019-12-06 19:51:26 +01:00
user_stats.lua Updated (C) to 2018 2018-03-22 21:59:42 +01:00
username_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
vlan_details.lua FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
vlan_stats.lua Minor changes 2019-12-06 19:51:26 +01:00