Send SMS (GSM Modem) problem.

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
blueblueyy
Posts: 3
Joined: Thu Jun 25, 2009 2:34 am

Send SMS (GSM Modem) problem.

Post by blueblueyy »

Hi ks-soft support,

when there is a alert, i can't receive SMS from the GSM Modem in HM, but other kind of alert action can perform very well, such as playing sound and showing message. So I am very confused, meanwhile the GSM Modem can send SMS to mobile phone in the test program.The action properities are as follows:
condition to start action <standard mode>
Start when [1] consecutive Bad/Good results occur
Repeat [1] times
Time restrition:use schedule Monday-Friday, 24h
[blank] Deferred action
Action parameters
Dest Phone: +13920184239
Msg. class: 2..SIM
Msg.template:Mail to manager

I think GSM setting is ok, because it perform very well in the test, the destination phone can receive the SMS from the GSM modem.
I am looking forward to your reply.

Regards,

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

Post by KS-Soft Europe »

Do you mean, HostMonitor is able to send SMS using "SMS Test" window ("Options" -> "SMS GSM" tab -> "Test" button), right?

I would suggest you to enable "Record info about successful actions" and "Record info about failed actions" options in "Options" -> "System Log" tab. With these options enabled HostMonitor will write a record about every performed action into "System Log". Do you see any error messages in "System Log" ("View" -> "System Log")?
Do you see some errors in "SMS Log" file? SMS log file is specified in ("Options" -> "SMS GSM" tab.

Regards,
Max
blueblueyy
Posts: 3
Joined: Thu Jun 25, 2009 2:34 am

there is still a problem about it.

Post by blueblueyy »

Hi dear support,

thanks for your reply

yes, i mean HostMonitor is able to send SMS using "SMS Test" window.
In the log settings, SMS log choose [failed and successful events] and the System log choose [Record infor about failed actions] , they are all correct option. But i still can't see the error action log in the syslog.htm, the log.htm and the smslog.txt.
i just find the successful log in the smslog.txt file, when in the GSM test
[2009-6-26 10:14:46] Sys SMS to +13602182375 has been sent.
in the syslog.htm i just can find
2009-6-26 10:10:54 Monitor started
2009-6-26 10:45:58 Monitor stopped
2009-6-26 10:46:00 Monitor started
in the log.htm i can't see any relevant infro about the GSM or SMS
2009-6-26 10:41:02 Ping: 221.238.228.2 Bad 0 ms ping (timeout - 10 ms)
2009-6-26 10:42:29 Main router Host is alive 0 ms ping (timeout - 2000 ms)
2009-6-26 10:42:44 Main FTP Server Host is alive 547 ms TCP (port - 21)
2009-6-26 10:42:47 Main Web server Host is alive 718 ms URL request
2009-6-26 10:44:30 Main router Host is alive 0 ms ping (timeout - 2000 ms)
2009-6-26 10:46:06 Ping: 221.238.228.2 Bad 0 ms ping (timeout - 10 ms)
2009-6-26 10:46:31 Main router Host is alive 0 ms ping (timeout - 2000 ms)
2009-6-26 10:47:23 Drice C:\ Ok 6029 Mb Drive space
2009-6-26 10:47:45 Main FTP Server Host is alive 938 ms TCP (port - 21)
2009-6-26 10:47:48 Main Web server Host is alive 719 ms URL request
2009-6-26 10:48:31 Main router Host is alive
So, i am very curious why i can't see some relevant error action logs about the SMS

Sincerely regards,

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

Re: there is still a problem about it.

Post by KS-Soft Europe »

blueblueyy wrote:yes, i mean HostMonitor is able to send SMS using "SMS Test" window.
Good.
blueblueyy wrote:In the log settings, SMS log choose [failed and successful events] and the System log choose [Record infor about failed actions] , they are all correct option.
Good.
blueblueyy wrote:i just find the successful log in the smslog.txt file, when in the GSM test
[2009-6-26 10:14:46] Sys SMS to +13602182375 has been sent.
SMS was sent to +13602182375, while in "Action Properties" window +13920184239 number is set. So, I assume, this log record was issued by "SMS Test" window, right?
blueblueyy wrote:in the syslog.htm i just can find
2009-6-26 10:10:54 Monitor started
2009-6-26 10:45:58 Monitor stopped
2009-6-26 10:46:00 Monitor started
Hm. Pretty strange. In previous letter you mentioned other actions were performed well, so there should be appropriate records in the system log.
Are you sure "Record info about successful actions" and "Record info about failed actions" options are enabled?
Have you refreshed the test?
Please, ensure alerts are enabled. You may enable alerts using menu "Monitoring" -> "Enable alerts" or by pressing "Enable alerts" button on toolbar.

Probably, you have started several instances of HostMonitor? Could you check it? How many "hostmon.exe" processes are displayed in standard Windows "Task Manager" applet, "Processes" tab? We do not recommend to start several instances of HostMonitor at once. However, users sometimes do it, especially when on instance started as a service and second instance is started as an application. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... tm#Service
===========================
Note #4: There is common mistake - install HostMonitor as service, start service, then start application. Please DO NOT start several instances of HostMonitor on the same system using the same installation folder and configuration files. If you do so, several instances will work simultaneously, monitor the same target systems, and launch the same actions. If you modify test settings or profiles using 2nd instance of the software (application), 1st instance (service) will not apply modifications until you restart service. Also, your log files and statistical information will not be accurate when you are running several instances of the monitor using the same log files.
That's why HostMonitor warns you when you are trying to start application while service is running as well.
===========================

Have you managed HostMonitor on Remote site, accessed by Remote Desktop or Terminal? In this case we recommend to use RCC (Remote Control Console): http://www.ks-soft.net/hostmon.eng/rcc/index.htm
Also you may create simple BAT file that will stop service, start HostMonitor in application mode and (after you change settings and terminate application) start service again.
E.g.

Code: Select all

net stop hostmonservice
"c:\program files\hostmon\hostmon.exe"
net start hostmonservice
blueblueyy wrote:in the log.htm i can't see any relevant infro about the GSM or SMS
log file contains only tests relevant information, not actions.

Regards,
Max
blueblueyy
Posts: 3
Joined: Thu Jun 25, 2009 2:34 am

Post by blueblueyy »

Dear Max,

Thanks for your advice, i can send SMS eventually, whereas there is still a small problem. In the option "Condition to start action if i choose "repeat 1 times", the HM don't send any e-mail or SMS to me, but if i choose the option "until status changes", it will send e-mail and SMS to me continually until i close the window.I don't know where the problem is ?

looking forward to your advice.

Kindest regards,

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

Post by KS-Soft »

Thanks for your advice, i can send SMS eventually, whereas there is still a small problem. In the option "Condition to start action if i choose "repeat 1 times", the HM don't send any e-mail or SMS to me, but if i choose the option "until status changes", it will send e-mail and SMS to me continually until i close the window.I don't know where the problem is ?
What problem? If you use "repeat 1 times" option, HostMonitor starts the action when test status changes from "good" to "bad" (or vice versa if you are using "good" action).
if i choose the option "until status changes", it will send e-mail and SMS to me continually until i close the window
Not sure I understand what exactly window do you close.
If you set "until status changes" option for "bad" action, HostMonitor will start action after each test probe that returns "bad" status. The same is right about "good" action and "good" test status.

Regards
Alex
Post Reply