Commit graph

43 commits

Author SHA1 Message Date
emanuele-f
f323aa741c Avoid loading am hosts for unavailable measurements 2020-04-27 12:29:07 +02:00
emanuele-f
80da76314d Avoid ICMP failures when socket cannot be created
Addresses #3842
2020-04-27 12:10:56 +02:00
gabryon99
fad9ce6542 add new i18n string for active monitoring 2020-04-24 19:57:24 +02:00
gabryon99
025a13f338 add filter for active monitoring 2020-04-24 19:57:24 +02:00
Simone Mainardi
2739aac076 Implements alert builders for each alert definition
[AlertsK] Implements alert consts builder

[AlertsK] alert_threshold_cross.lua

[AlertsK] too_many_drops.lua

[AlertsK] alert_test_failed.lua

[AlertsK] alert_flows_flood.lua alert_tcp_syn_flood.lua lert_tcp_syn_scan.lua

[AlertsK] alert_snmp_topology_changed.lua

[AlertsK] snmp_device_reset.lua

[AlertsK] alert_slow_periodic_activity.lua

[AlertsK] alert_port_status_change.lua

[AlertsK] alert_port_status_change.lua

[AlertsK] alert_port_load_threshold_exceeded.lua

[AlertsK] alert_port_errors.lua

[AlertsK] alert_port_duplexstatus_change.lua

[AlertsK] alert_periodic_activity_not_executed.lua

[AlertsK] alert_misbehaving_flows_ratio.lua

[AlertsK] alert_influxdb_error.lua

[AlertsK] alert_influxdb_dropped_points.lua

[AlertsK] alert_dropped_alerts.lua

[AlertsK] alert_am_threshold_cross.lua

[AlertsK] alert_broadcast_domain_too_large.lua

[AlertsK] alert_device_connection.lua

[AlertsK] alert_device_connection.lua

[AlertsK] alert_host_pool_connection.lua alert_host_pool_disconnection.lua

[AlertsK] alert_ghost_network.lua

[AlertsK] alert_ip_outsite_dhcp_range.lua

[AlertsK] alert_list_download_failed.lua

[AlertsK] alert_login_failed.lua

[AlertsK] alert_mac_ip_association_change.lua

[AlertsK] alert_slow_purge.lua

[AlertsK] alert_request_reply_ratio.lua

[AlertsK] alert_quota_exceeded.lua

[AlertsK] alert_process_notification.lua

[AlertsK] alert_nfq_flushed.lua

[AlertsK] alert_misconfigured_app.lua alert_new_device.lua

[AlertsK] alert_influxdb_export_failure.lua

[AlertsK] alert_unresponsive_device.lua

[AlertsK] alert_user_activity.lua

[AlertsK] alert_user_script_calls_drops.lua

[AlertsK] minor fix
2020-04-24 15:35:44 +02:00
Luca Deri
36e5296ea6 Fixed availability display 2020-04-24 11:15:46 +02:00
Luca Deri
4af0f9ed8d Updated availability layout 2020-04-23 22:28:39 +02:00
gabryon99
32ec182233 added 24 hour heatmp active monitoring 2020-04-23 22:06:20 +02:00
Luca Deri
13e5257c16 Availability hours are not returned as integer array 2020-04-23 21:38:16 +02:00
Luca Deri
069268fc15 Added 24H Availability 2020-04-23 18:33:45 +02:00
emanuele-f
7bd499adb9 Add host availability percentage 2020-04-23 16:06:18 +02:00
Simone Mainardi
78b334e4eb Refactors alerts and flow statuses in builtin and plugins
Implements #3811
Implements #3812

Refactors builtin alerts

