sms alert message in Mobile phone

678 views
Skip to first unread message

jothi pushpam

unread,
Aug 3, 2017, 11:18:40 AM8/3/17
to Prometheus Users, Selvam
Hi!

We have  setup promethues in our environment with Node_exporter.  We use alert manager to send email message to our team.  We are able to receive the email.

We also try to configure the SMS in alertmanager so that we got an alert if any services are down and resolved in our mobile phone.

Could some one suggest how to do the cnofiguration in Alertmanager.  We have SMS end point from third party service provider.  We need to send the alert to the external sms provider to get the alert.

Kindly share some light on the above subject.

It may be a very basic question but we stuck with it.

Thanks in Advance.

Thanks & Regards,
Selvam E.

Brian Brazil

unread,
Aug 3, 2017, 11:24:45 AM8/3/17
to jothi pushpam, Prometheus Users, Selvam
On 3 August 2017 at 16:18, jothi pushpam <jpus...@gmail.com> wrote:
Hi!

We have  setup promethues in our environment with Node_exporter.  We use alert manager to send email message to our team.  We are able to receive the email.

We also try to configure the SMS in alertmanager so that we got an alert if any services are down and resolved in our mobile phone.

Could some one suggest how to do the cnofiguration in Alertmanager.  We have SMS end point from third party service provider.  We need to send the alert to the external sms provider to get the alert.

I'd suggest using the https://prometheus.io/docs/alerting/configuration/#<webhook_config> and writing a small daemon that'll take in the webhook and send on the required information to your SMS provider.

Brian
 

Kindly share some light on the above subject.

It may be a very basic question but we stuck with it.

Thanks in Advance.

Thanks & Regards,
Selvam E.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/96fa9cda-4868-418e-9be1-88dff885ec13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

jothi pushpam

unread,
Aug 3, 2017, 11:37:04 AM8/3/17
to Prometheus Users, jpus...@gmail.com, selvam...@yahoo.com
Thank you for the information.  We love to create a small program which runs on the server to collect the alertmanager alerts and send to our sms provider.  I need some basic information on from where to get the alert information in prometheus or alert manager to send to webHook?  I could not get the data out from alert manager or prometheus.

To explain further, The prometheus sends the alert to alert manager on port 9093 then alert manager send the messages to configured mail receivers.

The same way I would like to get the alert out from prometheus or from alertmanager then send it to my webhook to process further for sms.

I hope I gave adequate information.

I am sorry If I understood the concept wrongly.

Kindly advice.


On Thursday, August 3, 2017 at 8:54:45 PM UTC+5:30, Brian Brazil wrote:
On 3 August 2017 at 16:18, jothi pushpam <jpus...@gmail.com> wrote:
Hi!

We have  setup promethues in our environment with Node_exporter.  We use alert manager to send email message to our team.  We are able to receive the email.

We also try to configure the SMS in alertmanager so that we got an alert if any services are down and resolved in our mobile phone.

Could some one suggest how to do the cnofiguration in Alertmanager.  We have SMS end point from third party service provider.  We need to send the alert to the external sms provider to get the alert.

I'd suggest using the https://prometheus.io/docs/alerting/configuration/#<webhook_config> and writing a small daemon that'll take in the webhook and send on the required information to your SMS provider.

Brian
 

Kindly share some light on the above subject.

It may be a very basic question but we stuck with it.

Thanks in Advance.

Thanks & Regards,
Selvam E.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.



--

selva...@gmail.com

unread,
Aug 16, 2017, 6:12:41 AM8/16/17
to Prometheus Users
I am able to setup sms in alert manager.

Two methods.

1. Use bottle module to develop webhook
2. Use alert manager api end point to scrape the alerts.

Both the methods worked for me.

Thanks,

Selvam E.

Reply all
Reply to author
Forward
0 new messages