Problem with 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
neo_guille10
Posts: 4
Joined: Mon Jan 01, 2007 11:31 pm

Problem with SMS.

Post by neo_guille10 »

Hello!!!

I have configurated GSM modem (cell phone) connected to the system where HostMonitor is running. Since version 6.24 HostMonitor.

in the menu action profiles,i have many groups witch i use them for send themselves emails, and sms.

in the case Bad status actions,is configured with the option standard mode, and this action must be ejecute when two bad consecutive tests happened, and the option repeat is configurated in 1.(for both of them "emails and sms").

in the case good status actions ,is configurated with expressions:
('%SimpleStatus%'=='UP') and ('%LastStatus%'=='No answer')

the problem, for example:

i have five consecutives status, and they are:
(host is alive,no answer,no answer,no answer,host is alive)

when the five status happened the option "for good status" will be activate.
the problem is that it sends one mail of "host is alive", but it sends two,three or four sms. whyyyy???
Both "emails , and sms" are configurated with the same expressions.

any idea for "repeat one", with expressions?
the modem GSM/GPRS is motorola a20. Rate=152000,and pin 1111.
Thanks!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

I think, you should use %Recurrences% variable also. Could you try the following expression:

Code: Select all

 ('%SimpleStatus%'=='UP') and ('%LastStatus%'=='No answer') and (%Recurrences%)==1
It might help.

Regards,
Max
neo_guille10
Posts: 4
Joined: Mon Jan 01, 2007 11:31 pm

Problem with SMS.

Post by neo_guille10 »

Dear Max,

Thank you for your help.

But the problem even continue.

When the status change of "No answer" To "Host is alive", the configuration of "good" status action, will be activated. The expressions configurated is :
('%SimpleStatus%'=='UP') and ('%LastStatus%'=='No answer') and (%Recurrences%)==1

but the hostmonitor send one mail informing that the device is "host is alive",this OK, but the hostmonitor send four sms informing that the device is "host is alive".

What happen? why send four SMS, and one Email ?

Hostmonitor should send one mail, and one sms.

Thanks for your help!!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

There is an error in the expression. I am sorry. Could you try the expression like:

Code: Select all

 ('%SimpleStatus%'=='UP') and ('%LastStatus%'=='No answer') and (%Recurrences%==1)
Do you see any errors in the system log (file is specified in "Options > System Log" tab) or in Log tab of "SMS Test" window?
What messages, related to the SMS, do you see in log file?

There is new version of KSGsmXLib.ocx. http://www.ks-soft.net/download/ksgsmxlib.zip
Could you download it, decompress and copy into HostMonitor's folder? Please note, you have to stop HostMonitor instance before copying.

After that you should do the following:
- add registry key HKEY_LOCAL_MACHINE\SOFTWARE\KS-Soft\GSMX, set DefaultRetries DWORD value to 1
- restart HostMonitor and test SMS function

Do you still receive several SMS messages?

Regards,
Max
neo_guille10
Posts: 4
Joined: Mon Jan 01, 2007 11:31 pm

Problem with SMS.

Post by neo_guille10 »

Thank you for your help.
Now it works correctly!!!!!!!!!

Guillermo Rodriguez,
Ernst & Young (Argentina).
Post Reply