3.9.3. Alert moduleΒΆ

Alert module back-end.

Functions

struct alerter * alert_module_alerter(struct module * module, struct parameters * args)

Create an alerter from the given module.

class alerter_module

Alerter helper structure.

Public Members

struct alerter alerter

struct alert_module * module

class alert_module

Alert module structure. This module type will allow to create custom alert back-end for Haka to, for instance, put the alert into syslog or append it to a database.

Public Members

struct module module

Module structure.

struct alerter_module *(* init_alerter)(struct parameters *args)

Create a new alerter. This function must fill the fields of the struct alerter_module.

void(* cleanup_alerter)(struct alerter_module *alerter)

Destroy an alerter.