mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added ntopng assets inventory pref (#8513)
* Fixed #8492, removed unused formatting function in lua * Fixed host pool doc #8487 * Fixed ebroken menu entry highlight #8498 * Fixed geomap REST location: #8486 * Removed log * Added german #8488 * Implemented ticket: #7648 * Added new endpoints to python API * Implemented flow exporter table: #8490 * Added table config for flow exporter * Added ntopng assets inventory pref
This commit is contained in:
parent
51ee7ef413
commit
01faee3c5e
8 changed files with 33 additions and 1 deletions
|
|
@ -836,6 +836,13 @@ function isNetBoxEnabled()
|
|||
return (ntop.getPref("ntopng.prefs.toggle_netbox") == "1")
|
||||
end
|
||||
|
||||
function isNtopngAssetsInventoryEnabled()
|
||||
if not ntop.isEnterpriseXL() then
|
||||
return false
|
||||
end
|
||||
return (ntop.getPref("ntopng.prefs.toggle_ntopng_assets_inventory") == "1")
|
||||
end
|
||||
|
||||
function getNetBoxURL()
|
||||
if not ntop.isEnterpriseXL() or not ntop.getPref("ntopng.prefs.toggle_netbox") == "1" then
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue