📄 alarmhandler.html
字号:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <META NAME="Title" CONTENT="SMS Server Tools 3"> <META NAME="Robots" CONTENT="INDEX,FOLLOW"> <META NAME="Language" CONTENT="English"> <title>SMS Server Tools 3</title><STYLE type="text/css">h3 { background-color: #DCDCFE;}blockquote { background-color: #FFD; font-size: 90%; padding:5pt; padding-top:1pt; margin-bottom:5pt; border-style: outset; border-color: #aaaa99; border-width: 0.05pt 2pt 2pt 0.05pt;}blockquote p:first-letter { font-size: 110%; font-weight: bold; color: red;}</STYLE> </head><body><h2><font color=blue>SMS Server Tools 3</font></h2><a href="index.html">Home</a<h3>Alarm handler</h3><!-- START --><p>The alarm handler is a program that smsd runs whenever an error occures.<p>Smsd gives the following arguments to the alarmhandler:<p><ul> <li>the keyword ALARM</li> <li>a date in the format yyyy-mm-dd</li> <li>a time in the format hh:mm:ss</li> <li>the alarm severity (1 digit number)</li> <li>the modem name or SMSD</li> <li>the alarm text</li></ul> <p> Example:<p><font face="Courier New, Courier, monospace">#!/bin/sh<br># This is an example how to use an alarm handler with smsd.<br>echo SMSD alarm: $5 $6<br></font><p>This script displays a message for each alarm.<blockquote><p>The <a href="book.html" target="_blank">book</a> describes how to display alarms with colours for their severities ina webbrowser.</p></blockquote></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -