mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add required modules in report templates. Add vs_utils.is_available.
This commit is contained in:
parent
2b7016e486
commit
bf93ebd29c
4 changed files with 31 additions and 6 deletions
|
|
@ -944,6 +944,14 @@ function vs_utils.update_all_periodicity(scan_frequency)
|
|||
|
||||
return true
|
||||
end
|
||||
|
||||
-- **********************************************************
|
||||
|
||||
function vs_utils.is_available()
|
||||
local scan_modules = vs_utils.list_scan_modules()
|
||||
return (#scan_modules > 0)
|
||||
end
|
||||
|
||||
-- **********************************************************
|
||||
|
||||
return vs_utils
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue