mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added better handling of blacklisted hosts and alerts
Disabled MySQL DB for view interfaces
This commit is contained in:
parent
fd6bd7ef76
commit
ee400ef10f
7 changed files with 36 additions and 20 deletions
|
|
@ -631,6 +631,7 @@ end
|
|||
if(host["localhost"] == true) then print('<span class="label label-success">Local</span>') else print('<span class="label label-default">Remote</span>') end
|
||||
if(host["privatehost"] == true) then print(' <span class="label label-warning">Private IP</span>') end
|
||||
if(host["systemhost"] == true) then print(' <span class="label label-info">System <i class=\"fa fa-flag\"></i></span>') end
|
||||
if(host["is_blacklisted"] == true) then print(' <span class="label label-danger">Blacklisted Host</span>') end
|
||||
|
||||
print(getHostIcon(labelKey))
|
||||
print("</td>\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue