mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Add HostAlert constructor with check ID/name
This commit is contained in:
parent
d41aab8b28
commit
f3d5d8d07e
2 changed files with 17 additions and 3 deletions
|
|
@ -41,8 +41,10 @@ class HostAlert {
|
|||
Adds to the passed `serializer` (generated with `getAlertSerializer`) information specific to this alert
|
||||
*/
|
||||
virtual ndpi_serializer* getAlertJSON(ndpi_serializer* serializer) { return serializer; }
|
||||
void init(HostCheckID _check_id, std::string _check_name, Host *h, risk_percentage _cli_pctg);
|
||||
|
||||
public:
|
||||
HostAlert(HostCheckID check_id, std::string check_name, Host *h, risk_percentage _cli_pctg);
|
||||
HostAlert(HostCheck *c, Host *h, risk_percentage _cli_pctg);
|
||||
virtual ~HostAlert();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue