Discussion:
[Observium] Alert by sms
Welisson Tomé
2014-12-23 12:09:21 UTC
Permalink
Hi,
I've been searching on mailing list about this subject and not successfull, so, i would like know if Observium can send alert using sms like nagios, Is it possible?
Tks
--
Welisson Tomé
br.linkedin.com/in/welissontome/
Welisson Tomé
2014-12-23 16:27:59 UTC
Permalink
Hi Justin,

Tks for replay, but i would need of some feature sending sms directly
without use sms email gateway like it, so, do you know if will be add in
new release of Observium?

I think the tool very good but without this alert i can't change to
Observium, what i would like so much.
--
Welisson Tomé
br.linkedin.com/in/welissontome/
Xavier Beaudouin
2014-12-23 16:42:26 UTC
Permalink
Hi,

Doing a SMS gateway with perl or gnokii is really easy. Even Gnokii can have a look in a SQL database to get the data to send to sms.

The main problem is "IP SMS" gateway there is on the network. I understand observium team, and really using plain SMTP with
small messages can be better to be done than adding an extra code.

Regards
--
Xavier Beaudouin - Senior Network and System Administrator
Infrastructure and network director
Horizon Software - http://www.hsoftware.com/
13 rue La Fayette - 75009 PARIS - France
Phone: +33 (0)1 4260 9490 Fax: +33 (0)1 44 56 97 01
Ravi Pina
2014-12-23 19:32:53 UTC
Permalink
Looks like a <http://www.ozekisms.com/index.php?owpn=201> may be
what you are looking for.

-r
Post by Welisson Tomé
Hi Justin,
Tks for replay, but i would need of some feature sending sms directly
without use sms email gateway like it, so, do you know if will be add in
new release of Observium?
I think the tool very good but without this alert i can't change to
Observium, what i would like so much.
--
Welisson Tom??
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Ravi Pina
2014-12-23 20:26:06 UTC
Permalink
I guess the question that needs to be asked is what is the required
SLA for receiving messages. Amazon's offering is good, but unless
you have a direct connect to a region you're still reliant on
intermediate providers. You can get a broadband connection exclusive
for sending these messages to not depend on the systems you are
monitoring to be able to deliver them. Alternately you can run
something like <https://z-push.org/> and do most of it yourself.

-r
What about some integration with this? I know it???s offsite...
http://aws.amazon.com/sns/ <http://aws.amazon.com/sns/>
Justin
dynstatic.net
Post by Ravi Pina
Looks like a <http://www.ozekisms.com/index.php?owpn=201> may be
what you are looking for.
-r
Post by Welisson Tomé
Hi Justin,
Tks for replay, but i would need of some feature sending sms directly
without use sms email gateway like it, so, do you know if will be add in
new release of Observium?
I think the tool very good but without this alert i can't change to
Observium, what i would like so much.
--
Welisson Tom??
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Gabriel
2014-12-24 07:27:42 UTC
Permalink
This discussion was here before. In some cases, sending an SMS is better than sending through API/Push etc. For example, what if you have network failures and you just cannot send anything through Internet?

You can manually configure gnokii and add a rule in email.inc.php to send an alert via gnokii just after sending an e-mail. You could send only a subject of an e-mail, which may be good enough to get knowledge what is wrong.

Regards,
Post by Ravi Pina
I guess the question that needs to be asked is what is the required
SLA for receiving messages. Amazon's offering is good, but unless
you have a direct connect to a region you're still reliant on
intermediate providers. You can get a broadband connection exclusive
for sending these messages to not depend on the systems you are
monitoring to be able to deliver them. Alternately you can run
something like <https://z-push.org/ <https://z-push.org/>> and do most of it yourself.
-r
What about some integration with this? I know it???s offsite...
http://aws.amazon.com/sns/ <http://aws.amazon.com/sns/> <http://aws.amazon.com/sns/ <http://aws.amazon.com/sns/>>
Justin
dynstatic.net
Post by Ravi Pina
Looks like a <http://www.ozekisms.com/index.php?owpn=201> may be
what you are looking for.
-r
Post by Welisson Tomé
Hi Justin,
Tks for replay, but i would need of some feature sending sms directly
without use sms email gateway like it, so, do you know if will be add in
new release of Observium?
I think the tool very good but without this alert i can't change to
Observium, what i would like so much.
--
Welisson Tom??
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium <http://postman.memetic.org/cgi-bin/mailman/listinfo/observium>
ecaroh
2014-12-29 11:05:12 UTC
Permalink
its not pure sms but imessage like messaging:

