Add sample custom query for host alerts. Fix host alerts format to handle empty fields.

This commit is contained in:
Alfredo Cardigliano 2023-07-24 15:50:59 +02:00
parent 96620bfe77
commit 7a314e9d69
7 changed files with 100 additions and 10 deletions

View file

@ -405,7 +405,8 @@ if ntop.isEnterpriseL() then
local column_def = nil
-- Hide columns which are already rendered in other columns (e.g. cli_name -> cli_ip)
if item.name == 'cli_name' or
if item.name == 'name' or
item.name == 'cli_name' or
item.name == 'srv_name' then
goto continue
end