Commit graph

30 commits

Author SHA1 Message Date
Simone Mainardi
18bf6fa3d5 Fixes alerted active monitoring hosts not reported as alerted
Fixes #3904
2020-05-08 17:47:33 +02:00
emanuele-f
d296210aa6 Improve active monitoring configuration import logic
Existing hosts are now preserved as the logic now relies on the add/edit active monitoring host API.

Addresses #3903
2020-05-07 15:50:08 +02:00
emanuele-f
010ea26c85 Fix broken active monitoring conf export
Fixes #3892
2020-05-06 17:52:02 +02:00
emanuele-f
c9b464cd5b Show jitter information for continuous ping 2020-05-04 11:11:17 +02:00
emanuele-f
abf91c2702 Fix active monitoring add action in the host page 2020-04-30 15:00:32 +02:00
emanuele-f
9381dd6fc0 Show upload speed and latency in speedtest active monitoring 2020-04-29 16:51:11 +02:00
emanuele-f
815579c8b8 Split continuous icmp and one shot icmp 2020-04-29 14:38:25 +02:00
emanuele-f
fe81beee33 Fix active monitoring hosts passed to wrong check functions 2020-04-29 12:41:22 +02:00
emanuele-f
675d8ce8ab Drop hour stats when the host is edited 2020-04-28 15:33:42 +02:00
emanuele-f
e3115e14e8 Alternative message for speedtest execution alerts 2020-04-28 12:53:43 +02:00
Simone Mainardi
290175b16f Refactors alrt builders into creators
Refactors builders into creators: calls
2020-04-27 15:53:56 +02:00
emanuele-f
00c5e9f909 Add ability to report resolved IP address for unreachable hosts 2020-04-27 15:46:03 +02:00
emanuele-f
2648ae372f Rename measure in metric for active monitoring ts
Closes #3837
2020-04-27 14:36:30 +02:00
emanuele-f
f323aa741c Avoid loading am hosts for unavailable measurements 2020-04-27 12:29:07 +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
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
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
c750a8422e Recheck the alert when a monitored host config changes 2020-04-21 10:33:06 +02:00
emanuele-f
0be2da4f57 Cleanup remaining references to RTT 2020-04-20 12:21:39 +02:00
emanuele-f
0968c7b984 Rename active monitoring timeseries 2020-04-17 12:41:21 +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
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
4bd04e7e4c Delete old timeseries when monitoring granularity is changed 2020-04-15 10:52:38 +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