For a customer we need a quick / basic approach for alerting.
Design decisions for a very basic alerting:
alerting shall be generic to any metric (even metrics that are not collected by inspectIT e.g. collectd)
all data, the alerting shall work on must be in influxDB
alerts shall be sent if a threshold is exceeded by any single measurement
Time range (interval) of checking the metrics
for now only e-mail notification
for a series of subsequent intervals in which the threshold is exceeded an e-mail is only sent for the first and the last interval (start and end).
DTO Objects (XML files)
Services for UI - CMR configuration
extend InfluxDAO for querying
Alerting Component (responsible for the scheduled checks)
config of e-mail server (CMR properties)
additional view for configuring alerts