The alarm handler is a program that smsd runs whenever an error occures.
Smsd gives the following arguments to the eventhandler:
Example:
#!/bin/sh
# This is an example how to use an alarm handler with smsd.
echo SMSD alarm: $5 $6
This script displays a message for each alarm.
Note that the alarm handler will never called for events with severity debug (7) and info (6)
The book describes how to display alarms with colours for their severities in a webbrowser.