HM Sending Too much SMS

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
initialkaden
Posts: 5
Joined: Fri Sep 16, 2011 5:41 am

HM Sending Too much SMS

Post by initialkaden »

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
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

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...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Simply set default option "repeat 1 time" instead of "repeat until status changes"

Regards
Alex
initialkaden
Posts: 5
Joined: Fri Sep 16, 2011 5:41 am

Post by initialkaden »

i already test it with repeat 1 time.

but i check now the 160 characters
and test it again
initialkaden
Posts: 5
Joined: Fri Sep 16, 2011 5:41 am

Post by initialkaden »

i have this settings now ...

http://s7.directupload.net/file/d/2649/rj34ywf4_jpg.htm


the first error sends me 4 times the same SMS, and the next 20 errors there was no SMS sending ...so whats wrong
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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 ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
initialkaden
Posts: 5
Joined: Fri Sep 16, 2011 5:41 am

Post by initialkaden »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
initialkaden
Posts: 5
Joined: Fri Sep 16, 2011 5:41 am

Post by initialkaden »

check my last post, maybe it was a connection problem between Mobilephone and Hostmonitor
Post Reply