Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
feature idea - Queue email warning
sp_NewPost Add Reply sp_NewTopic Add Topic
June 1, 2016
10:31 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

To prevent an avalanche of error messages, Diafaan SMS Server blocks similar error event for an hour. You won't see the exact same error event in the event log more than once every hour.

If you want to know the queue size more precisely and more regularly then you'll have to poll the status with the the 'request-server-status' HTTP API call.

Regards, Henk

May 31, 2016
7:47 pm
alex
Guest
Guests

i made several tests with follwing steps:

1) test mail connections - fully works from Options (with Gmail)
Also I set "Limit to max one mail per every 10 min" and set Event log filter *queue*
also i put checkbox in Options/Advanced "Post an event error when the send queue exceeds 30 messages"

2) i use SMPP connector, I intentionally duplicated messages from "Sent log", selected 40, made right click and "Send again"

3) I got mail notification at 20:12

31.05.2016 20:06:26 (error) Diafaan SMS Server (service):
The send queue exceeds the configured alert treshold of 30 messages

as you see it was generated 20:06 - it arrive a bit later

4) and last but not least - the problem i experienced:

I emptied the queue
then i connected to SMPP connector with test SMPP-client, and generated over 30 messages, i saw them in Queue

but not event was generated in Event log and no mail was send, i repeated it 2 times - no result, so decided to report here - seems like event was not generated and the mail was not sent. Also I waited more then 10 minutes before making queue overlimit again due to this "Post an event error when the send queue exceeds 30 messages" - I thought it restricts new emails...

possibly i did smth wrong, but it worked at least 1 time

regards!

May 31, 2016
4:17 pm
alex
Guest
Guests

Great, thanks!

May 30, 2016
8:49 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Alex,

Diafaan SMS Server has an option to send email alerts for all events that are logged to the event log. You can enable the alerts in the 'Email alerts' section of the general options (select 'Actions-Options-Email alerts').

If you only want an email alert when the queue exceeds the limit, you can set a filter in the email alerts settings by clicking on 'Edit message template' and changing the 'Event log filter' parameters.

This option only sends one email alert when the queue exceeds the threshold and does not send an alert when the queue drops below the threshold. The best way to monitor the queue size from an external source is to use the 'request-server-status' HTTP API call to request the status of Diafaan SMS Server. The returned XML file contains the actual queue size in the 'MessagesInSendQueue' parameter.

Regards, Henk

May 30, 2016
2:52 pm
alex
Guest
Guests

I saw already in Options some similar setting about Queue Limit warning - but it just posts event in event-log when queue is Longer then... (as I understood)

I suggest to add another similar feature - enable Email notification (or HTTP-call) when queue is over XXX items

for example, when Queue count is over some Limit - program starts sending Email each XX minute(s) (via SMPP credentials provided, best way i think) or just makes HTTP-request to certain URL (but need to make sure it is Successfull)

once , queue is less then Limit - stops notifying

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488