SMSD
|
|||
| | | | | | | |
Modem Status Monitor ![]() |
Statistics![]() |
Logfile![]() |
Eventhandler![]() |
SMSD provides some more functions. The picture above refers to version 1.3.1. Newer versions may have more functions.
Status Monitor
The Status Monitor shows you what your modems are doing. In this example Modem1 and Modem3 are receiving messages while Modem2
is sending and Modem4 is idle. Receiving means, that the modem is checked for received SM by running Getsms.
Statistics
SMSD collects statistic data that tell you how many SMS were sent, received and rejected. Additionally the statistic files
give information about the usage of each modem. You can simply create diagrams (like in the picture) using a spreadsheet
application. The usage counter help you to decide when to add more modems to improve performance.
SMSD writes statistic files in a configurable time interval. If you stop SMSD by pressing Ctrl-C or using the kill command it will hold the current counters in a temporary file. The counters will be added to yout next statistic file. So you will not lose counter values on program shutdown - this is different to nearly all other programs that count statistic data.
Logfile
The Log file is not neccessarily a file, but in common configurations it will be one. SMSD uses the syslod daemon to log
messages. You can configure the verbosity by changing your syslog configuration file. SMSD creates messages for errors,
warnings, notices, informations and debug messages.
You may configure syslog to write the messages into a separate file or into the default message log. And you may configure syslog to transfer all messages to another computer.
Eventhandler
The eventhandler is an optional script or program that will be run by SMSD if it sent or received a message. You can
use this feature to connect other programs to SMSD.
Alarmhandler
In case of problems the program generates alarm messages in the logfile and it can call an optional script or program.
You can use this feature to generate alarms wherever you want.
SQL Log
SMSD can log all events into a mysql table. You can use this table to create reports or to bill your customers. Please
note that the sql log also contains the status codes from status reports if you receive such messages.