Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





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

April 12, 2013
12:53 pm
Michael
Guest
Guests

Thanks for you help!

Its now running with zabbix and generating sms alters!

The problem was really a firewall rule which was blocking the traffic on port 25 :/

April 11, 2013
3:22 pm
Henk Helmantel
Guest
Guests

As far as I can see, the settings you use are correct. It is a pity that Zabbix does not have an option to test the settings of the SMTP media type, that would make it a lot easier to check what goes wrong.

Can you telnet the Diafaan SMTP server from the Zabbix server (with the command: telnet IP_address_from_diafaan_server 25) and get a response from the Diafaan SMTP server? That will rule out that the Diafaan SMTP server is not set up correctly or that port 25 is blocked by a firewall.

Regards, Henk

April 11, 2013
11:43 am
Michael
Guest
Guests

I think I got it now how it works, but I can´t still receive an sms from diafaan sms server.

Here are my Zabbix Media config:

SMTP server: "IP_address_from_diafaan_server"
SMTP helo: "localhost"
SMTP email: "+43mobile_number_from_3g_umts_modem@IP_address_from_diafaan_server"

And the user config in Zabbix:

Media Type: Diafaan SMS
Sent to: +43mobile_number_from_user@smsgate.com

I can also ping from the zabbix server the diafaan sms server, so there is no firewall blocking something

April 10, 2013
6:40 pm
Henk Helmantel
Guest
Guests

No, that probably won't work. Unless the SMTP server of Diafaan SMS Server is exposed to the Internet but I would not recommend that for this application.

I have set up a quick Zabbix appliance to check how this program handles email and there are a couple of things you need to do in Zabbix to send email to a specific SMTP server.

The first thing is to add a new "Diafaan SMS" media type (select Administration-Media types-Create media type). Here you set the type to Email, the SMTP server to the host name or IP address where Diafaan SMS Server is installed and SMTP email to +43123456789@diafaan_server_ip_address.

Then you can add a new media to a user, select type "Diafaan SMS" and set the "Send to:" field to the proper email address that contains the GSM number, e.g.: +43123456789@sms.net.

You can add this user to the action of a trigger and if all is set up correctly, it will send an email straight to the SMTP server of Diafaan SMS Server with the right GSM number.

Regards, Henk

April 10, 2013
2:48 pm
Michael
Guest
Guests

Hi Henk!

Thanks for you quick reply!

So if I´m correct...

I add a new user in Zabbix with the email address: +43123456789@diafaan_server_ip_address:25 (is the port required?)
Then I assign the user in Zabbix to an alert group which is receiving server alerts via email.

But how can the SMS gateway forward the alert email from Zabbix to the mobile number as a sms?
Because I have no where entered the mobile number on the diafaan server Email Connector proberties

April 10, 2013
2:32 pm
Henk Helmantel
Guest
Guests

Hello Michael,

The SMTP server in Diafaan SMS Server expects emails that are sent to an email address with the format number@host.com or number@hostip. The domain part of the email address is ignored and the number part is the number of the mobile phone.

In Zabbix you can set the To Address of the email to, for example, +43650111111@diafaanhost (or p43650111111@diafaanhost, if there is a problem with the '+' character in the email address).

Regards, Henk

April 10, 2013
2:08 pm
Michael
Guest
Guests

Hello Henk!

I have configured the same on my internal monitoring system (Zabbix) as you described.
I have added a new SMS user with the email address from the IP address from the diafaan server with port 25.

But where can I configure in diafaan, to which sms number the email message should be forwarded?

The built in SMTP is running on the diafaan server but I have only the option to say where the sms should be sent to, when I choose the POP option in "email to sms" chart.
Could you please explain to me how it should work?

Thanks!
Michael

February 6, 2013
9:40 pm
Henk Helmantel
Guest
Guests

Hi Ryan,

In your alerting system you can specify an email host (the server were the mail is delivered). If you only want to use the alerting system to send SMS messages you can enter the IP number of the host running Diafaan SMS Server with port number 25 and all email will be sent to Diafaan SMS Server. Some alerting systems can specify multiple email servers, if that is the case you can use it to send both email and SMS messages through different email server.

If you want to use your alerting system to send both email and SMS messages it is more complicated, in that case you need to specify an email server that has the capacity to divert some email to an alternative SMTP server (Diafaan SMS Server). This only works well when you have full control over the email server and when it runs on your local network.

Diafaan SMS Server expects email with an email address like +1xxxxxxxxxx@host.com. The domain part (@host.com) is ignored, only the number part is used to send the message.

Regards, Henk

February 6, 2013
8:43 pm
Ryan
Guest
Guests

Hello,

Essentially I would like to pass my Email Alerts to the Diafaan server so they are sent via SMS to a mobile phone. Currently testing this solution with the Demo software (latest)

For testing I have configured the server on my laptop and the GSM modem is all set and active.

Where I am confused is what email address do I add to my internal alerting system so the email will reach the Diaafaan SMS server?

I currently have the SMTP connector running so I can send email to SMS. I do not need to receive SMS.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 365

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 533

Posts: 1849

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 554