![](https://secure.gravatar.com/avatar/db11d6dcef124b50c97bad1a0d8ff6cb.jpg?s=120&d=mm&r=g)
Hello,
Is there any chance to send through a gnokii an alert triggered by the alert checkers? There is something about gnokii commented out in alerts.php, but I’m not sure if it should work?
(Observium Professional)
Regards,
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Hi Gabriel,
At the moment we /only/ do notification via email.
adam.
------ Original Message ------ From: "Gabriel Zamorski" gabriel.zamorski@domeny.pl To: observium@observium.org Sent: 11/27/2014 8:24:56 AM Subject: [Observium] Alerting through gnokii
Hello,
Is there any chance to send through a gnokii an alert triggered by the alert checkers? There is something about gnokii commented out in alerts.php, but I’m not sure if it should work?
(Observium Professional)
Regards,
![](https://secure.gravatar.com/avatar/539f31d140f2ab5a5f0eb26f4cddcabc.jpg?s=120&d=mm&r=g)
I have hacked in support for PagerDuty. The alerting system has the beginnings to support multiple alerting mechanisms, so adding another alerting mechanism wasn't all that hard. That being said there is some refactoring of code that would be useful to avoid duplication of some of the code. I can share the patches that I have made so far, but it is still work in progress.
________________________________ From: observium [observium-bounces@observium.org] on behalf of Adam Armstrong [adama@memetic.org] Sent: Thursday, November 27, 2014 10:29 AM To: Observium Network Observation System Subject: Re: [Observium] Alerting through gnokii
Hi Gabriel,
At the moment we /only/ do notification via email.
adam.
------ Original Message ------ From: "Gabriel Zamorski" <gabriel.zamorski@domeny.plmailto:gabriel.zamorski@domeny.pl> To: observium@observium.orgmailto:observium@observium.org Sent: 11/27/2014 8:24:56 AM Subject: [Observium] Alerting through gnokii
Hello,
Is there any chance to send through a gnokii an alert triggered by the alert checkers? There is something about gnokii commented out in alerts.php, but I’m not sure if it should work?
(Observium Professional)
Regards,
![](https://secure.gravatar.com/avatar/db11d6dcef124b50c97bad1a0d8ff6cb.jpg?s=120&d=mm&r=g)
Hello,
Thanks for the answers. It would be really nice to have properly working ‚subsystem’ to alerting through SMS - is there any perspectives in the future for that? :)
For now, I slightly modified includes/alerting/email.inc.php by adding curl to pass variable $title to the API, just below „$status = $mail->send($rcpts, $headers, $body);”. Title is enough, because it contains the most important information. :)
It’s OK until I have the same sysContact everywhere and want to send SMS to the same number. :)
Gabriel.
Wiadomość napisana przez Milton Ngan milton@valvesoftware.com w dniu 27 lis 2014, o godz. 20:03:
I have hacked in support for PagerDuty. The alerting system has the beginnings to support multiple alerting mechanisms, so adding another alerting mechanism wasn't all that hard. That being said there is some refactoring of code that would be useful to avoid duplication of some of the code. I can share the patches that I have made so far, but it is still work in progress.
From: observium [observium-bounces@observium.org] on behalf of Adam Armstrong [adama@memetic.org] Sent: Thursday, November 27, 2014 10:29 AM To: Observium Network Observation System Subject: Re: [Observium] Alerting through gnokii
Hi Gabriel,
At the moment we /only/ do notification via email.
adam.
------ Original Message ------ From: "Gabriel Zamorski" <gabriel.zamorski@domeny.pl mailto:gabriel.zamorski@domeny.pl> To: observium@observium.org mailto:observium@observium.org Sent: 11/27/2014 8:24:56 AM Subject: [Observium] Alerting through gnokii
Hello,
Is there any chance to send through a gnokii an alert triggered by the alert checkers? There is something about gnokii commented out in alerts.php, but I’m not sure if it should work?
(Observium Professional)
Regards,
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/a7d7e58181948e0de1e19e95dba431d1.jpg?s=120&d=mm&r=g)
PagerDuty is good.
gnokii is very 1998 from my perspective, and a complete and utter waste of time in 2014, particularly given it's reliance on a single point of failure and reception issues.
There is a bazillion email to SMS gateway services available these days, at very low cost, and almost certainly local options in Poland if that's a concern. The commercial services generally have direct access to carrier SMPP gateways.
Why not just use one of those?
If there was going to be any explicit SMS alerting added I'd be voting for use of simple HTTP GET/POST and/or REST API's.
e.g. Here's a free one to test with,
Here's examples of commercial options,
https://www.clickatell.com/apis-scripts/ https://www.twilio.com/sms http://www.smsglobal.com/apis/ http://www.clockworksms.com/
-Colin
On 28 November 2014 at 23:25, Gabriel Zamorski gabriel.zamorski@domeny.pl wrote:
Hello,
Thanks for the answers. It would be really nice to have properly working ‚subsystem’ to alerting through SMS - is there any perspectives in the future for that? :)
For now, I slightly modified includes/alerting/email.inc.php by adding curl to pass variable $title to the API, just below „$status = $mail->send($rcpts, $headers, $body);”. Title is enough, because it contains the most important information. :)
It’s OK until I have the same sysContact everywhere and want to send SMS to the same number. :)
Gabriel.
Wiadomość napisana przez Milton Ngan milton@valvesoftware.com w dniu 27 lis 2014, o godz. 20:03:
I have hacked in support for PagerDuty. The alerting system has the beginnings to support multiple alerting mechanisms, so adding another alerting mechanism wasn't all that hard. That being said there is some refactoring of code that would be useful to avoid duplication of some of the code. I can share the patches that I have made so far, but it is still work in progress.
*From:* observium [observium-bounces@observium.org] on behalf of Adam Armstrong [adama@memetic.org] *Sent:* Thursday, November 27, 2014 10:29 AM *To:* Observium Network Observation System *Subject:* Re: [Observium] Alerting through gnokii
Hi Gabriel,
At the moment we /only/ do notification via email.
adam.
------ Original Message ------ From: "Gabriel Zamorski" gabriel.zamorski@domeny.pl To: observium@observium.org Sent: 11/27/2014 8:24:56 AM Subject: [Observium] Alerting through gnokii
Hello,
Is there any chance to send through a gnokii an alert triggered by the alert checkers? There is something about gnokii commented out in alerts.php, but I’m not sure if it should work?
(Observium Professional)
Regards,
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
The whole point of gnokii is to alert without relying on your network, the object you're monitoring.
You wouldn't want to not get alerted because your network was no longer able to reach the outside world, and thus the SMS gateway service, would you?
Personally, I'd normally alert 99% through email, and a few network-related things via SMS.
adam.
------ Original Message ------ From: "Colin Stubbs" colin.stubbs@equatetechnologies.com.au To: "Observium Network Observation System" observium@observium.org Sent: 11/28/2014 5:23:50 PM Subject: Re: [Observium] Alerting through gnokii
PagerDuty is good.
gnokii is very 1998 from my perspective, and a complete and utter waste of time in 2014, particularly given it's reliance on a single point of failure and reception issues.
There is a bazillion email to SMS gateway services available these days, at very low cost, and almost certainly local options in Poland if that's a concern. The commercial services generally have direct access to carrier SMPP gateways.
Why not just use one of those?
If there was going to be any explicit SMS alerting added I'd be voting for use of simple HTTP GET/POST and/or REST API's.
e.g. Here's a free one to test with,
Here's examples of commercial options,
https://www.clickatell.com/apis-scripts/ https://www.twilio.com/sms http://www.smsglobal.com/apis/ http://www.clockworksms.com/
-Colin
On 28 November 2014 at 23:25, Gabriel Zamorski gabriel.zamorski@domeny.pl wrote:
Hello,
Thanks for the answers. It would be really nice to have properly working ‚subsystem’ to alerting through SMS - is there any perspectives in the future for that? :)
For now, I slightly modified includes/alerting/email.inc.php by adding curl to pass variable $title to the API, just below „$status = $mail->send($rcpts, $headers, $body);”. Title is enough, because it contains the most important information. :)
It’s OK until I have the same sysContact everywhere and want to send SMS to the same number. :)
Gabriel.
Wiadomość napisana przez Milton Ngan milton@valvesoftware.com w dniu 27 lis 2014, o godz. 20:03:
I have hacked in support for PagerDuty. The alerting system has the beginnings to support multiple alerting mechanisms, so adding another alerting mechanism wasn't all that hard. That being said there is some refactoring of code that would be useful to avoid duplication of some of the code. I can share the patches that I have made so far, but it is still work in progress.
From: observium [observium-bounces@observium.org] on behalf of Adam Armstrong [adama@memetic.org] Sent: Thursday, November 27, 2014 10:29 AM To: Observium Network Observation System Subject: Re: [Observium] Alerting through gnokii
Hi Gabriel,
At the moment we /only/ do notification via email.
adam.
------ Original Message ------ From: "Gabriel Zamorski" gabriel.zamorski@domeny.pl To: observium@observium.org Sent: 11/27/2014 8:24:56 AM Subject: [Observium] Alerting through gnokii
Hello,
Is there any chance to send through a gnokii an alert triggered by the alert checkers? There is something about gnokii commented out in alerts.php, but I’m not sure if it should work?
(Observium Professional)
Regards,
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/4546d295fec3077f825962e1a8ef2ad5.jpg?s=120&d=mm&r=g)
Hi there,
there is a new and powerfull service to push messages on android an ios. Do you know pushover.net ?
I use this with uptimerobot.com, i use it from scripts. I can send mails trough sendEmail.pl, a standalone smtp mail client with whatever i want from bash scripts. The API of pushover.net is superb. It works perfectly. SMS and other messengers oder pagers are obsolete for me.
For monitoring the network itself, i use uptimerobot. Later in time, when VPN connections are setup, i will monitor the reachability of internal hosts from outside to.
HTH Ecaroh
Just one more idea. If you want to push out messages from inner network to the web without relying on a working internet connection, why don't you setup a mobile gateway? All you need is a 3G/LTE Router and a SIM card.
Am 29.11.2014 um 04:27 schrieb Adam Armstrong adama@memetic.org:
The whole point of gnokii is to alert without relying on your network, the object you're monitoring.
You wouldn't want to not get alerted because your network was no longer able to reach the outside world, and thus the SMS gateway service, would you?
Personally, I'd normally alert 99% through email, and a few network-related things via SMS.
adam.
------ Original Message ------ From: "Colin Stubbs" colin.stubbs@equatetechnologies.com.au To: "Observium Network Observation System" observium@observium.org Sent: 11/28/2014 5:23:50 PM Subject: Re: [Observium] Alerting through gnokii
PagerDuty is good.
gnokii is very 1998 from my perspective, and a complete and utter waste of time in 2014, particularly given it's reliance on a single point of failure and reception issues.
There is a bazillion email to SMS gateway services available these days, at very low cost, and almost certainly local options in Poland if that's a concern. The commercial services generally have direct access to carrier SMPP gateways.
Why not just use one of those?
If there was going to be any explicit SMS alerting added I'd be voting for use of simple HTTP GET/POST and/or REST API's.
e.g. Here's a free one to test with,
Here's examples of commercial options,
https://www.clickatell.com/apis-scripts/ https://www.twilio.com/sms http://www.smsglobal.com/apis/ http://www.clockworksms.com/
-Colin
On 28 November 2014 at 23:25, Gabriel Zamorski gabriel.zamorski@domeny.pl wrote: Hello,
Thanks for the answers. It would be really nice to have properly working ‚subsystem’ to alerting through SMS - is there any perspectives in the future for that? :)
For now, I slightly modified includes/alerting/email.inc.php by adding curl to pass variable $title to the API, just below „$status = $mail->send($rcpts, $headers, $body);”. Title is enough, because it contains the most important information. :)
It’s OK until I have the same sysContact everywhere and want to send SMS to the same number. :)
Gabriel.
Wiadomość napisana przez Milton Ngan milton@valvesoftware.com w dniu 27 lis 2014, o godz. 20:03:
I have hacked in support for PagerDuty. The alerting system has the beginnings to support multiple alerting mechanisms, so adding another alerting mechanism wasn't all that hard. That being said there is some refactoring of code that would be useful to avoid duplication of some of the code. I can share the patches that I have made so far, but it is still work in progress.
From: observium [observium-bounces@observium.org] on behalf of Adam Armstrong [adama@memetic.org] Sent: Thursday, November 27, 2014 10:29 AM To: Observium Network Observation System Subject: Re: [Observium] Alerting through gnokii
Hi Gabriel,
At the moment we /only/ do notification via email.
adam.
------ Original Message ------ From: "Gabriel Zamorski" gabriel.zamorski@domeny.pl To: observium@observium.org Sent: 11/27/2014 8:24:56 AM Subject: [Observium] Alerting through gnokii
Hello,
Is there any chance to send through a gnokii an alert triggered by the alert checkers? There is something about gnokii commented out in alerts.php, but I’m not sure if it should work?
(Observium Professional)
Regards,
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (5)
-
Adam Armstrong
-
Colin Stubbs
-
ecaroh
-
Gabriel Zamorski
-
Milton Ngan