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:
GabrieleDeri 2024-07-10 18:59:44 +02:00 committed by GitHub
parent 51ee7ef413
commit 01faee3c5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 33 additions and 1 deletions

View file

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