Added better handling of blacklisted hosts and alerts

Disabled MySQL DB for view interfaces
This commit is contained in:
Luca Deri 2016-12-19 16:57:14 +01:00
parent fd6bd7ef76
commit ee400ef10f
7 changed files with 36 additions and 20 deletions

View file

@ -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")