mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
Fix active monitoring add action in the host page
This commit is contained in:
parent
4084412e40
commit
abf91c2702
3 changed files with 30 additions and 17 deletions
|
|
@ -525,6 +525,16 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
--! @brief Check if the specified measurement is available
|
||||
--! @return true if available, false otherwise
|
||||
function am_utils.isMeasurementAvailable(measurement)
|
||||
loadAmPlugins()
|
||||
|
||||
return(loaded_measurements[measurement] ~= nil)
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
--! @brief Get a list of granularities allowed the the measurements
|
||||
--! @param measurement the measurement key for which the granularities should be returned
|
||||
--! @return a list of allowed granularities <titlae, value> for the gui.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue