mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Enhanced alerts: added alarm status on/off/permanent to handle in the future for counting pending issues
This commit is contained in:
parent
892d8d0168
commit
bc6a018415
9 changed files with 44 additions and 26 deletions
|
|
@ -293,10 +293,11 @@ function getQueuedAlerts(initial_idx, max_num_alerts)
|
|||
--! @memberof ntop
|
||||
--! @brief Returns the redis queued alerts
|
||||
--! @tparam integer alert_level The alert level. See AlertLevel in ntop_typedefs.h
|
||||
--! @tparam integer alert_status The alert status. See AlertStatus in ntop_typedefs.h
|
||||
--! @tparam integer alert_type The alert type. See AlertType in ntop_typedefs.h
|
||||
--! @tparam string alert_message A string message that describes the alert being reported.
|
||||
--! @details Returns up to the the number of queued alerts
|
||||
function queueAlert(alert_level, alert_type, alert_message)
|
||||
function queueAlert(alert_level, alert_status, alert_type, alert_message)
|
||||
|
||||
--! @memberof ntop
|
||||
--! @brief Get the host name associated with the host id in the hash stored at key.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue