The alarm handler process is a
The simple event handler sends all alarms as info reports to the error logger, and saves all of them in a list which can be passed to a user defined event handler, which may be installed at a later stage. The list can grow large if many alarms are generated. So it is a good reason to install a better user defined handler.
There are functions to set and clear alarms. The format of alarms are defined by the user. For example, an event handler for SNMP could be defined, together with an alarm MIB.
The alarm handler is part of the SASL application.
When writing new event handlers for the alarm handler, the following events must be handled:
This event is generated by
This event is
generated by
The default simple handler is called
Sends the
When receiving this event, the default simple handler
clears the latest received alarm with id
Returns a list of all active alarms. This function can only be used when the simple handler is installed.
Sends the
When receiving this event, the default simple handler
stores the alarm. The
error_logger(3), gen_event(3)