http://www.pushover.net

it works really good. besides observium i use uptimerobot.com to monitor availability dsl and cable connections from outside the local lan/network. you can use pushover,net capabilities, the api or send a simple `mailx` command to pushover.net which will forward the message to your ios/Android phone.

therefore with pushover any host who can send an e-mail ( i prefer sendEmail.pl , a standalone pure smtp client written in perl ) is capable to send messages over the internet to an smartphone via pushover mechanism. i won't miss it anymore!


- ecaroh
Post by Ravi Pina
I guess the question that needs to be asked is what is the required
SLA for receiving messages. Amazon's offering is good, but unless
you have a direct connect to a region you're still reliant on
intermediate providers. You can get a broadband connection exclusive
for sending these messages to not depend on the systems you are
monitoring to be able to deliver them. Alternately you can run
something like <https://z-push.org/> and do most of it yourself.
-r
What about some integration with this? I know it???s offsite...
http://aws.amazon.com/sns/ <http://aws.amazon.com/sns/>
Justin
dynstatic.net
Post by Ravi Pina
Looks like a <http://www.ozekisms.com/index.php?owpn=201> may be
what you are looking for.
-r
Post by Welisson Tomé
Hi Justin,
Tks for replay, but i would need of some feature sending sms directly
without use sms email gateway like it, so, do you know if will be add in
new release of Observium?
I think the tool very good but without this alert i can't change to
Observium, what i would like so much.
--
Welisson Tom??
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--
HTH

ecaroh
Welisson Tomé
2014-12-23 19:20:01 UTC
Permalink
Hi Xavier,
Post by Xavier Beaudouin
Hi,
Doing a SMS gateway with perl or gnokii is really easy. Even Gnokii can have a look in a SQL database to get the data to send to sms.
I don't know the project gnokii, i will to research more about it, but i
don't have idea how to do it be integrated with Observium and the alert
be sending at exactly moment that there is a problem with some device.
Post by Xavier Beaudouin
The main problem is "IP SMS" gateway there is on the network. I understand observium team, and really using plain SMTP with
small messages can be better to be done than adding an extra code.
So, i understand about this main problem, but, not is necessary there is
an "IP SMS" on the network, because with a modem 3G/4G, we can send sms
using the tool gsmssender [¹], together with nagios[²],

[¹]http://manpages.ubuntu.com/manpages/natty/man8/gsmsendsms.8.html

[²]https://securfox.wordpress.com/2009/03/30/how-to-configure-nagios-to-send-sms-to-your-mobile/


Regards
--
Welisson Tomé
br.linkedin.com/in/welissontome/
Michiel Klaver
2014-12-24 12:10:36 UTC
Permalink
The current Observium config can already be used to send alerts other than
via email with some small tweaks.
(Warning, this breaks SVN)

We use this to direct alerts to a twitter account, but you could rewrite it
for example to execute 'gsmsendsms' command from the gsm-utils package and
hook-up a GSM unit directly to the serial port. In case of a total network
outage, this should still work.

Add to config.php:
$config['alerts']['external_command'] = "/usr/local/bin/twitter.py";

Locate the notyfy() function in includes/functions.inc.php and add the
following line to the end of that function:
shell_exec($config['alerts']['external_command'].' "'.$message.'"');

That's it!
Hi,
I've been searching on mailing list about this subject and not
successfull, so, i would like know if Observium can send alert using sms
like nagios, Is it possible?
Tks
--
Welisson Tomé
br.linkedin.com/in/welissontome/
Supun Rathnayake
2014-12-24 13:19:29 UTC
Permalink
Hi

This is really good, thanks a lot for pointing this tip.

This is something we were really looking for to extend the alerting system.

Dear Observium Development Team,

Could you kindly make this formalize as a generic external call function
or something similar,
so that it won't break the svn while enabling the users to extend the
alerting as they wish.

May be just hook up an additional inc.php file that we can use to put
our custom code like below.


With Best Regards,

Supun Rathnayake

Lanka communication Services (Pvt) Ltd.
65C, Dharmapala Mawatha,
Colombo 07.
Sri Lanka.
Tel: +94-11-2437545
http://www.lankacom.net
Post by Michiel Klaver
The current Observium config can already be used to send alerts other than
via email with some small tweaks.
(Warning, this breaks SVN)
We use this to direct alerts to a twitter account, but you could rewrite it
for example to execute 'gsmsendsms' command from the gsm-utils package and
hook-up a GSM unit directly to the serial port. In case of a total network
outage, this should still work.
$config['alerts']['external_command'] = "/usr/local/bin/twitter.py";
Locate the notyfy() function in includes/functions.inc.php and add the
shell_exec($config['alerts']['external_command'].' "'.$message.'"');
That's it!
Hi,
I've been searching on mailing list about this subject and not
successfull, so, i would like know if Observium can send alert using sms
like nagios, Is it possible?
Tks
--
Welisson Tomé
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam Armstrong
2014-12-28 02:28:21 UTC
Permalink
This was supposed to happen in an intended rewrite of the notification
stuff, but instead it got extended slightly which complicated the
rewrite.

sigh :)

It's not that complex, so maybe someone will squeeze it in.

adam.
Post by Supun Rathnayake
Hi
This is really good, thanks a lot for pointing this tip.
This is something we were really looking for to extend the alerting system.
Dear Observium Development Team,
Could you kindly make this formalize as a generic external call
function or something similar,
so that it won't break the svn while enabling the users to extend the
alerting as they wish.
May be just hook up an additional inc.php file that we can use to put
our custom code like below.
With Best Regards,
Supun Rathnayake
Lanka communication Services (Pvt) Ltd.
65C, Dharmapala Mawatha,
Colombo 07.
Sri Lanka.
Tel: +94-11-2437545
http://www.lankacom.net
The current Observium config can already be used to send alerts other than
via email with some small tweaks.
(Warning, this breaks SVN)
We use this to direct alerts to a twitter account, but you could rewrite it
for example to execute 'gsmsendsms' command from the gsm-utils package and
hook-up a GSM unit directly to the serial port. In case of a total network
outage, this should still work.
$config['alerts']['external_command'] = "/usr/local/bin/twitter.py";
Locate the notyfy() function in includes/functions.inc.php and add the
shell_exec($config['alerts']['external_command'].' "'.$message.'"');
That's it!
Hi,
I've been searching on mailing list about this subject and not
successfull, so, i would like know if Observium can send alert using sms
like nagios, Is it possible?
Tks
-- Welisson Tomé
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Mathieu POUSSIN
2014-12-31 09:18:51 UTC
Permalink
I think a good way of writing it would me something modular/swappable.

The alerting system would call a default API what could be overrided, we could easily swap in the configuration file (like we can with custom_short_name, and custom_rewrite_location, but more complex I suppose, ideally something that could be defined in an array and chained (first call the SMS notification module if that match a specific critical level, then call the mail notification mobile if that don't, etc.).

It would allow everyone to develop their own notification module for their need (SMS/Pushover/etc.)

-----Message d'origine-----
De : observium [mailto:observium-***@observium.org] De la part de Adam Armstrong
Envoyé : dimanche 28 décembre 2014 03:28
À : Observium Network Observation System
Objet : Re: [Observium] Alert by sms

This was supposed to happen in an intended rewrite of the notification stuff, but instead it got extended slightly which complicated the rewrite.

sigh :)

It's not that complex, so maybe someone will squeeze it in.

adam.
Post by Supun Rathnayake
Hi
This is really good, thanks a lot for pointing this tip.
This is something we were really looking for to extend the alerting system.
Dear Observium Development Team,
Could you kindly make this formalize as a generic external call
function or something similar, so that it won't break the svn while
enabling the users to extend the alerting as they wish.
May be just hook up an additional inc.php file that we can use to put
our custom code like below.
With Best Regards,
Supun Rathnayake
Lanka communication Services (Pvt) Ltd.
65C, Dharmapala Mawatha,
Colombo 07.
Sri Lanka.
Tel: +94-11-2437545
http://www.lankacom.net
The current Observium config can already be used to send alerts other
than via email with some small tweaks.
(Warning, this breaks SVN)
We use this to direct alerts to a twitter account, but you could
rewrite it for example to execute 'gsmsendsms' command from the
gsm-utils package and hook-up a GSM unit directly to the serial port.
In case of a total network outage, this should still work.
$config['alerts']['external_command'] = "/usr/local/bin/twitter.py";
Locate the notyfy() function in includes/functions.inc.php and add the
shell_exec($config['alerts']['external_command'].' "'.$message.'"');
That's it!
Hi,
I've been searching on mailing list about this subject and not
successfull, so, i would like know if Observium can send alert using
sms like nagios, Is it possible?
Tks
-- Welisson Tomé
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
***@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Tom Laermans
2014-12-31 09:20:11 UTC
Permalink
It's already modular, there's just no way in the gui to change
notification mechanism.
Post by Mathieu POUSSIN
I think a good way of writing it would me something modular/swappable.
The alerting system would call a default API what could be overrided, we could easily swap in the configuration file (like we can with custom_short_name, and custom_rewrite_location, but more complex I suppose, ideally something that could be defined in an array and chained (first call the SMS notification module if that match a specific critical level, then call the mail notification mobile if that don't, etc.).
It would allow everyone to develop their own notification module for their need (SMS/Pushover/etc.)
-----Message d'origine-----
Envoyé : dimanche 28 décembre 2014 03:28
À : Observium Network Observation System
Objet : Re: [Observium] Alert by sms
This was supposed to happen in an intended rewrite of the notification stuff, but instead it got extended slightly which complicated the rewrite.
sigh :)
It's not that complex, so maybe someone will squeeze it in.
adam.
Post by Supun Rathnayake
Hi
This is really good, thanks a lot for pointing this tip.
This is something we were really looking for to extend the alerting system.
Dear Observium Development Team,
Could you kindly make this formalize as a generic external call
function or something similar, so that it won't break the svn while
enabling the users to extend the alerting as they wish.
May be just hook up an additional inc.php file that we can use to put
our custom code like below.
With Best Regards,
Supun Rathnayake
Lanka communication Services (Pvt) Ltd.
65C, Dharmapala Mawatha,
Colombo 07.
Sri Lanka.
Tel: +94-11-2437545
http://www.lankacom.net
The current Observium config can already be used to send alerts other
than via email with some small tweaks.
(Warning, this breaks SVN)
We use this to direct alerts to a twitter account, but you could
rewrite it for example to execute 'gsmsendsms' command from the
gsm-utils package and hook-up a GSM unit directly to the serial port.
In case of a total network outage, this should still work.
$config['alerts']['external_command'] = "/usr/local/bin/twitter.py";
Locate the notyfy() function in includes/functions.inc.php and add the
shell_exec($config['alerts']['external_command'].' "'.$message.'"');
That's it!
Hi,
I've been searching on mailing list about this subject and not
successfull, so, i would like know if Observium can send alert using
sms like nagios, Is it possible?
Tks
-- Welisson Tomé
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam Armstrong
2014-12-29 11:09:10 UTC
Permalink
These days I think I personally would favour using an API-based
smartphone notification service for almost everything, with a fallback
sms-based notification system when you can't reach the internet (and
thus the API).

I used to be a proponent of "all alerting must be out of band", but not
so much these days. I like to get stuff on multiple platforms, makes
things harder to miss (which is more of a problem than the internet
failing, ime!)

adam.

------ Original Message ------
From: "ecaroh" <***@datenarbeiter.de>
To: "Observium Network Observation System" <***@observium.org>
Sent: 12/29/2014 5:05:12 AM
Subject: Re: [Observium] Alert by sms
Post by ecaroh
http://www.pushover.net
it works really good. besides observium i use uptimerobot.com to
monitor availability dsl and cable connections from outside the local
lan/network. you can use pushover,net capabilities, the api or send a
simple `mailx` command to pushover.net which will forward the message
to your ios/Android phone.
therefore with pushover any host who can send an e-mail ( i prefer
sendEmail.pl , a standalone pure smtp client written in perl ) is
capable to send messages over the internet to an smartphone via
pushover mechanism. i won't miss it anymore!
- ecaroh
Post by Ravi Pina
I guess the question that needs to be asked is what is the required
SLA for receiving messages. Amazon's offering is good, but unless
you have a direct connect to a region you're still reliant on
intermediate providers. You can get a broadband connection exclusive
for sending these messages to not depend on the systems you are
monitoring to be able to deliver them. Alternately you can run
something like <https://z-push.org/> and do most of it yourself.
-r
What about some integration with this? I know it???s offsite...
http://aws.amazon.com/sns/ <http://aws.amazon.com/sns/>
Justin
dynstatic.net
Post by Ravi Pina
Looks like a <http://www.ozekisms.com/index.php?owpn=201> may be
what you are looking for.
-r
Post by Welisson Tomé
Hi Justin,
Tks for replay, but i would need of some feature sending sms
directly
without use sms email gateway like it, so, do you know if will be
add in
new release of Observium?
I think the tool very good but without this alert i can't change
to
Observium, what i would like so much.
--
Welisson Tom??
br.linkedin.com/in/welissontome/
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--
HTH
ecaroh
_______________________________________________
observium mailing list
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Nikolay Shopik
2014-12-29 11:18:08 UTC
Permalink
Well, we use pushover, via out of band connection. So basically whatever
fits you should work.
API-based smartphone notification
Continue reading on narkive:
Loading...