Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::alert_trigger Class Referenceabstract

Base class for alert trigger conditions. More...

#include <alert_rule.h>

Inheritance diagram for kcenon::monitoring::alert_trigger:
Inheritance graph
Collaboration diagram for kcenon::monitoring::alert_trigger:
Collaboration graph

Public Member Functions

virtual ~alert_trigger ()=default
 
virtual bool evaluate (double value) const =0
 Evaluate the trigger condition.
 
virtual std::string type_name () const =0
 Get trigger type name.
 
virtual std::string description () const =0
 Get human-readable description.
 

Detailed Description

Base class for alert trigger conditions.

Triggers define the conditions that cause an alert to fire. Different trigger types (threshold, rate of change, anomaly, etc.) inherit from this class.

Examples
alert_triggers_example.cpp.

Definition at line 325 of file alert_rule.h.

Constructor & Destructor Documentation

◆ ~alert_trigger()

virtual kcenon::monitoring::alert_trigger::~alert_trigger ( )
virtualdefault

Member Function Documentation

◆ description()

◆ evaluate()

◆ type_name()


The documentation for this class was generated from the following file: