mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes and simplifies infrastructure host labels
This commit is contained in:
parent
cc2e56a8cb
commit
3f6dfd2e9c
4 changed files with 30 additions and 17 deletions
|
|
@ -1822,7 +1822,7 @@ function alert_utils.formatAlertMessage(ifid, alert, alert_json)
|
|||
local active_monitoring_utils = plugins_utils.loadModule("active_monitoring", "am_utils")
|
||||
local host = active_monitoring_utils.key2host(alert.alert_entity_val)
|
||||
|
||||
if host and host.measurement then
|
||||
if host and host.measurement and not host.is_infrastructure then
|
||||
msg = msg .. ' <a href="'.. ntop.getHttpPrefix() ..'/plugins/active_monitoring_stats.lua?am_host='
|
||||
.. host.host .. '&measurement='.. host.measurement ..'&page=overview"><i class="fas fa-cog" title="'.. i18n("edit_configuration") ..'"></i></a>'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue