mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-21 18:33:24 +00:00
Moved network discovery to monitoring from dashboard (#9041)
* Fixed dist and error codes in scss * Moved network discovery to monitoring from dashboard
This commit is contained in:
parent
ee47ccb4d9
commit
1f99754da4
6 changed files with 102 additions and 97 deletions
|
|
@ -317,6 +317,11 @@ function asset_utils.insertHost(entry, ifid)
|
|||
return
|
||||
end
|
||||
|
||||
if isEmptyString(entry["manufacturer"]) then
|
||||
entry["manufacturer"] = "unknown"
|
||||
tprint("Empty manufacturer")
|
||||
end
|
||||
|
||||
if hasClickHouseSupport() then
|
||||
query = string.format("INSERT INTO %s " ..
|
||||
"(type, key, ifid, ip, mac, vlan, network, name, device_type, manufacturer, first_seen, last_seen, version, json_info) " ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue