Question to sms modem and sms queue

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
mp1
Posts: 200
Joined: Tue Mar 07, 2006 3:24 am

Question to sms modem and sms queue

Post by mp1 »

Hi,

We are just implementing a gsm modem.
All works perfect, but is there a way to check the gsm modem itself?

What does this from the manual exactly mean?


SMS module has its own logging options. Why? HostMonitor puts messages into query and does not spend its resources to manage GSM modems. Separate module, called SMS spooler, manages messages and works with the modems.
Is there a sms queue wich we can check?
There is a possibilty to configure a backup modem, how does hostmonitor check this?

We have a backup modem, which however is connected on another server, so if there would be a problem with the gsm modem on the hostmonitor server, we could generate a file and send this via the second modem.

Thanks in advance

Martin
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Question to sms modem and sms queue

Post by KS-Soft Europe »

mp1 wrote:All works perfect, but is there a way to check the gsm modem itself?
What do you mean? Could you explain your question? If you want to check your modem, you may use standard windows "Hyper Terminal" utility. Also, HostMonitor offers special "SMS Test" window, that allows you to send SMS in test mode. To invoke "SMS Test" window you just should click on the "Test" button in the "Options" -> "SMS GSM" tab.
mp1 wrote:What does this from the manual exactly mean?
SMS module has its own logging options. Why? HostMonitor puts messages into query and does not spend its resources to manage GSM modems. Separate module, called SMS spooler, manages messages and works with the modems.
It means there is a special library (KSGSMXLib.ocx) that takes care of sending messages. This library manages special queue. In case of alert, HostMonitor just push the message to the queue asynchronously.
mp1 wrote:Is there a sms queue wich we can check?
No, there is an internal queue, you cannot check it. You may setup HostMonitor to write extended information in special log file, that is specified in "Options" -> "SMS GSM" tab.
mp1 wrote:There is a possibilty to configure a backup modem, how does hostmonitor check this?
If HostMonitor cannot send SMS through the primary modem, it will try to send messages using backup.
mp1 wrote:We have a backup modem, which however is connected on another server, so if there would be a problem with the gsm modem on the hostmonitor server, we could generate a file and send this via the second modem.
HostMonitor is able to send SMS through the modems, connected to the server, where HostMonitor is running. It is impossible to send SMS through modem, connected to another server.

Regards,
Max
mp1
Posts: 200
Joined: Tue Mar 07, 2006 3:24 am

Post by mp1 »

What do you mean? Could you explain your question? If you want to check your modem, you may use standard windows "Hyper Terminal" utility. Also, HostMonitor offers special "SMS Test" window, that allows you to send SMS in test mode. To invoke "SMS Test" window you just should click on the "Test" button in the "Options" -> "SMS GSM" tab.
I mean, how can I check if there is an error with the gsm modem it self.
How can I say automaticly if the modem is working well?
I can send a test sms every hour, but this is not what i want.
HostMonitor is able to send SMS through the modems, connected to the server, where HostMonitor is running. It is impossible to send SMS through modem, connected to another server.
Our solution up to today looked like this:

Alert with "Execute extern command" which generates a speical text file and copy this file to a folder. Our sms software looks in this folder, if there is a file, then we get the sms. This works perfect, the only problem was - is, that this is a network folder, because the sms modem are in use by another software.


Could it be a problem, when f.e. 20 SMS/second will be generated?
Is there any limit?

Thanks and regards,

Martin
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I mean, how can I check if there is an error with the gsm modem it self.
H'm... Theoretically you may setup Text Log test to check sms log file specified on SMS:GSM page in the Options dialog. If there is error detected, test may trigger some action...
http://www.ks-soft.net/hostmon.eng/mfra ... tm#textlog
Could it be a problem, when f.e. 20 SMS/second will be generated? Is there any limit?
20 SMS per second? For how many seconds in a row? Query may store up to 256 messages. E.g. if you try to send 20 messages for 10 seconds (200 messages), then you will not send sms for several minutes, its Ok. If you try to send 20 messages for 20 sec (400 messages) in a row, some messages will not be sent. In such case "Component is busy" message will be recorded into the log.

Regards
Alex
mp1
Posts: 200
Joined: Tue Mar 07, 2006 3:24 am

Post by mp1 »

H'm... Theoretically you may setup Text Log test to check sms log file specified on SMS:GSM page in the Options dialog. If there is error detected, test may trigger some action...
http://www.ks-soft.net/hostmon.eng/mfra ... tm#textlog
This sounds good ....
20 SMS per second? For how many seconds in a row? Query may store up to 256 messages. E.g. if you try to send 20 messages for 10 seconds (200 messages), then you will not send sms for several minutes, its Ok. If you try to send 20 messages for 20 sec (400 messages) in a row, some messages will not be sent. In such case "Component is busy" message will be recorded into the log.
This does mean, that this is not like a mailqueue? So that one sms will send after the other. When there would be more than 256 messages in the queue, than all the new sms would not be send, until there slots free.

Regards,

Martin
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

mp1 wrote:This does mean, that this is not like a mailqueue?
It is implemented as FIFO queue (First In, First Out). We can increase the max messages limit, but it will not help when HostMonitor pushes messages faster, than GSM modem sends them out.

If you need to send so many messages, I would suggest you to take a look at the "Send SMS (SMPP over IP)" action. This action sends SMS messages through a SMPP network service providers (SMSC) using TCP/IP connection.
http://www.ks-soft.net/hostmon.eng/mfra ... tm#actsmpp
mp1 wrote:So that one sms will send after the other. When there would be more than 256 messages in the queue, than all the new sms would not be send, until there slots free.
Correct.

Regards,
Max
Post Reply