mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
parent
41ff6bcb3b
commit
f75331d2b5
10 changed files with 146 additions and 8 deletions
|
|
@ -301,6 +301,12 @@ function os_utils.os2record(ifId, os)
|
|||
record["column_alerts"] = "0"
|
||||
end
|
||||
|
||||
record["column_chart"] = ""
|
||||
|
||||
if areOSTimeseriesEnabled(ifId) then
|
||||
record["column_chart"] = '<A HREF="'..ntop.getHttpPrefix()..'/lua/os_details.lua?os='..os["os"]..'&page=historical"><i class=\'fas fa-chart-area fa-lg\'></i></A>'
|
||||
end
|
||||
|
||||
record["column_hosts"] = os["num_hosts"]..""
|
||||
record["column_since"] = secondsToTime(now - os["seen.first"] + 1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue