SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links


 Search
Custom Search

 Visitor locations
 
 Status monitor

Status monitor

This function is disabled by default. You need to install the OSSP mm Shared Memory Library, also called mm or libmm. Then you need to enable statistics in src/Makefile and recompile the source code.

The status monitor is a text that smsd writes every second to stdout. This is normally your console but you can redirect it to any device or file.

The status monitor shows you what your modems are actually doing. Each character represents one modem. The first one is the first modem in your config file.

The status may be:

s = sending
r = receiving (or checking received SM)
i = idle
b = blocked (after multiple errors)
t = trouble
- = not configured

Example:

iiiriisssisss---
iiiriisssisss---
rriiiiissisis---
rriiiiiiiiiii---
iiiiiiiiiiiir---

Run smsd with the option -s if you want the status monitor. This works only if you run the program in a shell window. Do not use -s if you run the program in background.

Statistics file

This function is disabled by default. You need to install the OSSP mm Shared Memory Library, also called mm or libmm. Then you need to enable this feature in src/Makefile and recompile the source code.

Smsd collects statisic data and writes them into files. The program generates one file every hour or whatever interval you configured. The filenames are simple timestamps in the format YYMMDD.hhmmss.

The statistic files contain two parts, delimited by an empty line. The first part has global counters and the second part has individual counters for each modem.

Global statistic data:

  • time since the last statistic file
  • counter of rejected SM

Statistic data for each modem:

  • counter of successful sent SM
  • counter of failed SM (sending)
  • counter of received SM
  • counter of multiple consecutive failures
  • time of modem usage by sending SM
  • time of modem usage by receiving SM

Example file with name "010811.150030" , taken from a system with 2 modems:

runtime,rejected
1200,1
 
name,succeeded,failed,received,multiple_failed,usage_s,usage_r
GSM1,20,0,1,0,80,0
GSM2,5,0,1,0,40,900

In the future versions, if the file format is changed, new counters are added to the right end.



 
 Sponsored links
Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.