| View previous topic :: View next topic |
| Author |
Message |
initialkaden
Joined: 16 Sep 2011 Posts: 5
|
Posted: Fri Sep 16, 2011 5:51 am Post subject: HM Sending Too much SMS |
|
|
Hello
i installed Hostmonitor on a Server
i configurate the SMS Profile with a Nokia 6310i, over Bluetooth.
And it works.
the only problem i have is, if a error dedectet hostmonitor sends 2-4 SMS to a mobilephone with the same error MSG
the tests ar every 1 minute
"action" start if 1 bad result and repeat until status changes
so what can i do to fix it?
if i make a test SMS, it send only one sms to the phone |
|
| Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 77
|
Posted: Fri Sep 16, 2011 6:15 am Post subject: |
|
|
You should set Repeat to 1 Time instead of "Repeat until status change"
Also, most default message templates exceed 160 characters, which could result in multiple messages for just one error.
You can make a template for SMS usage or edit one of the existing ones... |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10401 Location: USA
|
Posted: Fri Sep 16, 2011 6:15 am Post subject: |
|
|
Simply set default option "repeat 1 time" instead of "repeat until status changes"
Regards
Alex |
|
| Back to top |
|
 |
initialkaden
Joined: 16 Sep 2011 Posts: 5
|
Posted: Fri Sep 16, 2011 6:23 am Post subject: |
|
|
i already test it with repeat 1 time.
but i check now the 160 characters
and test it again |
|
| Back to top |
|
 |
initialkaden
Joined: 16 Sep 2011 Posts: 5
|
|
| Back to top |
|
 |
KS-Soft Europe
Joined: 16 May 2006 Posts: 2249
|
Posted: Fri Sep 16, 2011 6:51 am Post subject: |
|
|
Your settings looks correct.
Could you check what test items use that action profile (please use "Usage report" button on Action profiles dialog).
Is there any other action profiles setup to send SMS ? |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10401 Location: USA
|
Posted: Fri Sep 16, 2011 6:52 am Post subject: |
|
|
Does "first error" mean single test item changed test status from "good" to "bad" and was not performed 2nd (3rd...) time?
Probably GSM module does not receive confirmation from modem and tries to send message agin.
You may create registry key HKEY_LOCAL_MACHINE\SOFTWARE\KS-Soft\GSMX and set DefaultRetries=1 (DWORD), this should help to avoid duplicated messages.
Please restart HostMonitor after you modify registry.
Regards
Alex |
|
| Back to top |
|
 |
initialkaden
Joined: 16 Sep 2011 Posts: 5
|
Posted: Fri Sep 16, 2011 7:19 am Post subject: |
|
|
i added this line in registry
its the same, and yes, it means when status changes from good in bad - i get 4 SMS than
but when the test refreshs, and status is still bad, hostmonitor dont send any more SMS.
when i change settings to "repeat until status is changed" it allways send 3-4 sms every refresh
EDIT :
I reconnectet the Nokia 6310i via bluetooth , and change the settings to "until status changed" and set the baud rate on HM and the nokia to 19200
acctualy it works, and i only get 1 sms every 2 mins (test refresh time)
Last edited by initialkaden on Fri Sep 16, 2011 7:47 am; edited 1 time in total |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10401 Location: USA
|
Posted: Fri Sep 16, 2011 7:46 am Post subject: |
|
|
| Quote: | | i added this line in registry |
Have you restarted HostMonitor?
Did this fix the problem?
What version of HostMonitor do you use?
Are you running HostMonitor as service? Application? I hope you have only 1 instance of HostMonitor running on the system?
Regards
Alex |
|
| Back to top |
|
 |
initialkaden
Joined: 16 Sep 2011 Posts: 5
|
Posted: Fri Sep 16, 2011 7:49 am Post subject: |
|
|
| check my last post, maybe it was a connection problem between Mobilephone and Hostmonitor |
|
| Back to top |
|
 |
|