SMS Server Tools 3

HomeAlarm handler

The alarm handler is a program that smsd runs whenever an error occures.

Smsd gives the following arguments to the alarmhandler:

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.

The book describes how to display alarms with colours for their severities in a webbrowser.