Refactors builtin flow statuses
2020-04-21 22:27:49 +02:00
emanuele-f
ed64370093 Implement the host per-hour stats
Stats are available via the am_utils.getHourStats() call.
Implements #3807
2020-04-21 19:04:31 +02:00
Simone Mainardi
38f64e0a72 Fixes attempt to index a nil value (local 'entity_info')
Implements #3815
2020-04-21 16:43:20 +02:00
Simone Mainardi
ec4a71ff0a Removes plugin dep from active monitoring alerts
Implements #3815
2020-04-21 16:12:15 +02:00
emanuele-f
f10716fd17 Chart host unreachable data points as red lines
Needed for #3777
2020-04-21 15:49:25 +02:00
emanuele-f
c750a8422e Recheck the alert when a monitored host config changes 2020-04-21 10:33:06 +02:00
gabryon99
4717dc89a5 remove hard coded css elements
fix #3801
2020-04-20 15:36:56 +02:00
emanuele-f
0be2da4f57 Cleanup remaining references to RTT 2020-04-20 12:21:39 +02:00
Luca Deri
9fa3cf436c Added alert icon next to active measurements that exceed the threshold 2020-04-19 15:20:40 +02:00
gabryon99
4caea8fcb1 updates for widgets 2020-04-19 11:55:11 +02:00
emanuele-f
947fee33b2 Write 0 in timeseries for unreachable monitored hosts 2020-04-17 16:19:56 +02:00
emanuele-f
aab41dd66e Display Active Monitoring menu entry even when disabled 2020-04-17 16:00:20 +02:00
emanuele-f
f94f784c0f Move active monitoring HTTP lint to the plugin directory 2020-04-17 15:07:01 +02:00
emanuele-f
0968c7b984 Rename active monitoring timeseries 2020-04-17 12:41:21 +02:00
emanuele-f
35be58ede9 Fix speed test alerts not generated 2020-04-17 12:22:45 +02:00
emanuele-f
ab82d57ca4 Remove assigned unique measurements instead of disabling them 2020-04-16 17:58:10 +02:00
emanuele-f
0b6ba8edd0 Fix sorting on numeric values 2020-04-16 17:15:11 +02:00
Simone Mainardi
f126595d0e Changes i18n labels from rtt to active monitoring
Fixes #3768
2020-04-16 12:59:41 +02:00
emanuele-f
a5709eadd3 Change active monitoring notes 2020-04-16 12:42:19 +02:00
emanuele-f
5adfed5605 Disable already defined unique measurements 2020-04-16 12:26:51 +02:00
emanuele-f
edd119ce61 Fix numbers returned as strings causing broken sort 2020-04-16 11:32:26 +02:00
emanuele-f
01214d47db Add measurement localized label 2020-04-16 11:20:01 +02:00
emanuele-f
a3ff00584a Fix download active monitoring metric label 2020-04-16 11:08:28 +02:00
emanuele-f
aa2ad9c66e Remove fmbit js function.
The value_js_formatter is now used to format the measurement value in the datatable
2020-04-16 10:55:43 +02:00
emanuele-f
81232c2338 Fix RTT chart menu entry label 2020-04-15 18:13:34 +02:00
emanuele-f
70ca600ed3 Add am_utils.getRttSchemaForGranularity 2020-04-15 17:19:33 +02:00
emanuele-f
1febadb5bd Fix active monitoring alert unit 2020-04-15 11:14:00 +02:00
emanuele-f
5680cb1a04 Fix speedtest chart unit 2020-04-15 11:03:50 +02:00
emanuele-f
4bd04e7e4c Delete old timeseries when monitoring granularity is changed 2020-04-15 10:52:38 +02:00
Simone Mainardi
4177ee61ab Implements constant flow and alert ids
Enlarges AlertType size

Changes alerts database
2020-04-14 22:20:44 +02:00
emanuele-f
0ad1b65512 Add plugins support for httpdocs, HTML templates and Lua modules
Such resources can be placed into the following plugin subdirs:

- ./httpdocs: javascript, css and similar, see plugins_utils.getHttpdocsDir
- ./modules: Lua modules, see plugins_utils.loadModule
- ./templates: HTML templates, see plugins_utils.renderTemplate
2020-04-14 17:53:25 +02:00
Simone Mainardi
3e14bc30f8 Refactors RTT to Active Monitoring
Addresses #3741

Refactors RTT: rtt_utils to active_monitoring_utils

Refactors RTT: rtt_host to am_host schema name

Refactors RTT: import_active_monitoring_config.lua

Refactors RTT: active_monitoring_stats.lua

Refactors RTT: active_monitoring_stats i18n

Refactors RTT: get_active_monitoring_config.lua

Refactors RTT: get_active_monitoring_hosts

Refactors RTT: edit_active_monitoring_host

Refactors RTT: active_monitoring.lua

Refactors RTT: active_monitor

Refactors RTT: active_monitoring_utils.js

Refactors RTT: get_active_monitoring_hosts.lua fixes

Refactors RTT: last_rtt

Refactors RTT: rtt_host to am_host
2020-04-13 21:34:10 +02:00